Lines Matching refs:ww_class
17 static DEFINE_WW_CLASS(ww_class);
58 static int __test_mutex(struct ww_class *class, unsigned int flags) in __test_mutex()
110 static int test_mutex(struct ww_class *class) in test_mutex()
124 static int test_aa(struct ww_class *class, bool trylock) in test_aa()
181 struct ww_class *class;
222 static int test_abba(struct ww_class *class, bool trylock, bool resolve) in test_abba()
284 struct ww_class *class;
321 static int __test_cycle(struct ww_class *class, unsigned int nthreads) in __test_cycle()
375 static int test_cycle(struct ww_class *class, unsigned int ncpus) in test_cycle()
392 struct ww_class *class;
579 static int stress(struct ww_class *class, int nlocks, int nthreads, unsigned int flags) in stress()
644 static int run_tests(struct ww_class *class) in run_tests()
692 ret = run_tests(&ww_class); in run_test_classes()