Searched refs:shm_ids (Results 1 – 1 of 1) sorted by relevance
96 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) macro116 ipc_init_ids(&shm_ids(ns)); in shm_init_ns()133 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid()142 free_ipcs(ns, &shm_ids(ns), do_shm_rmid); in shm_exit_ns()169 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_obtain_object()179 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check()196 ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_lock()275 ipc_rmid(&shm_ids(s->ns), &s->shm_perm); in shm_rmid()374 down_write(&shm_ids(ns).rwsem); in __shm_close()393 up_write(&shm_ids(ns).rwsem); in __shm_close()[all …]