Home
last modified time | relevance | path

Searched refs:LOP_EXCLUSIVE (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/kern/
H A Dkern_mutex.c295 LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL); in __mtx_lock_flags()
306 WITNESS_LOCK(&m->lock_object, (opts & ~MTX_RECURSE) | LOP_EXCLUSIVE, in __mtx_lock_flags()
323 WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line); in __mtx_unlock_flags()
358 WITNESS_CHECKORDER(&m->lock_object, opts | LOP_NEWORDER | LOP_EXCLUSIVE, in __mtx_lock_spin_flags()
374 WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line); in __mtx_lock_spin_flags()
398 WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line); in __mtx_trylock_spin_flags()
418 WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line); in __mtx_unlock_spin_flags()
481 WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE | LOP_TRYLOCK, in _mtx_trylock_flags_int()
837 opts | LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL); in thread_lock_validate()
867 WITNESS_LOCK(&m->lock_object, LOP_EXCLUSIVE, file, line); in _thread_lock()
[all …]
H A Dkern_lock.c231 WITNESS_LOCK(&lk->lock_object, LOP_EXCLUSIVE | LK_TRYWIT(flags), file, in lockmgr_note_exclusive_acquire()
242 WITNESS_UNLOCK(&lk->lock_object, LOP_EXCLUSIVE, file, line); in lockmgr_note_exclusive_release()
787 LOP_EXCLUSIVE, file, line, flags & LK_INTERLOCK ? in lockmgr_xlock_hard()
821 WITNESS_LOCK(&lk->lock_object, LOP_EXCLUSIVE | in lockmgr_xlock_hard()
1012 WITNESS_UPGRADE(&lk->lock_object, LOP_EXCLUSIVE | in lockmgr_upgrade()
1062 LOP_EXCLUSIVE, file, line, flags & LK_INTERLOCK ? in lockmgr_lock_flags()
1245 LOP_EXCLUSIVE, file, line, NULL); in lockmgr_slock()
1405 LOP_EXCLUSIVE, file, line, flags & LK_INTERLOCK ? in __lockmgr_args()
1576 WITNESS_LOCK(&lk->lock_object, LOP_EXCLUSIVE | in __lockmgr_args()
1620 WITNESS_UNLOCK(&lk->lock_object, LOP_EXCLUSIVE, fil in _lockmgr_disown()
[all...]
H A Dkern_sx.c324 WITNESS_CHECKORDER(&sx->lock_object, LOP_NEWORDER | LOP_EXCLUSIVE, file, in _sx_xlock()
336 WITNESS_LOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line); in _sx_xlock()
381 WITNESS_LOCK(&sx->lock_object, LOP_EXCLUSIVE | LOP_TRYLOCK, in sx_try_xlock_int()
406 WITNESS_UNLOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line); in _sx_xunlock()
456 WITNESS_UPGRADE(&sx->lock_object, LOP_EXCLUSIVE | LOP_TRYLOCK, in sx_try_upgrade_int()
H A Dkern_rwlock.c299 WITNESS_CHECKORDER(&rw->lock_object, LOP_NEWORDER | LOP_EXCLUSIVE, file, in _rw_wlock_cookie()
310 WITNESS_LOCK(&rw->lock_object, LOP_EXCLUSIVE, file, line); in _rw_wlock_cookie()
352 WITNESS_LOCK(&rw->lock_object, LOP_EXCLUSIVE | LOP_TRYLOCK, in __rw_try_wlock_int()
381 WITNESS_UNLOCK(&rw->lock_object, LOP_EXCLUSIVE, file, line); in _rw_wunlock_cookie()
1368 WITNESS_UPGRADE(&rw->lock_object, LOP_EXCLUSIVE | LOP_TRYLOCK, in __rw_try_upgrade_int()
H A Dkern_rmlock.c607 WITNESS_CHECKORDER(&rm->lock_object, LOP_NEWORDER | LOP_EXCLUSIVE, in _rm_wlock_debug()
613 WITNESS_LOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line); in _rm_wlock_debug()
627 WITNESS_UNLOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line); in _rm_wunlock_debug()
H A Dsubr_witness.c1177 (flags & LOP_EXCLUSIVE) == 0) { in witness_checkorder()
1186 (flags & LOP_EXCLUSIVE) != 0) { in witness_checkorder()
1559 if ((flags & LOP_EXCLUSIVE) != 0) in witness_lock()
1703 (flags & LOP_EXCLUSIVE) == 0) { in witness_unlock()
1711 (flags & LOP_EXCLUSIVE) != 0) { in witness_unlock()
/freebsd/sys/sys/
H A Dlock.h108 #define LOP_EXCLUSIVE 0x00000008 /* Exclusive lock. */ macro