Home
last modified time | relevance | path

Searched refs:UMUTEX_RB_OWNERDEAD (Results 1 – 5 of 5) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_umtx.h84 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_OWNERDEAD) && in _thr_umutex_trylock()
85 atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_RB_OWNERDEAD, in _thr_umutex_trylock()
107 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_OWNERDEAD) && in _thr_umutex_trylock2()
108 atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_RB_OWNERDEAD, in _thr_umutex_trylock2()
H A Dthr_umtx.c61 if (owner == UMUTEX_RB_OWNERDEAD && in __thr_umutex_lock()
94 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) && in __thr_umutex_lock_spin()
137 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) && in __thr_umutex_timedlock()
H A Dthr_mutex.c477 UMUTEX_RB_OWNERDEAD) { in _thr_mutex_destroy()
/freebsd/sys/sys/
H A Dumtx.h56 #define UMUTEX_RB_OWNERDEAD (UMUTEX_CONTESTED | 0x10) macro
/freebsd/sys/kern/
H A Dkern_umtx.c806 return (UMUTEX_RB_OWNERDEAD); in umtx_unlock_val()
1378 owner == UMUTEX_RB_OWNERDEAD || in do_lock_normal()
1388 if (owner == UMUTEX_RB_OWNERDEAD) { in do_lock_normal()
1390 UMUTEX_RB_OWNERDEAD, &owner, in do_lock_normal()
1395 MPASS(owner == UMUTEX_RB_OWNERDEAD); in do_lock_normal()
1616 if ((owner & ~UMUTEX_CONTESTED) != 0 && owner != UMUTEX_RB_OWNERDEAD && in do_wake_umutex()
1634 if (count <= 1 && owner != UMUTEX_RB_OWNERDEAD && in do_wake_umutex()
1655 owner == UMUTEX_RB_OWNERDEAD || in do_wake_umutex()
1736 owner == UMUTEX_RB_OWNERDEAD || owner == UMUTEX_RB_NOTRECOV)) in do_wake2_umutex()
2320 if (owner == UMUTEX_CONTESTED || owner == UMUTEX_RB_OWNERDEAD) { in do_lock_pi()
[all …]