Lines Matching refs:lock_class
223 struct lock_class *w_class;
288 struct lock_class *w_class;
317 struct lock_class *lock_class);
882 struct lock_class *class; in witness_init()
923 struct lock_class *class; in witness_destroy()
1118 struct lock_class *class, *iclass; in witness_checkorder()
1570 struct lock_class *class; in witness_upgrade()
1616 struct lock_class *class; in witness_downgrade()
1662 struct lock_class *class; in witness_unlock()
1894 enroll(const char *description, struct lock_class *lock_class) in enroll() argument
1902 if ((lock_class->lc_flags & LC_SPINLOCK)) { in enroll()
1905 } else if ((lock_class->lc_flags & LC_SLEEPLOCK) == 0) { in enroll()
1907 lock_class->lc_name); in enroll()
1919 w->w_class = lock_class; in enroll()
1922 if (lock_class->lc_flags & LC_SPINLOCK) { in enroll()
1925 } else if (lock_class->lc_flags & LC_SLEEPLOCK) { in enroll()
1938 w->w_class = lock_class; in enroll()
1940 if (lock_class != w->w_class) in enroll()
1943 description, lock_class->lc_name, in enroll()
2362 struct lock_class *class; in witness_save()
2401 struct lock_class *class; in witness_restore()
2438 struct lock_class *class; in witness_find_instance()
2465 struct lock_class *class; in witness_assert()
2548 struct lock_class *class; in witness_setflag()