Searched refs:next_id (Results 1 – 4 of 4) sorted by relevance
/ipc/ |
D | ipc_sysctl.c | 199 .data = &init_ipc_ns.ids[IPC_SEM_IDS].next_id, 200 .maxlen = sizeof(init_ipc_ns.ids[IPC_SEM_IDS].next_id), 208 .data = &init_ipc_ns.ids[IPC_MSG_IDS].next_id, 209 .maxlen = sizeof(init_ipc_ns.ids[IPC_MSG_IDS].next_id), 217 .data = &init_ipc_ns.ids[IPC_SHM_IDS].next_id, 218 .maxlen = sizeof(init_ipc_ns.ids[IPC_SHM_IDS].next_id),
|
D | namespace.c | 99 int next_id; in free_ipcs() local 106 for (total = 0, next_id = 0; total < in_use; next_id++) { in free_ipcs() 107 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
|
D | util.c | 124 ids->next_id = -1; in ipc_init_ids() 203 int idx, next_id = -1; in ipc_idr_alloc() local 206 next_id = ids->next_id; in ipc_idr_alloc() 207 ids->next_id = -1; in ipc_idr_alloc() 222 if (next_id < 0) { /* !CHECKPOINT_RESTORE or next_id is unset */ in ipc_idr_alloc() 253 new->seq = ipcid_to_seqx(next_id); in ipc_idr_alloc() 254 idx = idr_alloc(&ids->ipcs_idr, new, ipcid_to_idx(next_id), in ipc_idr_alloc()
|
D | shm.c | 958 int next_id; in shm_get_stat() local 966 for (total = 0, next_id = 0; total < in_use; next_id++) { in shm_get_stat() 970 ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id); in shm_get_stat()
|