Lines Matching defs:test
180 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache()
238 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc()
312 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read()
346 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write()
364 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read()
380 static void test_double_free(struct kunit *test) in test_double_free()
395 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free()
412 static void test_corruption(struct kunit *test) in test_corruption()
448 static void test_kmalloc_aligned_oob_read(struct kunit *test) in test_kmalloc_aligned_oob_read()
483 static void test_kmalloc_aligned_oob_write(struct kunit *test) in test_kmalloc_aligned_oob_write()
505 static void test_shrink_memcache(struct kunit *test) in test_shrink_memcache()
526 static void test_free_bulk(struct kunit *test) in test_free_bulk()
548 static void test_init_on_free(struct kunit *test) in test_init_on_free()
582 static void test_memcache_ctor(struct kunit *test) in test_memcache_ctor()
600 static void test_gfpzero(struct kunit *test) in test_gfpzero()
638 static void test_invalid_access(struct kunit *test) in test_invalid_access()
652 static void test_memcache_typesafe_by_rcu(struct kunit *test) in test_memcache_typesafe_by_rcu()
688 static void test_krealloc(struct kunit *test) in test_krealloc()
728 static void test_memcache_alloc_bulk(struct kunit *test) in test_memcache_alloc_bulk()
798 static int test_init(struct kunit *test) in test_init()
821 static void test_exit(struct kunit *test) in test_exit()