Lines Matching full:failure
28 * Change this to 1 if you want to see the failure printouts:
44 #define FAILURE 0 macro
1389 if (expected == FAILURE && debug_locks) { in dotest()
1440 dotest(name##_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1452 dotest(name##_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1458 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN); \
1459 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1465 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN|LOCKTYPE_RWLOCK);\
1466 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1473 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1491 dotest(name##_spin, FAILURE, LOCKTYPE_SPIN); \
1492 dotest(name##_wlock, FAILURE, LOCKTYPE_RWLOCK); \
1493 dotest(name##_rlock, FAILURE, LOCKTYPE_RWLOCK); \
1494 dotest(name##_mutex, FAILURE, LOCKTYPE_MUTEX); \
1495 dotest(name##_wsem, FAILURE, LOCKTYPE_RWSEM); \
1496 dotest(name##_rsem, FAILURE, LOCKTYPE_RWSEM); \
1497 dotest_rt(name##_rtmutex, FAILURE, LOCKTYPE_RTMUTEX); \
1516 dotest(name##_spin, FAILURE, LOCKTYPE_SPIN); \
1517 dotest(name##_wlock, FAILURE, LOCKTYPE_RWLOCK); \
1519 dotest(name##_mutex, FAILURE, LOCKTYPE_MUTEX); \
1520 dotest(name##_wsem, FAILURE, LOCKTYPE_RWSEM); \
1521 dotest(name##_rsem, FAILURE, LOCKTYPE_RWSEM); \
1522 dotest_rt(name##_rtmutex, FAILURE, LOCKTYPE_RTMUTEX); \
2191 dotest(ww_test_unneeded_slow, FAILURE, LOCKTYPE_WW); in ww_tests()
2195 dotest(ww_test_two_contexts, FAILURE, LOCKTYPE_WW); in ww_tests()
2196 dotest(ww_test_diff_class, FAILURE, LOCKTYPE_WW); in ww_tests()
2200 dotest(ww_test_context_done_twice, FAILURE, LOCKTYPE_WW); in ww_tests()
2201 dotest(ww_test_context_unlock_twice, FAILURE, LOCKTYPE_WW); in ww_tests()
2202 dotest(ww_test_context_fini_early, FAILURE, LOCKTYPE_WW); in ww_tests()
2203 dotest(ww_test_context_lock_after_done, FAILURE, LOCKTYPE_WW); in ww_tests()
2207 dotest(ww_test_object_unlock_twice, FAILURE, LOCKTYPE_WW); in ww_tests()
2208 dotest(ww_test_object_lock_unbalanced, FAILURE, LOCKTYPE_WW); in ww_tests()
2209 dotest(ww_test_object_lock_stale_context, FAILURE, LOCKTYPE_WW); in ww_tests()
2215 dotest(ww_test_edeadlk_no_unlock, FAILURE, LOCKTYPE_WW); in ww_tests()
2216 dotest(ww_test_edeadlk_no_unlock_slow, FAILURE, LOCKTYPE_WW); in ww_tests()
2217 dotest(ww_test_edeadlk_acquire_more, FAILURE, LOCKTYPE_WW); in ww_tests()
2218 dotest(ww_test_edeadlk_acquire_more_slow, FAILURE, LOCKTYPE_WW); in ww_tests()
2219 dotest(ww_test_edeadlk_acquire_more_edeadlk, FAILURE, LOCKTYPE_WW); in ww_tests()
2220 dotest(ww_test_edeadlk_acquire_more_edeadlk_slow, FAILURE, LOCKTYPE_WW); in ww_tests()
2221 dotest(ww_test_edeadlk_acquire_wrong, FAILURE, LOCKTYPE_WW); in ww_tests()
2222 dotest(ww_test_edeadlk_acquire_wrong_slow, FAILURE, LOCKTYPE_WW); in ww_tests()
2226 dotest(ww_test_spin_nest_unlocked, FAILURE, LOCKTYPE_WW); in ww_tests()
2234 dotest(ww_test_context_block, FAILURE, LOCKTYPE_WW); in ww_tests()
2240 dotest(ww_test_try_block, FAILURE, LOCKTYPE_WW); in ww_tests()
2242 dotest(ww_test_try_context, FAILURE, LOCKTYPE_WW); in ww_tests()
2246 dotest(ww_test_block_block, FAILURE, LOCKTYPE_WW); in ww_tests()
2248 dotest(ww_test_block_context, FAILURE, LOCKTYPE_WW); in ww_tests()
2252 dotest(ww_test_spin_block, FAILURE, LOCKTYPE_WW); in ww_tests()
2254 dotest(ww_test_spin_context, FAILURE, LOCKTYPE_WW); in ww_tests()
2348 dotest(queued_read_lock_hardirq_RE_Er, FAILURE, LOCKTYPE_RWLOCK); in queued_read_lock_tests()
2356 dotest(queued_read_lock_hardirq_inversion, FAILURE, LOCKTYPE_RWLOCK); in queued_read_lock_tests()
2363 * Got a locking failure before the selftest ran? in locking_selftest()
2405 dotest(rsem_AA1, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2412 dotest(rsem_AA1B, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2417 dotest(rlock_AA2, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2419 dotest(rsem_AA2, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2424 dotest(rlock_AA3, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2426 dotest(rsem_AA3, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2431 dotest(rlock_ABBA1, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2433 dotest(rwsem_ABBA1, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2439 dotest(rwsem_ABBA2, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2443 dotest(rlock_ABBA3, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2445 dotest(rwsem_ABBA3, FAILURE, LOCKTYPE_RWSEM); in locking_selftest()
2449 dotest(rlock_chaincache_ABBA1, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()