Searched refs:shm_ids (Results 1 – 1 of 1) sorted by relevance
59 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) macro79 ipc_init_ids(&shm_ids(ns)); in shm_init_ns()103 free_ipcs(ns, &shm_ids(ns), do_shm_rmid); in shm_exit_ns()133 struct kern_ipc_perm *ipcp = ipc_lock(&shm_ids(ns), id); in shm_lock()150 struct kern_ipc_perm *ipcp = ipc_lock_check(&shm_ids(ns), id); in shm_lock_check()169 ipc_rmid(&shm_ids(ns), &s->shm_perm); in shm_rmid()241 down_write(&shm_ids(ns).rw_mutex); in shm_close()252 up_write(&shm_ids(ns).rw_mutex); in shm_close()311 down_write(&shm_ids(ns).rw_mutex); in shm_destroy_orphaned()312 if (shm_ids(ns).in_use) in shm_destroy_orphaned()[all …]