Searched refs:mtx_recurse (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_mutex.c | 286 LOCK_LOG_LOCK("LOCK", &m->lock_object, opts, m->mtx_recurse, file, in __mtx_lock_flags() 306 LOCK_LOG_LOCK("UNLOCK", &m->lock_object, opts, m->mtx_recurse, file, in __mtx_unlock_flags() 354 LOCK_LOG_LOCK("LOCK", &m->lock_object, opts, m->mtx_recurse, file, in __mtx_lock_spin_flags() 401 LOCK_LOG_LOCK("UNLOCK", &m->lock_object, opts, m->mtx_recurse, file, in __mtx_unlock_spin_flags() 450 m->mtx_recurse++; in _mtx_trylock_flags_int() 551 m->mtx_recurse++; in __mtx_lock_sleep() 747 m->mtx_recurse++; in _mtx_lock_spin_cookie() 944 LOCK_LOG_LOCK("LOCK", &m->lock_object, opts, m->mtx_recurse, file, in thread_lock_flags_() 1038 if (--(m->mtx_recurse) == 0) in __mtx_unlock_sleep() 1171 m->mtx_recurse = 0; in _mtx_init() [all …]
|
/freebsd/sys/sys/ |
H A D | mutex.h | 209 #define mtx_recurse lock_object.lo_data macro 286 (mp)->mtx_recurse++; \ 332 (mp)->mtx_recurse--; \ 342 (mp)->mtx_recurse--; \ 480 #define mtx_recursed(m) ((m)->mtx_recurse != 0)
|