Home
last modified time | relevance | path

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

/Linux-v5.4/mm/kasan/
Dgeneric.c282 size_t rounded_up_size = round_up(size, KASAN_SHADOW_SCALE_SIZE); in __asan_alloca_poison() local
284 rounded_up_size; in __asan_alloca_poison()
289 const void *right_redzone = (const void *)(addr + rounded_up_size); in __asan_alloca_poison()
Dcommon.c442 unsigned long rounded_up_size; in __kasan_slab_free() local
464 rounded_up_size = round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE); in __kasan_slab_free()
465 kasan_poison_shadow(object, rounded_up_size, KASAN_KMALLOC_FREE); in __kasan_slab_free()