Lines Matching refs:lc_flags
186 u_int lc_flags; member
314 return ((w1->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)) == in witness_lock_type_equal()
315 (w2->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK))); in witness_lock_type_equal()
438 .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_SLEEPABLE
443 .lc_flags = LC_SPINLOCK
448 .lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_UPGRADABLE
453 .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_SLEEPABLE |
563 (class->lc_flags & LC_RECURSABLE) == 0) in witness_init()
567 (class->lc_flags & LC_SLEEPABLE) == 0) in witness_init()
571 (class->lc_flags & LC_UPGRADABLE) == 0) in witness_init()
794 if (class->lc_flags & LC_SLEEPLOCK) { in witness_checkorder()
1115 if (LOCK_CLASS(lock)->lc_flags & LC_SLEEPLOCK) { in witness_lock()
1177 if ((class->lc_flags & LC_SLEEPLOCK) == 0) in witness_upgrade()
1219 if ((class->lc_flags & LC_SLEEPLOCK) == 0) in witness_downgrade()
1259 if (class->lc_flags & LC_SLEEPLOCK) { in witness_unlock()
1465 if ((lock_class->lc_flags & LC_SPINLOCK)) { in enroll()
1467 } else if ((lock_class->lc_flags & LC_SLEEPLOCK)) { in enroll()
1485 if (lock_class->lc_flags & LC_SPINLOCK) { in enroll()
1488 } else if (lock_class->lc_flags & LC_SLEEPLOCK) { in enroll()
2005 if ((class->lc_flags & LC_SLEEPLOCK) != 0) in witness_assert()
2007 else if ((class->lc_flags & LC_SPINLOCK) != 0) in witness_assert()
2071 if (class->lc_flags & LC_SLEEPLOCK) in witness_setflag()