Lines Matching defs:test

48 static int kasan_test_init(struct kunit *test)  in kasan_test_init()
60 static void kasan_test_exit(struct kunit *test) in kasan_test_exit()
82 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
110 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument
117 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument
124 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right()
136 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left()
148 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right()
166 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right()
181 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf()
195 static void kmalloc_pagealloc_invalid_free(struct kunit *test) in kmalloc_pagealloc_invalid_free()
208 static void pagealloc_oob_right(struct kunit *test) in pagealloc_oob_right()
230 static void pagealloc_uaf(struct kunit *test) in pagealloc_uaf()
244 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right()
260 static void krealloc_more_oob_helper(struct kunit *test, in krealloc_more_oob_helper()
292 static void krealloc_less_oob_helper(struct kunit *test, in krealloc_less_oob_helper()
333 static void krealloc_more_oob(struct kunit *test) in krealloc_more_oob()
338 static void krealloc_less_oob(struct kunit *test) in krealloc_less_oob()
343 static void krealloc_pagealloc_more_oob(struct kunit *test) in krealloc_pagealloc_more_oob()
352 static void krealloc_pagealloc_less_oob(struct kunit *test) in krealloc_pagealloc_less_oob()
365 static void krealloc_uaf(struct kunit *test) in krealloc_uaf()
380 static void kmalloc_oob_16(struct kunit *test) in kmalloc_oob_16()
400 static void kmalloc_uaf_16(struct kunit *test) in kmalloc_uaf_16()
417 static void kmalloc_oob_memset_2(struct kunit *test) in kmalloc_oob_memset_2()
429 static void kmalloc_oob_memset_4(struct kunit *test) in kmalloc_oob_memset_4()
442 static void kmalloc_oob_memset_8(struct kunit *test) in kmalloc_oob_memset_8()
454 static void kmalloc_oob_memset_16(struct kunit *test) in kmalloc_oob_memset_16()
466 static void kmalloc_oob_in_memset(struct kunit *test) in kmalloc_oob_in_memset()
478 static void kmalloc_memmove_invalid_size(struct kunit *test) in kmalloc_memmove_invalid_size()
494 static void kmalloc_uaf(struct kunit *test) in kmalloc_uaf()
506 static void kmalloc_uaf_memset(struct kunit *test) in kmalloc_uaf_memset()
518 static void kmalloc_uaf2(struct kunit *test) in kmalloc_uaf2()
548 static void kfree_via_page(struct kunit *test) in kfree_via_page()
563 static void kfree_via_phys(struct kunit *test) in kfree_via_phys()
576 static void kmem_cache_oob(struct kunit *test) in kmem_cache_oob()
598 static void kmem_cache_accounted(struct kunit *test) in kmem_cache_accounted()
625 static void kmem_cache_bulk(struct kunit *test) in kmem_cache_bulk()
652 static void kasan_global_oob(struct kunit *test) in kasan_global_oob()
676 static void ksize_unpoisons_memory(struct kunit *test) in ksize_unpoisons_memory()
698 static void ksize_uaf(struct kunit *test) in ksize_uaf()
712 static void kasan_stack_oob(struct kunit *test) in kasan_stack_oob()
724 static void kasan_alloca_oob_left(struct kunit *test) in kasan_alloca_oob_left()
739 static void kasan_alloca_oob_right(struct kunit *test) in kasan_alloca_oob_right()
754 static void kmem_cache_double_free(struct kunit *test) in kmem_cache_double_free()
775 static void kmem_cache_invalid_free(struct kunit *test) in kmem_cache_invalid_free()
804 static void kasan_memchr(struct kunit *test) in kasan_memchr()
827 static void kasan_memcmp(struct kunit *test) in kasan_memcmp()
851 static void kasan_strings(struct kunit *test) in kasan_strings()
887 static void kasan_bitops_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_modify()
899 static void kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_test_and_modify()
916 static void kasan_bitops_generic(struct kunit *test) in kasan_bitops_generic()
945 static void kasan_bitops_tags(struct kunit *test) in kasan_bitops_tags()
963 static void kmalloc_double_kzfree(struct kunit *test) in kmalloc_double_kzfree()
975 static void vmalloc_oob(struct kunit *test) in vmalloc_oob()
997 static void match_all_not_assigned(struct kunit *test) in match_all_not_assigned()
1026 static void match_all_ptr_tag(struct kunit *test) in match_all_ptr_tag()
1052 static void match_all_mem_tag(struct kunit *test) in match_all_mem_tag()