Searched refs:MTX_RECURSED (Results 1 – 2 of 2) sorted by relevance
469 atomic_set_ptr(&m->mtx_lock, MTX_RECURSED); in _mtx_trylock_flags_int()570 atomic_set_ptr(&m->mtx_lock, MTX_RECURSED); in __mtx_lock_sleep()1055 if (__predict_false(v & MTX_RECURSED)) { in __mtx_unlock_sleep()1057 atomic_clear_ptr(&m->mtx_lock, MTX_RECURSED); in __mtx_unlock_sleep()1210 MPASS((m->mtx_lock & (MTX_RECURSED|MTX_CONTESTED)) == 0); in _mtx_destroy()1364 if (m->mtx_lock & MTX_RECURSED) in db_show_mtx()
70 #define MTX_RECURSED 0x00000001 /* lock recursed (for MTX_DEF only) */ macro73 #define MTX_FLAGMASK (MTX_RECURSED | MTX_CONTESTED | MTX_DESTROYED)