Searched refs:LC_SLEEPLOCK (Results 1 – 8 of 8) sorted by relevance
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()1372 if (class->lc_flags & LC_SLEEPLOCK) { in witness_checkorder()1798 if (LOCK_CLASS(lock)->lc_flags & LC_SLEEPLOCK) in witness_lock()1857 if ((class->lc_flags & LC_SLEEPLOCK) == 0) in witness_upgrade()1903 if ((class->lc_flags & LC_SLEEPLOCK) == 0) in witness_downgrade()1948 if (class->lc_flags & LC_SLEEPLOCK) in witness_unlock()2189 } else if ((lock_class->lc_flags & LC_SLEEPLOCK) == 0) { in enroll()2209 } else if (lock_class->lc_flags & LC_SLEEPLOCK) { in enroll()2236 if (w->w_class->lc_flags & LC_SLEEPLOCK) { in depart()[all …]
88 .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE,102 .lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE,
117 .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE,
83 .lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_UPGRADABLE,
126 .lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE | LC_UPGRADABLE,
159 .lc_flags = LC_RECURSABLE | LC_SLEEPABLE | LC_SLEEPLOCK | LC_UPGRADABLE,
72 #define LC_SLEEPLOCK 0x00000001 /* Sleep lock. */ macro
4416 regs[rd] = (LOCK_CLASS(l.li)->lc_flags & LC_SLEEPLOCK) != 0;