Home
last modified time | relevance | path

Searched refs:MUTEX_OWNER (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dmutex.c251 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 Dcommon.c104 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 Dmutex_impl.h90 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner << PTR24_LSB)) macro
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dmutex_impl.h78 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner & MUTEX_THREAD)) macro
/illumos-gate/usr/src/uts/intel/sys/
H A Dmutex_impl.h81 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner & MUTEX_THREAD)) macro
/illumos-gate/usr/src/lib/libc/inc/
H A Dthr_uberdata.h151 #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 Dsynch.c2261 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 Dsobj.c620 kthread_t *owner = MUTEX_OWNER(&lock); in mutex()
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c619 if ((owner = (uintptr_t)MUTEX_OWNER(&mtx)) == 0) in mutex_owner_step()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c4106 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()