Searched refs:ipcs_idr (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/ipc/ |
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()
|
D | namespace.c | 120 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
|
D | shm.c | 142 idr_destroy(&ns->ids[IPC_SHM_IDS].ipcs_idr); in shm_exit_ns() 434 idr_for_each(&shm_ids(ns).ipcs_idr, &shm_try_destroy_orphaned, ns); in shm_destroy_orphaned() 980 ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id); in shm_get_stat()
|
D | msg.c | 1333 idr_destroy(&ns->ids[IPC_MSG_IDS].ipcs_idr); in msg_exit_ns()
|
D | sem.c | 263 idr_destroy(&ns->ids[IPC_SEM_IDS].ipcs_idr); in sem_exit_ns()
|
/linux-6.1.9/include/linux/ |
D | ipc_namespace.h | 22 struct idr ipcs_idr; member
|