Searched refs:MUTEX_OWNED (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atfork.c | 94 ASSERT(MUTEX_OWNED(&udp->atfork_lock, curthread)); in _prefork_handler() 115 ASSERT(MUTEX_OWNED(&udp->atfork_lock, curthread)); in _postfork_parent_handler() 136 ASSERT(MUTEX_OWNED(&udp->atfork_lock, curthread)); in _postfork_child_handler()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 282 ASSERT(udp->nthreads <= 1 || MUTEX_OWNED(&udp->link_lock, self)); in trim_stack_cache() 471 ASSERT(udp->nthreads <= 1 || MUTEX_OWNED(&udp->link_lock, curthread)); in ulwp_free() 530 ASSERT(MUTEX_OWNED(ulwp_mutex(ulwp, udp), self)); in ulwp_broadcast() 1813 ASSERT(MUTEX_OWNED(&udp->fork_lock, self)); in force_continue() 1814 ASSERT(MUTEX_OWNED(ulwp_mutex(ulwp, udp), self)); in force_continue() 1860 ASSERT(MUTEX_OWNED(&udp->fork_lock, self)); in safe_suspend() 1861 ASSERT(MUTEX_OWNED(mp, self)); in safe_suspend() 2069 ASSERT(MUTEX_OWNED(&udp->fork_lock, self)); in suspend_fork() 2099 ASSERT(MUTEX_OWNED(&udp->fork_lock, self)); in continue_fork() 2297 if (MUTEX_OWNED(&udp->ld_lock, self)) { in _ti_bind_clear()
|
H A D | synch.c | 518 ASSERT(MUTEX_OWNED(&qp->qh_lock, self)); in QVERIFY() 620 ASSERT(MUTEX_OWNED(&qp->qh_lock, curthread)); in enqueue() 789 ASSERT(MUTEX_OWNED(&qp->qh_lock, curthread)); in queue_slot() 834 ASSERT(MUTEX_OWNED(&qp->qh_lock, curthread)); in queue_unlink() 924 ASSERT(MUTEX_OWNED(&qp->qh_lock, self)); in dequeue_self() 1263 if (MUTEX_OWNED(mp, self)) in mutex_trylock_adaptive() 2568 if ((mtype & LOCK_ERRORCHECK) && !MUTEX_OWNED(mp, self)) in mutex_unlock() 2609 if ((mtype & LOCK_ERRORCHECK) && !MUTEX_OWNED(mp, self)) in mutex_unlock() 2884 return (MUTEX_OWNED(mp, self) && mp->mutex_ownerpid == udp->pid); in shared_mutex_held() 2895 return (MUTEX_OWNED(mp, curthread)); in mutex_held() [all …]
|
H A D | tdb_agent.c | 129 ASSERT(MUTEX_OWNED(&udp->tdb_hash_lock, curthread)); in alloc_sync_addr()
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_uberdata.h | 158 #define MUTEX_OWNED(mp, thrp) \ macro
|