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()
448 static void kmalloc_oob_memset_4(struct kunit *test) in kmalloc_oob_memset_4()
461 static void kmalloc_oob_memset_8(struct kunit *test) in kmalloc_oob_memset_8()
474 static void kmalloc_oob_memset_16(struct kunit *test) in kmalloc_oob_memset_16()
487 static void kmalloc_oob_in_memset(struct kunit *test) in kmalloc_oob_in_memset()
501 static void kmalloc_memmove_negative_size(struct kunit *test) in kmalloc_memmove_negative_size()
524 static void kmalloc_memmove_invalid_size(struct kunit *test) in kmalloc_memmove_invalid_size()
539 static void kmalloc_uaf(struct kunit *test) in kmalloc_uaf()
551 static void kmalloc_uaf_memset(struct kunit *test) in kmalloc_uaf_memset()
569 static void kmalloc_uaf2(struct kunit *test) in kmalloc_uaf2()
599 static void kfree_via_page(struct kunit *test) in kfree_via_page()
614 static void kfree_via_phys(struct kunit *test) in kfree_via_phys()
627 static void kmem_cache_oob(struct kunit *test) in kmem_cache_oob()
649 static void kmem_cache_accounted(struct kunit *test) in kmem_cache_accounted()
676 static void kmem_cache_bulk(struct kunit *test) in kmem_cache_bulk()
703 static void kasan_global_oob(struct kunit *test) in kasan_global_oob()
727 static void ksize_unpoisons_memory(struct kunit *test) in ksize_unpoisons_memory()
749 static void ksize_uaf(struct kunit *test) in ksize_uaf()
763 static void kasan_stack_oob(struct kunit *test) in kasan_stack_oob()
775 static void kasan_alloca_oob_left(struct kunit *test) in kasan_alloca_oob_left()
790 static void kasan_alloca_oob_right(struct kunit *test) in kasan_alloca_oob_right()
805 static void kmem_cache_double_free(struct kunit *test) in kmem_cache_double_free()
826 static void kmem_cache_invalid_free(struct kunit *test) in kmem_cache_invalid_free()
855 static void kasan_memchr(struct kunit *test) in kasan_memchr()
879 static void kasan_memcmp(struct kunit *test) in kasan_memcmp()
904 static void kasan_strings(struct kunit *test) in kasan_strings()
940 static void kasan_bitops_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_modify()
952 static void kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_test_and_modify()
969 static void kasan_bitops_generic(struct kunit *test) in kasan_bitops_generic()
998 static void kasan_bitops_tags(struct kunit *test) in kasan_bitops_tags()
1016 static void kmalloc_double_kzfree(struct kunit *test) in kmalloc_double_kzfree()
1028 static void vmalloc_oob(struct kunit *test) in vmalloc_oob()
1050 static void match_all_not_assigned(struct kunit *test) in match_all_not_assigned()
1079 static void match_all_ptr_tag(struct kunit *test) in match_all_ptr_tag()
1105 static void match_all_mem_tag(struct kunit *test) in match_all_mem_tag()