Lines Matching defs:test
35 #define KCSAN_TEST_REQUIRES(test, cond) do { \ argument
520 static void test_barrier_nothreads(struct kunit *test) in test_barrier_nothreads()
708 static void test_basic(struct kunit *test) in test_basic()
739 static void test_concurrent_races(struct kunit *test) in test_concurrent_races()
768 static void test_novalue_change(struct kunit *test) in test_novalue_change()
800 static void test_novalue_change_exception(struct kunit *test) in test_novalue_change_exception()
826 static void test_unknown_origin(struct kunit *test) in test_unknown_origin()
848 static void test_write_write_assume_atomic(struct kunit *test) in test_write_write_assume_atomic()
874 static void test_write_write_struct(struct kunit *test) in test_write_write_struct()
896 static void test_write_write_struct_part(struct kunit *test) in test_write_write_struct_part()
915 static void test_read_atomic_write_atomic(struct kunit *test) in test_read_atomic_write_atomic()
928 static void test_read_plain_atomic_write(struct kunit *test) in test_read_plain_atomic_write()
949 static void test_read_plain_atomic_rmw(struct kunit *test) in test_read_plain_atomic_rmw()
971 static void test_zero_size_access(struct kunit *test) in test_zero_size_access()
999 static void test_data_race(struct kunit *test) in test_data_race()
1011 static void test_assert_exclusive_writer(struct kunit *test) in test_assert_exclusive_writer()
1029 static void test_assert_exclusive_access(struct kunit *test) in test_assert_exclusive_access()
1047 static void test_assert_exclusive_access_writer(struct kunit *test) in test_assert_exclusive_access_writer()
1083 static void test_assert_exclusive_bits_change(struct kunit *test) in test_assert_exclusive_bits_change()
1102 static void test_assert_exclusive_bits_nochange(struct kunit *test) in test_assert_exclusive_bits_nochange()
1114 static void test_assert_exclusive_writer_scoped(struct kunit *test) in test_assert_exclusive_writer_scoped()
1141 static void test_assert_exclusive_access_scoped(struct kunit *test) in test_assert_exclusive_access_scoped()
1177 static void test_jiffies_noreport(struct kunit *test) in test_jiffies_noreport()
1190 static void test_seqlock_noreport(struct kunit *test) in test_seqlock_noreport()
1208 static void test_atomic_builtins(struct kunit *test) in test_atomic_builtins()
1255 static void test_1bit_value_change(struct kunit *test) in test_1bit_value_change()
1278 static void test_correct_barrier(struct kunit *test) in test_correct_barrier()
1297 static void test_missing_barrier(struct kunit *test) in test_missing_barrier()
1319 static void test_atomic_builtins_correct_barrier(struct kunit *test) in test_atomic_builtins_correct_barrier()
1339 static void test_atomic_builtins_missing_barrier(struct kunit *test) in test_atomic_builtins_missing_barrier()
1492 static int test_init(struct kunit *test) in test_init()
1544 static void test_exit(struct kunit *test) in test_exit()