Searched refs:optimal_size (Results 1 – 1 of 1) sorted by relevance
363 unsigned int optimal_size; in kasan_cache_create() local422 optimal_size = cache->object_size + optimal_redzone(cache->object_size); in kasan_cache_create()424 if (optimal_size > KMALLOC_MAX_SIZE) in kasan_cache_create()425 optimal_size = KMALLOC_MAX_SIZE; in kasan_cache_create()427 if (*size < optimal_size) in kasan_cache_create()428 *size = optimal_size; in kasan_cache_create()