Lines Matching refs:MTX_UNOWNED
93 #define mtx_unowned(m) ((m)->mtx_lock == MTX_UNOWNED)
298 v = MTX_UNOWNED; in __mtx_lock_flags()
363 v = MTX_UNOWNED; in __mtx_lock_spin_flags()
461 v = MTX_UNOWNED; in _mtx_trylock_flags_int()
465 if (v == MTX_UNOWNED) in _mtx_trylock_flags_int()
545 while (v == MTX_UNOWNED) { in __mtx_lock_sleep()
560 if (__predict_false(v == MTX_UNOWNED)) in __mtx_lock_sleep()
600 if (v == MTX_UNOWNED) { in __mtx_lock_sleep()
627 } while (v != MTX_UNOWNED && TD_IS_RUNNING(owner)); in __mtx_lock_sleep()
643 if (v == MTX_UNOWNED) { in __mtx_lock_sleep()
751 while (v == MTX_UNOWNED) { in _mtx_lock_spin_cookie()
763 if (__predict_false(v == MTX_UNOWNED)) in _mtx_lock_spin_cookie()
787 if (v == MTX_UNOWNED) { in _mtx_lock_spin_cookie()
801 } while (v != MTX_UNOWNED); in _mtx_lock_spin_cookie()
936 if (v == MTX_UNOWNED) { in thread_lock_flags_()
957 } while (v != MTX_UNOWNED); in thread_lock_flags_()
1190 m->mtx_lock = MTX_UNOWNED; in _mtx_init()
1297 while (atomic_load_acq_ptr(&m->mtx_lock) != MTX_UNOWNED) { in mtx_spin_wait_unlocked()
1323 if (v == MTX_UNOWNED) { in mtx_wait_unlocked()