Home
last modified time | relevance | path

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

/linux/ipc/
H A Dutil.c121 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 Dnamespace.c135 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
H A Dshm.c143 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 Dmsg.c1333 idr_destroy(&ns->ids[IPC_MSG_IDS].ipcs_idr); in msg_exit_ns()
H A Dsem.c263 idr_destroy(&ns->ids[IPC_SEM_IDS].ipcs_idr); in sem_exit_ns()
/linux/include/linux/
H A Dipc_namespace.h22 struct idr ipcs_idr; member