Lines Matching defs:test
36 #define KFENCE_TEST_REQUIRES(test, cond) do { \ argument
186 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache()
245 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc()
319 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read()
353 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write()
371 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read()
387 static void test_use_after_free_read_nofault(struct kunit *test) in test_use_after_free_read_nofault()
403 static void test_double_free(struct kunit *test) in test_double_free()
418 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free()
435 static void test_corruption(struct kunit *test) in test_corruption()
471 static void test_kmalloc_aligned_oob_read(struct kunit *test) in test_kmalloc_aligned_oob_read()
506 static void test_kmalloc_aligned_oob_write(struct kunit *test) in test_kmalloc_aligned_oob_write()
528 static void test_shrink_memcache(struct kunit *test) in test_shrink_memcache()
549 static void test_free_bulk(struct kunit *test) in test_free_bulk()
571 static void test_init_on_free(struct kunit *test) in test_init_on_free()
604 static void test_memcache_ctor(struct kunit *test) in test_memcache_ctor()
622 static void test_gfpzero(struct kunit *test) in test_gfpzero()
659 static void test_invalid_access(struct kunit *test) in test_invalid_access()
673 static void test_memcache_typesafe_by_rcu(struct kunit *test) in test_memcache_typesafe_by_rcu()
709 static void test_krealloc(struct kunit *test) in test_krealloc()
749 static void test_memcache_alloc_bulk(struct kunit *test) in test_memcache_alloc_bulk()
820 static int test_init(struct kunit *test) in test_init()
843 static void test_exit(struct kunit *test) in test_exit()