Searched refs:ipcs_idr (Results 1 – 6 of 6) sorted by relevance
/linux/ipc/ |
H A D | util.c | 121 idr_init(&ids->ipcs_idr); in ipc_init_ids() 230 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc() 251 idr_replace(&ids->ipcs_idr, new, idx); in ipc_idr_alloc() 255 idx = idr_alloc(&ids->ipcs_idr, new, ipcid_to_idx(next_id), in ipc_idr_alloc() 312 idr_remove(&ids->ipcs_idr, idx); in ipc_addid() 483 if (idr_get_next(&ids->ipcs_idr, &tmpidx)) in ipc_search_maxidx() 501 WARN_ON_ONCE(idr_remove(&ids->ipcs_idr, idx) != ipcp); in ipc_rmid() 632 out = idr_find(&ids->ipcs_idr, idx); in ipc_obtain_object_idr() 808 ipc = idr_get_next(&ids->ipcs_idr, &tmpidx); in sysvipc_find_ipc()
|
H A D | namespace.c | 135 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
|
H A D | shm.c | 143 idr_destroy(&ns->ids[IPC_SHM_IDS].ipcs_idr); in shm_exit_ns() 435 idr_for_each(&shm_ids(ns).ipcs_idr, &shm_try_destroy_orphaned, ns); in shm_destroy_orphaned() 972 ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id); in shm_get_stat()
|
H A D | msg.c | 1333 idr_destroy(&ns->ids[IPC_MSG_IDS].ipcs_idr); in msg_exit_ns()
|
H A D | sem.c | 263 idr_destroy(&ns->ids[IPC_SEM_IDS].ipcs_idr); in sem_exit_ns()
|
/linux/include/linux/ |
H A D | ipc_namespace.h | 22 struct idr ipcs_idr; member
|