/freebsd/sys/kern/ |
H A D | kern_mutex.c | 295 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 D | kern_lock.c | 231 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 D | kern_sx.c | 324 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 D | kern_rwlock.c | 299 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 D | kern_rmlock.c | 607 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 D | subr_witness.c | 1177 (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 D | lock.h | 108 #define LOP_EXCLUSIVE 0x00000008 /* Exclusive lock. */ macro
|