Home
last modified time | relevance | path

Searched defs:test (Results 1 – 8 of 8) sorted by relevance

/mm/kasan/
Dkasan_test_c.c89 static void kasan_test_exit(struct kunit *test) in kasan_test_exit()
116 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
142 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument
147 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument
152 #define KASAN_TEST_NEEDS_CHECKED_MEMINTRINSICS(test) do { \ argument
161 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right()
190 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left()
203 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right()
220 static void kmalloc_big_oob_right(struct kunit *test) in kmalloc_big_oob_right()
239 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right()
[all …]
Dreport.c187 struct kunit *test; in fail_non_kasan_kunit_test() local
/mm/kmsan/
Dkmsan_test.c165 static void test_uninit_kmalloc(struct kunit *test) in test_uninit_kmalloc()
179 static void test_init_kmalloc(struct kunit *test) in test_init_kmalloc()
192 static void test_init_kzalloc(struct kunit *test) in test_init_kzalloc()
204 static void test_uninit_stack_var(struct kunit *test) in test_uninit_stack_var()
215 static void test_init_stack_var(struct kunit *test) in test_init_stack_var()
246 static void test_params(struct kunit *test) in test_params()
274 static void test_uninit_multiple_params(struct kunit *test) in test_uninit_multiple_params()
298 static void test_uninit_kmsan_check_memory(struct kunit *test) in test_uninit_kmsan_check_memory()
316 static void test_init_kmsan_vmap_vunmap(struct kunit *test) in test_init_kmsan_vmap_vunmap()
347 static void test_init_vmalloc(struct kunit *test) in test_init_vmalloc()
[all …]
/mm/kfence/
Dkfence_test.c35 #define KFENCE_TEST_REQUIRES(test, cond) do { \ argument
185 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache()
244 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc()
318 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read()
352 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write()
370 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read()
386 static void test_double_free(struct kunit *test) in test_double_free()
401 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free()
418 static void test_corruption(struct kunit *test) in test_corruption()
454 static void test_kmalloc_aligned_oob_read(struct kunit *test) in test_kmalloc_aligned_oob_read()
[all …]
/mm/damon/tests/
Dcore-kunit.h17 static void damon_test_regions(struct kunit *test) in damon_test_regions()
50 static void damon_test_target(struct kunit *test) in damon_test_target()
77 static void damon_test_aggregate(struct kunit *test) in damon_test_aggregate()
121 static void damon_test_split_at(struct kunit *test) in damon_test_split_at()
149 static void damon_test_merge_two(struct kunit *test) in damon_test_merge_two()
193 static void damon_test_merge_regions_of(struct kunit *test) in damon_test_merge_regions_of()
224 static void damon_test_split_regions_of(struct kunit *test) in damon_test_split_regions_of()
246 static void damon_test_ops_registration(struct kunit *test) in damon_test_ops_registration()
294 static void damon_test_set_regions(struct kunit *test) in damon_test_set_regions()
316 static void damon_test_nr_accesses_to_accesses_bp(struct kunit *test) in damon_test_nr_accesses_to_accesses_bp()
[all …]
Dvaddr-kunit.h66 static void damon_test_three_regions_in_vmas(struct kunit *test) in damon_test_three_regions_in_vmas()
129 static void damon_do_test_apply_three_regions(struct kunit *test, in damon_do_test_apply_three_regions()
161 static void damon_test_apply_three_regions1(struct kunit *test) in damon_test_apply_three_regions1()
183 static void damon_test_apply_three_regions2(struct kunit *test) in damon_test_apply_three_regions2()
207 static void damon_test_apply_three_regions3(struct kunit *test) in damon_test_apply_three_regions3()
232 static void damon_test_apply_three_regions4(struct kunit *test) in damon_test_apply_three_regions4()
249 static void damon_test_split_evenly_fail(struct kunit *test, in damon_test_split_evenly_fail()
268 static void damon_test_split_evenly_succ(struct kunit *test, in damon_test_split_evenly_succ()
295 static void damon_test_split_evenly(struct kunit *test) in damon_test_split_evenly()
Ddbgfs-kunit.h15 static void damon_dbgfs_test_str_to_ints(struct kunit *test) in damon_dbgfs_test_str_to_ints()
71 static void damon_dbgfs_test_set_targets(struct kunit *test) in damon_dbgfs_test_set_targets()
99 static void damon_dbgfs_test_set_init_regions(struct kunit *test) in damon_dbgfs_test_set_init_regions()
Dsysfs-kunit.h41 static void damon_sysfs_test_add_targets(struct kunit *test) in damon_sysfs_test_add_targets()