Searched refs:in_use (Results 1 – 6 of 6) sorted by relevance
100 int total, in_use; in free_ipcs() local104 in_use = ids->in_use; in free_ipcs()106 for (total = 0, next_id = 0; total < in_use; next_id++) { in free_ipcs()
116 ids->in_use = 0; in ipc_init_ids()225 max_idx = max(ids->in_use*3/2, ipc_min_cycle); in ipc_idr_alloc()289 if (ids->in_use >= limit) in ipc_addid()322 ids->in_use++; in ipc_addid()467 ids->in_use--; in ipc_rmid()761 for (id = 0; id < pos && total < ids->in_use; id++) { in sysvipc_find_ipc()767 if (total >= ids->in_use) in sysvipc_find_ipc()
152 if (ids->in_use == 0) in ipc_get_maxidx()155 if (ids->in_use == ipc_mni) in ipc_get_maxidx()
377 if (shm_ids(ns).in_use) in shm_destroy_orphaned()864 int total, in_use; in shm_get_stat() local869 in_use = shm_ids(ns).in_use; in shm_get_stat()871 for (total = 0, next_id = 0; total < in_use; next_id++) { in shm_get_stat()967 shm_info->used_ids = shm_ids(ns).in_use; in shmctl_shm_info()
478 msginfo->msgpool = msg_ids(ns).in_use; in msgctl_info()
1311 seminfo.semusz = sem_ids(ns).in_use; in semctl_info()