Lines Matching refs:MTX_RECURSE
294 WITNESS_CHECKORDER(&m->lock_object, (opts & ~MTX_RECURSE) | in __mtx_lock_flags()
306 WITNESS_LOCK(&m->lock_object, (opts & ~MTX_RECURSE) | LOP_EXCLUSIVE, in __mtx_lock_flags()
354 (opts & MTX_RECURSE) != 0, in __mtx_lock_spin_flags()
357 opts &= ~MTX_RECURSE; in __mtx_lock_spin_flags()
393 KASSERT((opts & MTX_RECURSE) == 0, in __mtx_trylock_spin_flags()
467 (opts & MTX_RECURSE) != 0)) { in _mtx_trylock_flags_int()
477 opts &= ~MTX_RECURSE; in _mtx_trylock_flags_int()
563 (opts & MTX_RECURSE) != 0, in __mtx_lock_sleep()
567 opts &= ~MTX_RECURSE; in __mtx_lock_sleep()
576 opts &= ~MTX_RECURSE; in __mtx_lock_sleep()
1162 MPASS((opts & ~(MTX_SPIN | MTX_QUIET | MTX_RECURSE | in _mtx_init()
1176 if (opts & MTX_RECURSE) in _mtx_init()
1245 mtx_init(&Giant, "Giant", NULL, MTX_DEF | MTX_RECURSE); in mutex_init()