Searched refs:LOCK_CLASS (Results 1 – 15 of 15) sorted by relevance
| /freebsd-12.1/sys/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 | 246 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in __mtx_lock_flags() 275 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in __mtx_unlock_flags() 304 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in __mtx_lock_spin_flags() 345 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in __mtx_trylock_spin_flags() 370 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in __mtx_unlock_spin_flags() 408 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_sleep, in _mtx_trylock_flags_int() 782 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in thread_lock_validate() 1160 if (LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin) in _mtx_destroy() 1234 KASSERT(LOCK_CLASS(&m->lock_object) == &lock_class_mtx_spin, in mtx_spin_wait_unlocked() 1262 if (LOCK_CLASS(lock) == &lock_class_mtx_spin) in db_show_mtx()
|
| H A D | subr_witness.c | 865 LOCK_CLASS(lock)); in witness_startup() 880 class = LOCK_CLASS(lock); in witness_init() 921 class = LOCK_CLASS(lock); in witness_destroy() 1124 class = LOCK_CLASS(lock); in witness_checkorder() 1521 class = LOCK_CLASS(lock); in witness_upgrade() 1567 class = LOCK_CLASS(lock); in witness_downgrade() 1616 class = LOCK_CLASS(lock); in witness_unlock() 2322 class = LOCK_CLASS(lock); in witness_save() 2357 class = LOCK_CLASS(lock); in witness_restore() 2387 class = LOCK_CLASS(lock); in witness_assert() [all …]
|
| H A D | subr_lock.c | 178 class = LOCK_CLASS(lock); in DB_SHOW_COMMAND() 528 lp->class = LOCK_CLASS(lo); in lock_profile_lookup() 580 spin = (LOCK_CLASS(lo)->lc_flags & LC_SPINLOCK) ? 1 : 0; in lock_profile_obtain_lock_success() 642 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() 736 class = LOCK_CLASS(ilk); in lockmgr_xlock_hard() 993 class = LOCK_CLASS(ilk); in lockmgr_lock_fast_path() 1157 class = LOCK_CLASS(ilk); in lockmgr_unlock_fast_path() 1207 class = (flags & LK_INTERLOCK) ? LOCK_CLASS(ilk) : NULL; in __lockmgr_args() 1662 if (LOCK_CLASS(&lk->lock_object) != &lock_class_lockmgr) in lockmgr_chain()
|
| H A D | subr_turnstile.c | 1131 db_printf("Lock: %p - (%s) %s\n", lock, LOCK_CLASS(lock)->lc_name, in DB_SHOW_COMMAND() 1180 class = LOCK_CLASS(lock); in print_lockchain() 1271 class = LOCK_CLASS(lock); in print_waiters() 1298 class = LOCK_CLASS(lock); in DB_SHOW_COMMAND()
|
| H A D | kern_rmlock.c | 187 lc = LOCK_CLASS(&rm->rm_wlock_object); in owner_rm() 851 lc = LOCK_CLASS(&rm->rm_wlock_object); in db_show_rm()
|
| H A D | kern_timeout.c | 671 class = (c->c_lock != NULL) ? LOCK_CLASS(c->c_lock) : NULL; in softclock_call_cc() 1199 class = LOCK_CLASS(c->c_lock); 1454 KASSERT(lock == NULL || !(LOCK_CLASS(lock)->lc_flags &
|
| H A D | kern_synch.c | 155 class = LOCK_CLASS(lock); in _sleep()
|
| H A D | subr_sleepqueue.c | 1465 LOCK_CLASS(lock)->lc_name, lock->lo_name); in DB_SHOW_COMMAND()
|
| H A D | kern_sx.c | 1552 if (LOCK_CLASS(&sx->lock_object) != &lock_class_sx || in sx_chain()
|
| /freebsd-12.1/sys/sys/ |
| H A D | lock.h | 98 #define LOCK_CLASS(lock) (lock_classes[LO_CLASSINDEX((lock))]) macro 175 LOCK_CLASS(lo)->lc_name, (lo)->lo_name, \ 182 LOCK_CLASS(lo)->lc_name, (lo)->lo_name, \ 189 LOCK_CLASS(lo)->lc_name, (lo)->lo_name); \
|
| /freebsd-12.1/sys/crypto/ccp/ |
| H A D | ccp.c | 806 #define _db_show_lock(lo) LOCK_CLASS(lo)->lc_ddb_show(lo)
|
| /freebsd-12.1/sys/dev/ioat/ |
| H A D | ioat.c | 1886 #define _db_show_lock(lo) LOCK_CLASS(lo)->lc_ddb_show(lo)
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
| H A D | dtrace.c | 4360 regs[rd] = LOCK_CLASS(l.li)->lc_owner(l.li, &lowner); 4372 LOCK_CLASS(l.li)->lc_owner(l.li, &lowner); 4385 regs[rd] = (LOCK_CLASS(l.li)->lc_flags & LC_SLEEPLOCK) != 0; 4397 regs[rd] = (LOCK_CLASS(l.li)->lc_flags & LC_SPINLOCK) != 0; 4410 regs[rd] = LOCK_CLASS(l.li)->lc_owner(l.li, &lowner) && 4424 regs[rd] = LOCK_CLASS(l.li)->lc_owner(l.li, &lowner) && 4438 LOCK_CLASS(l.li)->lc_owner(l.li, &lowner);
|