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

/linux-master/ipc/
H A Dutil.c121 idr_init(&ids->ipcs_idr);
230 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx,
251 idr_replace(&ids->ipcs_idr, new, idx);
255 idx = idr_alloc(&ids->ipcs_idr, new, ipcid_to_idx(next_id),
312 idr_remove(&ids->ipcs_idr, idx);
483 if (idr_get_next(&ids->ipcs_idr, &tmpidx))
501 WARN_ON_ONCE(idr_remove(&ids->ipcs_idr, idx) != ipcp);
632 out = idr_find(&ids->ipcs_idr, idx);
808 ipc = idr_get_next(&ids->ipcs_idr, &tmpidx);
H A Dnamespace.c135 perm = idr_find(&ids->ipcs_idr, next_id);
H A Dshm.c143 idr_destroy(&ns->ids[IPC_SHM_IDS].ipcs_idr);
435 idr_for_each(&shm_ids(ns).ipcs_idr, &shm_try_destroy_orphaned, ns);
976 ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id);
H A Dmsg.c1333 idr_destroy(&ns->ids[IPC_MSG_IDS].ipcs_idr);
H A Dsem.c263 idr_destroy(&ns->ids[IPC_SEM_IDS].ipcs_idr);
/linux-master/include/linux/
H A Dipc_namespace.h22 struct idr ipcs_idr; member in struct:ipc_ids

Completed in 167 milliseconds