Lines Matching refs:owner
51 uint32_t owner; in __thr_umutex_lock() local
57 owner = mtx->m_owner; in __thr_umutex_lock()
58 if ((owner & ~UMUTEX_CONTESTED) == 0 && in __thr_umutex_lock()
59 atomic_cmpset_acq_32(&mtx->m_owner, owner, id | owner)) in __thr_umutex_lock()
61 if (owner == UMUTEX_RB_OWNERDEAD && in __thr_umutex_lock()
62 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_lock()
65 if (owner == UMUTEX_RB_NOTRECOV) in __thr_umutex_lock()
78 uint32_t owner; in __thr_umutex_lock_spin() local
89 owner = mtx->m_owner; in __thr_umutex_lock_spin()
90 if ((owner & ~UMUTEX_CONTESTED) == 0 && in __thr_umutex_lock_spin()
91 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_lock_spin()
92 id | owner)) in __thr_umutex_lock_spin()
94 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) && in __thr_umutex_lock_spin()
95 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_lock_spin()
98 if (__predict_false(owner == UMUTEX_RB_NOTRECOV)) in __thr_umutex_lock_spin()
114 uint32_t owner; in __thr_umutex_timedlock() local
132 owner = mtx->m_owner; in __thr_umutex_timedlock()
133 if ((owner & ~UMUTEX_CONTESTED) == 0 && in __thr_umutex_timedlock()
134 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_timedlock()
135 id | owner)) in __thr_umutex_timedlock()
137 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) && in __thr_umutex_timedlock()
138 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_timedlock()
141 if (__predict_false(owner == UMUTEX_RB_NOTRECOV)) in __thr_umutex_timedlock()