Home
last modified time | relevance | path

Searched refs:optimal_size (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/mm/kasan/
Dgeneric.c363 unsigned int optimal_size; in kasan_cache_create() local
422 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()