Home
last modified time | relevance | path

Searched refs:shm_ids (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/ipc/
Dshm.c86 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) macro
106 ipc_init_ids(&shm_ids(ns)); in shm_init_ns()
122 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid()
131 free_ipcs(ns, &shm_ids(ns), do_shm_rmid); in shm_exit_ns()
158 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_obtain_object()
168 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check()
185 ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_lock()
231 ipc_rmid(&shm_ids(ns), &s->shm_perm); in shm_rmid()
329 down_write(&shm_ids(ns).rwsem); in shm_close()
348 up_write(&shm_ids(ns).rwsem); in shm_close()
[all …]