Lines Matching refs:total
156 int total; in ipc_findkey() local
158 for (total = 0, next_id = 0; total < ids->in_use; next_id++) { in ipc_findkey()
165 total++; in ipc_findkey()
187 int total, id; in ipc_get_maxid() local
196 total = 0; in ipc_get_maxid()
197 for (id = 0; id < IPCMNI && total < ids->in_use; id++) { in ipc_get_maxid()
201 total++; in ipc_get_maxid()
750 int total, id; in sysvipc_find_ipc() local
752 total = 0; in sysvipc_find_ipc()
753 for (id = 0; id < pos && total < ids->in_use; id++) { in sysvipc_find_ipc()
756 total++; in sysvipc_find_ipc()
759 if (total >= ids->in_use) in sysvipc_find_ipc()