Home
last modified time | relevance | path

Searched refs:IPC_INDEX (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dipc.c750 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()
/titanic_41/usr/src/uts/common/sys/
H A Dipc_impl.h141 #define IPC_INDEX(x) ((unsigned int)(x) & IPC_INDEX_MASK) macro
154 MUTEX_HELD(&s->ipcs_table[IPC_INDEX(o->ipc_id)].ipct_lock)