Lines Matching defs:test
169 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache()
227 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc()
300 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read()
334 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write()
352 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read()
368 static void test_double_free(struct kunit *test) in test_double_free()
383 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free()
400 static void test_corruption(struct kunit *test) in test_corruption()
436 static void test_kmalloc_aligned_oob_read(struct kunit *test) in test_kmalloc_aligned_oob_read()
471 static void test_kmalloc_aligned_oob_write(struct kunit *test) in test_kmalloc_aligned_oob_write()
493 static void test_shrink_memcache(struct kunit *test) in test_shrink_memcache()
514 static void test_free_bulk(struct kunit *test) in test_free_bulk()
536 static void test_init_on_free(struct kunit *test) in test_init_on_free()
570 static void test_memcache_ctor(struct kunit *test) in test_memcache_ctor()
588 static void test_gfpzero(struct kunit *test) in test_gfpzero()
626 static void test_invalid_access(struct kunit *test) in test_invalid_access()
640 static void test_memcache_typesafe_by_rcu(struct kunit *test) in test_memcache_typesafe_by_rcu()
676 static void test_krealloc(struct kunit *test) in test_krealloc()
716 static void test_memcache_alloc_bulk(struct kunit *test) in test_memcache_alloc_bulk()
786 static int test_init(struct kunit *test) in test_init()
806 static void test_exit(struct kunit *test) in test_exit()