Searched refs:LOCK_CLASS (Results 1 – 14 of 14) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | kern_condvar.c | 125 class = LOCK_CLASS(lock); in _cv_wait() 179 class = LOCK_CLASS(lock); in _cv_wait_unlock() 230 class = LOCK_CLASS(lock); in _cv_wait_sig() 290 class = LOCK_CLASS(lock); in _cv_timedwait_sbt() 352 class = LOCK_CLASS(lock); in _cv_timedwait_sig_sbt()
|
| H A D | kern_mutex.c | 271 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in __mtx_lock_flags() 300 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in __mtx_unlock_flags() 329 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in __mtx_lock_spin_flags() 370 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in __mtx_trylock_spin_flags() 395 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in __mtx_unlock_spin_flags() 433 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in _mtx_trylock_flags_int() 807 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in thread_lock_validate() 1186 if (LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin) in _mtx_destroy() 1260 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in mtx_spin_wait_unlocked() 1286 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in mtx_wait_unlocked() [all …]
|
| H A D | kern_synch.c | 159 class = LOCK_CLASS(lock); in _sleep() 437 LOCK_CLASS(lock)->lc_unlock(lock); in _blockcount_sleep() 445 lock_state = LOCK_CLASS(lock)->lc_unlock(lock); in _blockcount_sleep() 468 LOCK_CLASS(lock)->lc_lock(lock, lock_state); in _blockcount_sleep()
|
| H A D | subr_witness.c | 870 LOCK_CLASS(lock)); in witness_startup() 885 class = LOCK_CLASS(lock); in witness_init() 926 class = LOCK_CLASS(lock); in witness_destroy() 1128 class = LOCK_CLASS(lock); in witness_checkorder() 1575 class = LOCK_CLASS(lock); in witness_upgrade() 1621 class = LOCK_CLASS(lock); in witness_downgrade() 1670 class = LOCK_CLASS(lock); in witness_unlock() 2374 class = LOCK_CLASS(lock); in witness_save() 2409 class = LOCK_CLASS(lock); in witness_restore() 2439 class = LOCK_CLASS(lock); in witness_assert() [all …]
|
| H A D | subr_lock.c | 202 class = LOCK_CLASS(lock); in DB_SHOW_COMMAND() 560 lp->class = LOCK_CLASS(lo); in lock_profile_lookup() 612 spin = (LOCK_CLASS(lo)->lc_flags & LC_SPINLOCK) ? 1 : 0; in lock_profile_obtain_lock_success() 678 spin = (LOCK_CLASS(lo)->lc_flags & LC_SPINLOCK) ? 1 : 0; in lock_profile_release_lock()
|
| H A D | kern_lock.c | 192 class = LOCK_CLASS(ilk); in lockmgr_exit() 273 class = (flags & LK_INTERLOCK) ? LOCK_CLASS(ilk) : NULL; in sleeplk() 812 class = LOCK_CLASS(ilk); in lockmgr_xlock_hard() 1084 class = LOCK_CLASS(ilk); in lockmgr_lock_flags() 1340 class = (flags & LK_INTERLOCK) ? LOCK_CLASS(ilk) : NULL; in __lockmgr_args() 1796 if (LOCK_CLASS(&lk->lock_object) != &lock_class_lockmgr) in lockmgr_chain()
|
| H A D | subr_turnstile.c | 1152 db_printf("Lock: %p - (%s) %s\n", lock, LOCK_CLASS(lock)->lc_name, in DB_SHOW_COMMAND() 1205 class = LOCK_CLASS(lock); in print_lockchain() 1296 class = LOCK_CLASS(lock); in print_waiters() 1323 class = LOCK_CLASS(lock); in DB_SHOW_COMMAND()
|
| H A D | kern_timeout.c | 637 class = (c->c_lock != NULL) ? LOCK_CLASS(c->c_lock) : NULL; in softclock_call_cc() 1074 class = LOCK_CLASS(c->c_lock); in _callout_stop_safe() 1335 KASSERT(lock == NULL || !(LOCK_CLASS(lock)->lc_flags & in _callout_init_lock()
|
| H A D | kern_rmlock.c | 188 lc = LOCK_CLASS(&rm->rm_wlock_object); in owner_rm() 856 lc = LOCK_CLASS(&rm->rm_wlock_object); in db_show_rm()
|
| H A D | subr_sleepqueue.c | 1473 LOCK_CLASS(lock)->lc_name, lock->lo_name); in DB_SHOW_COMMAND()
|
| H A D | kern_sx.c | 1544 if (LOCK_CLASS(&sx->lock_object) != &lock_class_sx || in sx_chain()
|
| /f-stack/freebsd/sys/ |
| H A D | lock.h | 98 #define LOCK_CLASS(lock) (lock_classes[LO_CLASSINDEX((lock))]) macro 143 LOCK_CLASS(lo)->lc_name, (lo)->lo_name, \ 150 LOCK_CLASS(lo)->lc_name, (lo)->lo_name, \ 157 LOCK_CLASS(lo)->lc_name, (lo)->lo_name); \
|
| /f-stack/lib/ |
| H A D | ff_kern_timeout.c | 407 class = (c->c_lock != NULL) ? LOCK_CLASS(c->c_lock) : NULL; in softclock_call_cc() 812 class = LOCK_CLASS(c->c_lock); in _callout_stop_safe() 1034 KASSERT(lock == NULL || !(LOCK_CLASS(lock)->lc_flags & in _callout_init_lock()
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp.c | 715 #define _db_show_lock(lo) LOCK_CLASS(lo)->lc_ddb_show(lo)
|