Lines Matching defs:size
185 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache()
214 static inline size_t kmalloc_cache_alignment(size_t size) in kmalloc_cache_alignment()
243 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc()
319 size_t size = 32; in test_out_of_bounds_read() local
353 size_t size = 32; in test_out_of_bounds_write() local
371 const size_t size = 32; in test_use_after_free_read() local
387 const size_t size = 32; in test_double_free() local
402 const size_t size = 32; in test_invalid_addr_free() local
419 size_t size = 32; in test_corruption() local
455 const size_t size = 73; in test_kmalloc_aligned_oob_read() local
490 const size_t size = 73; in test_kmalloc_aligned_oob_write() local
512 const size_t size = 32; in test_shrink_memcache() local
536 const size_t size = setup_test_cache(test, 8 + prandom_u32_max(300), 0, in test_free_bulk() local
555 const size_t size = 32; in test_init_on_free() local
588 const size_t size = 32; in test_memcache_ctor() local
606 const size_t size = PAGE_SIZE; /* PAGE_SIZE so we can use ALLOCATE_ANY. */ in test_gfpzero() local
656 const size_t size = 32; in test_memcache_typesafe_by_rcu() local
692 const size_t size = 32; in test_krealloc() local
732 const size_t size = 32; in test_memcache_alloc_bulk() local