Home
last modified time | relevance | path

Searched refs:shm_lock (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/ipc/
H A Dshm.c190 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock() function
216 * Callers of shm_lock() must validate the status of the returned ipc in shm_lock()
284 shp = shm_lock(sfd->ns, sfd->id); in __shm_open()
374 shp = shm_lock(ns, sfd->id); in shm_close()
1670 shp = shm_lock(ns, shmid); in do_shmat()
/kernel/linux/linux-6.6/ipc/
H A Dshm.c190 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock() function
216 * Callers of shm_lock() must validate the status of the returned ipc in shm_lock()
282 shp = shm_lock(sfd->ns, sfd->id); in __shm_open()
375 shp = shm_lock(ns, sfd->id); in __shm_close()
1680 shp = shm_lock(ns, shmid); in do_shmat()

Completed in 6 milliseconds