Searched refs:MUTEX_OWNER (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | mutex.c | 251 msg, (void *)lp, (void *)MUTEX_OWNER(&panic_mutex), in mutex_panic() 392 if ((owner = MUTEX_OWNER(vlp)) == NULL) { in mutex_vector_enter() 446 if (MUTEX_OWNER(vlp) == owner && MUTEX_HAS_WAITERS(vlp)) { in mutex_vector_enter() 458 ASSERT(MUTEX_OWNER(lp) == curthread); in mutex_vector_enter() 517 if (MUTEX_OWNER(lp) != curthread) { in mutex_vector_exit() 540 return (MUTEX_OWNER(lp) == curthread); in mutex_owned() 550 if (MUTEX_TYPE_ADAPTIVE(lp) && (t = MUTEX_OWNER(lp)) != MUTEX_NO_OWNER) in mutex_owner() 630 if (MUTEX_OWNER(lp) != curthread) in mutex_destroy()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/ |
H A D | common.c | 104 if ((MUTEX_OWNER(lp) == NULL) && !MUTEX_HAS_WAITERS(lp)) in common_mutex() 107 sz = 1 + mdb_snprintf(NULL, 0, fmt, MUTEX_OWNER(lp), in common_mutex() 110 (void) mdb_snprintf(s, sz, fmt, MUTEX_OWNER(lp), in common_mutex()
|
/illumos-gate/usr/src/uts/sparc/v7/sys/ |
H A D | mutex_impl.h | 90 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner << PTR24_LSB)) macro
|
/illumos-gate/usr/src/uts/sparc/v9/sys/ |
H A D | mutex_impl.h | 78 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner & MUTEX_THREAD)) macro
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | mutex_impl.h | 81 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner & MUTEX_THREAD)) macro
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_uberdata.h | 151 #define MUTEX_OWNER(mp) ((ulwp_t *)(uintptr_t)(mp)->mutex_owner) macro 159 ((mp)->mutex_lockw != 0 && MUTEX_OWNER(mp) == thrp)
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 2261 if (mtype && MUTEX_OWNER(mp) == self) in mutex_lock_impl() 2282 MUTEX_OWNER(mp) == self && !self->ul_async_safe && in mutex_lock_impl() 2307 if (mtype && MUTEX_OWNER(mp) == self) in mutex_lock_impl() 2445 if (mtype && MUTEX_OWNER(mp) == self) in mutex_trylock() 2468 if (mtype && MUTEX_OWNER(mp) == self) in mutex_trylock()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | sobj.c | 620 kthread_t *owner = MUTEX_OWNER(&lock); in mutex()
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 619 if ((owner = (uintptr_t)MUTEX_OWNER(&mtx)) == 0) in mutex_owner_step()
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 4106 regs[rd] = MUTEX_OWNER(&m.mi) != MUTEX_NO_OWNER; in dtrace_dif_subr() 4120 MUTEX_OWNER(&m.mi) != MUTEX_NO_OWNER) in dtrace_dif_subr() 4121 regs[rd] = (uintptr_t)MUTEX_OWNER(&m.mi); in dtrace_dif_subr()
|