Lines Matching defs:test
88 static void kasan_test_exit(struct kunit *test) in kasan_test_exit()
114 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
140 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument
145 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument
150 #define KASAN_TEST_NEEDS_CHECKED_MEMINTRINSICS(test) do { \ argument
159 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right()
188 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left()
201 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right()
220 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right()
236 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf()
250 static void kmalloc_pagealloc_invalid_free(struct kunit *test) in kmalloc_pagealloc_invalid_free()
263 static void pagealloc_oob_right(struct kunit *test) in pagealloc_oob_right()
285 static void pagealloc_uaf(struct kunit *test) in pagealloc_uaf()
299 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right()
316 static void krealloc_more_oob_helper(struct kunit *test, in krealloc_more_oob_helper()
351 static void krealloc_less_oob_helper(struct kunit *test, in krealloc_less_oob_helper()
395 static void krealloc_more_oob(struct kunit *test) in krealloc_more_oob()
400 static void krealloc_less_oob(struct kunit *test) in krealloc_less_oob()
405 static void krealloc_pagealloc_more_oob(struct kunit *test) in krealloc_pagealloc_more_oob()
414 static void krealloc_pagealloc_less_oob(struct kunit *test) in krealloc_pagealloc_less_oob()
427 static void krealloc_uaf(struct kunit *test) in krealloc_uaf()
442 static void kmalloc_oob_16(struct kunit *test) in kmalloc_oob_16()
467 static void kmalloc_uaf_16(struct kunit *test) in kmalloc_uaf_16()
492 static void kmalloc_oob_memset_2(struct kunit *test) in kmalloc_oob_memset_2()
507 static void kmalloc_oob_memset_4(struct kunit *test) in kmalloc_oob_memset_4()
522 static void kmalloc_oob_memset_8(struct kunit *test) in kmalloc_oob_memset_8()
537 static void kmalloc_oob_memset_16(struct kunit *test) in kmalloc_oob_memset_16()
552 static void kmalloc_oob_in_memset(struct kunit *test) in kmalloc_oob_in_memset()
569 static void kmalloc_memmove_negative_size(struct kunit *test) in kmalloc_memmove_negative_size()
595 static void kmalloc_memmove_invalid_size(struct kunit *test) in kmalloc_memmove_invalid_size()
614 static void kmalloc_uaf(struct kunit *test) in kmalloc_uaf()
626 static void kmalloc_uaf_memset(struct kunit *test) in kmalloc_uaf_memset()
646 static void kmalloc_uaf2(struct kunit *test) in kmalloc_uaf2()
680 static void kmalloc_uaf3(struct kunit *test) in kmalloc_uaf3()
699 static void kfree_via_page(struct kunit *test) in kfree_via_page()
714 static void kfree_via_phys(struct kunit *test) in kfree_via_phys()
727 static void kmem_cache_oob(struct kunit *test) in kmem_cache_oob()
749 static void kmem_cache_accounted(struct kunit *test) in kmem_cache_accounted()
776 static void kmem_cache_bulk(struct kunit *test) in kmem_cache_bulk()
803 static void kasan_global_oob_right(struct kunit *test) in kasan_global_oob_right()
826 static void kasan_global_oob_left(struct kunit *test) in kasan_global_oob_left()
841 static void ksize_unpoisons_memory(struct kunit *test) in ksize_unpoisons_memory()
872 static void ksize_uaf(struct kunit *test) in ksize_uaf()
887 static void kasan_stack_oob(struct kunit *test) in kasan_stack_oob()
899 static void kasan_alloca_oob_left(struct kunit *test) in kasan_alloca_oob_left()
914 static void kasan_alloca_oob_right(struct kunit *test) in kasan_alloca_oob_right()
929 static void kmem_cache_double_free(struct kunit *test) in kmem_cache_double_free()
950 static void kmem_cache_invalid_free(struct kunit *test) in kmem_cache_invalid_free()
981 static void kmem_cache_double_destroy(struct kunit *test) in kmem_cache_double_destroy()
992 static void kasan_memchr(struct kunit *test) in kasan_memchr()
1017 static void kasan_memcmp(struct kunit *test) in kasan_memcmp()
1043 static void kasan_strings(struct kunit *test) in kasan_strings()
1079 static void kasan_bitops_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_modify()
1091 static void kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_test_and_modify()
1108 static void kasan_bitops_generic(struct kunit *test) in kasan_bitops_generic()
1137 static void kasan_bitops_tags(struct kunit *test) in kasan_bitops_tags()
1155 static void kmalloc_double_kzfree(struct kunit *test) in kmalloc_double_kzfree()
1189 static void rcu_uaf(struct kunit *test) in rcu_uaf()
1209 static void workqueue_uaf(struct kunit *test) in workqueue_uaf()
1228 static void vmalloc_helpers_tags(struct kunit *test) in vmalloc_helpers_tags()
1263 static void vmalloc_oob(struct kunit *test) in vmalloc_oob()
1311 static void vmap_tags(struct kunit *test) in vmap_tags()
1354 static void vm_map_ram_tags(struct kunit *test) in vm_map_ram_tags()
1389 static void match_all_not_assigned(struct kunit *test) in match_all_not_assigned()
1430 static void match_all_ptr_tag(struct kunit *test) in match_all_ptr_tag()
1456 static void match_all_mem_tag(struct kunit *test) in match_all_mem_tag()