LC_SLEEPLOCK
.lc_flags = LC_RECURSABLE | LC_SLEEPABLE | LC_SLEEPLOCK | LC_UPGRADABLE,
.lc_flags = LC_SLEEPLOCK | LC_RECURSABLE,
.lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE,
.lc_flags = LC_SLEEPLOCK | LC_RECURSABLE,
.lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_UPGRADABLE,
.lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE | LC_UPGRADABLE,
if (class->lc_flags & LC_SLEEPLOCK) {
if (LOCK_CLASS(lock)->lc_flags & LC_SLEEPLOCK)
if ((class->lc_flags & LC_SLEEPLOCK) == 0)
if ((class->lc_flags & LC_SLEEPLOCK) == 0)
if (class->lc_flags & LC_SLEEPLOCK)
} else if ((lock_class->lc_flags & LC_SLEEPLOCK) == 0) {
} else if (lock_class->lc_flags & LC_SLEEPLOCK) {
if (w->w_class->lc_flags & LC_SLEEPLOCK) {
if (class->lc_flags & LC_SLEEPLOCK)
if (class->lc_flags & LC_SLEEPLOCK)
if ((class->lc_flags & LC_SLEEPLOCK) != 0) {
if (class->lc_flags & LC_SLEEPLOCK)
return ((w1->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)) ==
(w2->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)));