Searched refs:dotest (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/lib/
H A Dlocking-selftest.c970 static void dotest(void (*testcase_fn)(void), int expected, int lockclass_mask) dotest() function
1023 dotest(name##_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1028 dotest(name##_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1033 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN); \
1034 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1035 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1040 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN|LOCKTYPE_RWLOCK);\
1041 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1042 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1047 dotest(name##_spin, FAILURE, LOCKTYPE_SPIN); \
1048 dotest(name##_wlock, FAILURE, LOCKTYPE_RWLOCK); \
1049 dotest(name##_rlock, FAILURE, LOCKTYPE_RWLOCK); \
1050 dotest(name##_mutex, FAILURE, LOCKTYPE_MUTEX); \
1051 dotest(name##_wsem, FAILURE, LOCKTYPE_RWSEM); \
1052 dotest(name##_rsem, FAILURE, LOCKTYPE_RWSEM); \
1057 dotest(name##_spin, SUCCESS, LOCKTYPE_SPIN); \
1058 dotest(name##_wlock, SUCCESS, LOCKTYPE_RWLOCK); \
1059 dotest(name##_rlock, SUCCESS, LOCKTYPE_RWLOCK); \
1060 dotest(name##_mutex, SUCCESS, LOCKTYPE_MUTEX); \
1061 dotest(name##_wsem, SUCCESS, LOCKTYPE_RWSEM); \
1062 dotest(name##_rsem, SUCCESS, LOCKTYPE_RWSEM); \
1070 dotest(name##_spin, FAILURE, LOCKTYPE_SPIN); \
1071 dotest(name##_wlock, FAILURE, LOCKTYPE_RWLOCK); \
1072 dotest(name##_rlock, SUCCESS, LOCKTYPE_RWLOCK); \
1073 dotest(name##_mutex, FAILURE, LOCKTYPE_MUTEX); \
1074 dotest(name##_wsem, FAILURE, LOCKTYPE_RWSEM); \
1075 dotest(name##_rsem, FAILURE, LOCKTYPE_RWSEM); \
1726 dotest(ww_test_fail_acquire, SUCCESS, LOCKTYPE_WW); ww_tests()
1727 dotest(ww_test_normal, SUCCESS, LOCKTYPE_WW); ww_tests()
1728 dotest(ww_test_unneeded_slow, FAILURE, LOCKTYPE_WW); ww_tests()
1732 dotest(ww_test_two_contexts, FAILURE, LOCKTYPE_WW); ww_tests()
1733 dotest(ww_test_diff_class, FAILURE, LOCKTYPE_WW); ww_tests()
1737 dotest(ww_test_context_done_twice, FAILURE, LOCKTYPE_WW); ww_tests()
1738 dotest(ww_test_context_unlock_twice, FAILURE, LOCKTYPE_WW); ww_tests()
1739 dotest(ww_test_context_fini_early, FAILURE, LOCKTYPE_WW); ww_tests()
1740 dotest(ww_test_context_lock_after_done, FAILURE, LOCKTYPE_WW); ww_tests()
1744 dotest(ww_test_object_unlock_twice, FAILURE, LOCKTYPE_WW); ww_tests()
1745 dotest(ww_test_object_lock_unbalanced, FAILURE, LOCKTYPE_WW); ww_tests()
1746 dotest(ww_test_object_lock_stale_context, FAILURE, LOCKTYPE_WW); ww_tests()
1750 dotest(ww_test_edeadlk_normal, SUCCESS, LOCKTYPE_WW); ww_tests()
1751 dotest(ww_test_edeadlk_normal_slow, SUCCESS, LOCKTYPE_WW); ww_tests()
1752 dotest(ww_test_edeadlk_no_unlock, FAILURE, LOCKTYPE_WW); ww_tests()
1753 dotest(ww_test_edeadlk_no_unlock_slow, FAILURE, LOCKTYPE_WW); ww_tests()
1754 dotest(ww_test_edeadlk_acquire_more, FAILURE, LOCKTYPE_WW); ww_tests()
1755 dotest(ww_test_edeadlk_acquire_more_slow, FAILURE, LOCKTYPE_WW); ww_tests()
1756 dotest(ww_test_edeadlk_acquire_more_edeadlk, FAILURE, LOCKTYPE_WW); ww_tests()
1757 dotest(ww_test_edeadlk_acquire_more_edeadlk_slow, FAILURE, LOCKTYPE_WW); ww_tests()
1758 dotest(ww_test_edeadlk_acquire_wrong, FAILURE, LOCKTYPE_WW); ww_tests()
1759 dotest(ww_test_edeadlk_acquire_wrong_slow, FAILURE, LOCKTYPE_WW); ww_tests()
1763 dotest(ww_test_spin_nest_unlocked, FAILURE, LOCKTYPE_WW); ww_tests()
1771 dotest(ww_test_context_block, FAILURE, LOCKTYPE_WW); ww_tests()
1772 dotest(ww_test_context_try, SUCCESS, LOCKTYPE_WW); ww_tests()
1773 dotest(ww_test_context_context, SUCCESS, LOCKTYPE_WW); ww_tests()
1777 dotest(ww_test_try_block, FAILURE, LOCKTYPE_WW); ww_tests()
1778 dotest(ww_test_try_try, SUCCESS, LOCKTYPE_WW); ww_tests()
1779 dotest(ww_test_try_context, FAILURE, LOCKTYPE_WW); ww_tests()
1783 dotest(ww_test_block_block, FAILURE, LOCKTYPE_WW); ww_tests()
1784 dotest(ww_test_block_try, SUCCESS, LOCKTYPE_WW); ww_tests()
1785 dotest(ww_test_block_context, FAILURE, LOCKTYPE_WW); ww_tests()
1789 dotest(ww_test_spin_block, FAILURE, LOCKTYPE_WW); ww_tests()
1790 dotest(ww_test_spin_try, SUCCESS, LOCKTYPE_WW); ww_tests()
1791 dotest(ww_test_spin_context, FAILURE, LOCKTYPE_WW); ww_tests()
1833 dotest(rlock_AA1, SUCCESS, LOCKTYPE_RWLOCK); locking_selftest()
1835 dotest(rsem_AA1, FAILURE, LOCKTYPE_RWSEM); locking_selftest()
1840 dotest(rlock_AA1B, SUCCESS, LOCKTYPE_RWLOCK); locking_selftest()
1842 dotest(rsem_AA1B, FAILURE, LOCKTYPE_RWSEM); locking_selftest()
1847 dotest(rlock_AA2, FAILURE, LOCKTYPE_RWLOCK); locking_selftest()
1849 dotest(rsem_AA2, FAILURE, LOCKTYPE_RWSEM); locking_selftest()
1854 dotest(rlock_AA3, FAILURE, LOCKTYPE_RWLOCK); locking_selftest()
1856 dotest(rsem_AA3, FAILURE, LOCKTYPE_RWSEM); locking_selftest()
/linux-4.4.14/arch/x86/kernel/
H A Dnmi_selftest.c112 static void __init dotest(void (*testcase_fn)(void), int expected) dotest() function
154 dotest(remote_ipi, SUCCESS); nmi_selftest()
157 dotest(local_ipi, SUCCESS); nmi_selftest()

Completed in 111 milliseconds