Home
last modified time | relevance | path

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

/linux-6.1.9/ipc/
Dshm.c95 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) macro
115 ipc_init_ids(&shm_ids(ns)); in shm_init_ns()
132 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid()
141 free_ipcs(ns, &shm_ids(ns), do_shm_rmid); in shm_exit_ns()
168 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_obtain_object()
178 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check()
195 ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_lock()
274 ipc_rmid(&shm_ids(s->ns), &s->shm_perm); in shm_rmid()
373 down_write(&shm_ids(ns).rwsem); in __shm_close()
392 up_write(&shm_ids(ns).rwsem); in __shm_close()
[all …]