Lines Matching defs:test

48 static int kasan_test_init(struct kunit *test)  in kasan_test_init()
62 static void kasan_test_exit(struct kunit *test) in kasan_test_exit()
89 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
110 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument
115 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument
120 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right()
148 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left()
160 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right()
178 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right()
193 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf()
207 static void kmalloc_pagealloc_invalid_free(struct kunit *test) in kmalloc_pagealloc_invalid_free()
220 static void pagealloc_oob_right(struct kunit *test) in pagealloc_oob_right()
242 static void pagealloc_uaf(struct kunit *test) in pagealloc_uaf()
256 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right()
272 static void krealloc_more_oob_helper(struct kunit *test, in krealloc_more_oob_helper()
304 static void krealloc_less_oob_helper(struct kunit *test, in krealloc_less_oob_helper()
345 static void krealloc_more_oob(struct kunit *test) in krealloc_more_oob()
350 static void krealloc_less_oob(struct kunit *test) in krealloc_less_oob()
355 static void krealloc_pagealloc_more_oob(struct kunit *test) in krealloc_pagealloc_more_oob()
364 static void krealloc_pagealloc_less_oob(struct kunit *test) in krealloc_pagealloc_less_oob()
377 static void krealloc_uaf(struct kunit *test) in krealloc_uaf()
392 static void kmalloc_oob_16(struct kunit *test) in kmalloc_oob_16()
412 static void kmalloc_uaf_16(struct kunit *test) in kmalloc_uaf_16()
435 static void kmalloc_oob_memset_2(struct kunit *test) in kmalloc_oob_memset_2()
447 static void kmalloc_oob_memset_4(struct kunit *test) in kmalloc_oob_memset_4()
459 static void kmalloc_oob_memset_8(struct kunit *test) in kmalloc_oob_memset_8()
471 static void kmalloc_oob_memset_16(struct kunit *test) in kmalloc_oob_memset_16()
483 static void kmalloc_oob_in_memset(struct kunit *test) in kmalloc_oob_in_memset()
496 static void kmalloc_memmove_invalid_size(struct kunit *test) in kmalloc_memmove_invalid_size()
518 static void kmalloc_uaf(struct kunit *test) in kmalloc_uaf()
530 static void kmalloc_uaf_memset(struct kunit *test) in kmalloc_uaf_memset()
548 static void kmalloc_uaf2(struct kunit *test) in kmalloc_uaf2()
578 static void kfree_via_page(struct kunit *test) in kfree_via_page()
593 static void kfree_via_phys(struct kunit *test) in kfree_via_phys()
606 static void kmem_cache_oob(struct kunit *test) in kmem_cache_oob()
628 static void kmem_cache_accounted(struct kunit *test) in kmem_cache_accounted()
655 static void kmem_cache_bulk(struct kunit *test) in kmem_cache_bulk()
682 static void kasan_global_oob(struct kunit *test) in kasan_global_oob()
706 static void ksize_unpoisons_memory(struct kunit *test) in ksize_unpoisons_memory()
728 static void ksize_uaf(struct kunit *test) in ksize_uaf()
742 static void kasan_stack_oob(struct kunit *test) in kasan_stack_oob()
754 static void kasan_alloca_oob_left(struct kunit *test) in kasan_alloca_oob_left()
769 static void kasan_alloca_oob_right(struct kunit *test) in kasan_alloca_oob_right()
784 static void kmem_cache_double_free(struct kunit *test) in kmem_cache_double_free()
805 static void kmem_cache_invalid_free(struct kunit *test) in kmem_cache_invalid_free()
834 static void kasan_memchr(struct kunit *test) in kasan_memchr()
857 static void kasan_memcmp(struct kunit *test) in kasan_memcmp()
881 static void kasan_strings(struct kunit *test) in kasan_strings()
917 static void kasan_bitops_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_modify()
929 static void kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_test_and_modify()
946 static void kasan_bitops_generic(struct kunit *test) in kasan_bitops_generic()
975 static void kasan_bitops_tags(struct kunit *test) in kasan_bitops_tags()
993 static void kmalloc_double_kzfree(struct kunit *test) in kmalloc_double_kzfree()
1005 static void vmalloc_oob(struct kunit *test) in vmalloc_oob()
1027 static void match_all_not_assigned(struct kunit *test) in match_all_not_assigned()
1056 static void match_all_ptr_tag(struct kunit *test) in match_all_ptr_tag()
1082 static void match_all_mem_tag(struct kunit *test) in match_all_mem_tag()