Lines Matching refs:lc_flags
294 return ((w1->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)) == in witness_lock_type_equal()
295 (w2->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK))); in witness_lock_type_equal()
880 (class->lc_flags & LC_RECURSABLE) == 0) in witness_init()
884 (class->lc_flags & LC_SLEEPABLE) == 0) in witness_init()
888 (class->lc_flags & LC_UPGRADABLE) == 0) in witness_init()
1123 if (class->lc_flags & LC_SLEEPLOCK) { in witness_checkorder()
1513 if (LOCK_CLASS(lock)->lc_flags & LC_SLEEPLOCK) in witness_lock()
1574 if ((class->lc_flags & LC_SLEEPLOCK) == 0) in witness_upgrade()
1620 if ((class->lc_flags & LC_SLEEPLOCK) == 0) in witness_downgrade()
1665 if (class->lc_flags & LC_SLEEPLOCK) in witness_unlock()
1894 if ((lock_class->lc_flags & LC_SPINLOCK)) { in enroll()
1897 } else if ((lock_class->lc_flags & LC_SLEEPLOCK) == 0) { in enroll()
1914 if (lock_class->lc_flags & LC_SPINLOCK) { in enroll()
1917 } else if (lock_class->lc_flags & LC_SLEEPLOCK) { in enroll()
1944 if (w->w_class->lc_flags & LC_SLEEPLOCK) { in depart()
2365 if (class->lc_flags & LC_SLEEPLOCK) in witness_save()
2400 if (class->lc_flags & LC_SLEEPLOCK) in witness_restore()
2429 if ((class->lc_flags & LC_SLEEPLOCK) != 0) { in witness_find_instance()
2432 } else if ((class->lc_flags & LC_SPINLOCK) != 0) { in witness_find_instance()
2539 if (class->lc_flags & LC_SLEEPLOCK) in witness_setflag()