Searched refs:IPC_INDEX (Results 1 – 2 of 2) sorted by relevance
750 ASSERT(IPC_INDEX(id) < service->ipcs_tabsz); in ipc_lock()767 ASSERT(IPC_INDEX(id) < service->ipcs_tabsz); in ipc_relock()770 if (&service->ipcs_table[IPC_INDEX(id)].ipct_lock == lock) in ipc_relock()819 ASSERT(IPC_INDEX(perm->ipc_id) < s->ipcs_tabsz); in ipc_hold()833 ASSERT(IPC_INDEX(perm->ipc_id) < s->ipcs_tabsz); in ipc_rele()838 mutex_exit(&s->ipcs_table[IPC_INDEX(perm->ipc_id)].ipct_lock); in ipc_rele()858 ASSERT(IPC_INDEX(perm->ipc_id) < s->ipcs_tabsz); in ipc_rele_locked()1198 index = IPC_INDEX(id); in ipc_remove()
141 #define IPC_INDEX(x) ((unsigned int)(x) & IPC_INDEX_MASK) macro154 MUTEX_HELD(&s->ipcs_table[IPC_INDEX(o->ipc_id)].ipct_lock)