Lines Matching defs:test

49 static int kasan_test_init(struct kunit *test)  in kasan_test_init()
64 static void kasan_test_exit(struct kunit *test) in kasan_test_exit()
91 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
116 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument
121 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument
126 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right()
155 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left()
168 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right()
187 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right()
203 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf()
217 static void kmalloc_pagealloc_invalid_free(struct kunit *test) in kmalloc_pagealloc_invalid_free()
230 static void pagealloc_oob_right(struct kunit *test) in pagealloc_oob_right()
252 static void pagealloc_uaf(struct kunit *test) in pagealloc_uaf()
266 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right()
283 static void krealloc_more_oob_helper(struct kunit *test, in krealloc_more_oob_helper()
318 static void krealloc_less_oob_helper(struct kunit *test, in krealloc_less_oob_helper()
362 static void krealloc_more_oob(struct kunit *test) in krealloc_more_oob()
367 static void krealloc_less_oob(struct kunit *test) in krealloc_less_oob()
372 static void krealloc_pagealloc_more_oob(struct kunit *test) in krealloc_pagealloc_more_oob()
381 static void krealloc_pagealloc_less_oob(struct kunit *test) in krealloc_pagealloc_less_oob()
394 static void krealloc_uaf(struct kunit *test) in krealloc_uaf()
409 static void kmalloc_oob_16(struct kunit *test) in kmalloc_oob_16()
431 static void kmalloc_uaf_16(struct kunit *test) in kmalloc_uaf_16()
454 static void kmalloc_oob_memset_2(struct kunit *test) in kmalloc_oob_memset_2()
467 static void kmalloc_oob_memset_4(struct kunit *test) in kmalloc_oob_memset_4()
480 static void kmalloc_oob_memset_8(struct kunit *test) in kmalloc_oob_memset_8()
493 static void kmalloc_oob_memset_16(struct kunit *test) in kmalloc_oob_memset_16()
506 static void kmalloc_oob_in_memset(struct kunit *test) in kmalloc_oob_in_memset()
521 static void kmalloc_memmove_negative_size(struct kunit *test) in kmalloc_memmove_negative_size()
545 static void kmalloc_memmove_invalid_size(struct kunit *test) in kmalloc_memmove_invalid_size()
562 static void kmalloc_uaf(struct kunit *test) in kmalloc_uaf()
574 static void kmalloc_uaf_memset(struct kunit *test) in kmalloc_uaf_memset()
592 static void kmalloc_uaf2(struct kunit *test) in kmalloc_uaf2()
626 static void kmalloc_uaf3(struct kunit *test) in kmalloc_uaf3()
645 static void kfree_via_page(struct kunit *test) in kfree_via_page()
660 static void kfree_via_phys(struct kunit *test) in kfree_via_phys()
673 static void kmem_cache_oob(struct kunit *test) in kmem_cache_oob()
695 static void kmem_cache_accounted(struct kunit *test) in kmem_cache_accounted()
722 static void kmem_cache_bulk(struct kunit *test) in kmem_cache_bulk()
749 static void kasan_global_oob_right(struct kunit *test) in kasan_global_oob_right()
772 static void kasan_global_oob_left(struct kunit *test) in kasan_global_oob_left()
787 static void ksize_unpoisons_memory(struct kunit *test) in ksize_unpoisons_memory()
811 static void ksize_uaf(struct kunit *test) in ksize_uaf()
826 static void kasan_stack_oob(struct kunit *test) in kasan_stack_oob()
838 static void kasan_alloca_oob_left(struct kunit *test) in kasan_alloca_oob_left()
853 static void kasan_alloca_oob_right(struct kunit *test) in kasan_alloca_oob_right()
868 static void kmem_cache_double_free(struct kunit *test) in kmem_cache_double_free()
889 static void kmem_cache_invalid_free(struct kunit *test) in kmem_cache_invalid_free()
920 static void kmem_cache_double_destroy(struct kunit *test) in kmem_cache_double_destroy()
931 static void kasan_memchr(struct kunit *test) in kasan_memchr()
956 static void kasan_memcmp(struct kunit *test) in kasan_memcmp()
982 static void kasan_strings(struct kunit *test) in kasan_strings()
1018 static void kasan_bitops_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_modify()
1030 static void kasan_bitops_test_and_modify(struct kunit *test, int nr, void *addr) in kasan_bitops_test_and_modify()
1047 static void kasan_bitops_generic(struct kunit *test) in kasan_bitops_generic()
1076 static void kasan_bitops_tags(struct kunit *test) in kasan_bitops_tags()
1094 static void kmalloc_double_kzfree(struct kunit *test) in kmalloc_double_kzfree()
1106 static void vmalloc_helpers_tags(struct kunit *test) in vmalloc_helpers_tags()
1141 static void vmalloc_oob(struct kunit *test) in vmalloc_oob()
1189 static void vmap_tags(struct kunit *test) in vmap_tags()
1232 static void vm_map_ram_tags(struct kunit *test) in vm_map_ram_tags()
1262 static void vmalloc_percpu(struct kunit *test) in vmalloc_percpu()
1293 static void match_all_not_assigned(struct kunit *test) in match_all_not_assigned()
1334 static void match_all_ptr_tag(struct kunit *test) in match_all_ptr_tag()
1360 static void match_all_mem_tag(struct kunit *test) in match_all_mem_tag()