Home
last modified time | relevance | path

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

/Linux-v5.10/mm/kasan/
Dcommon.c549 size_t shadow_size; in kasan_module_alloc() local
554 shadow_size = round_up(scaled_size, PAGE_SIZE); in kasan_module_alloc()
559 ret = __vmalloc_node_range(shadow_size, 1, shadow_start, in kasan_module_alloc()
560 shadow_start + shadow_size, in kasan_module_alloc()
566 __memset(ret, KASAN_SHADOW_INIT, shadow_size); in kasan_module_alloc()
622 unsigned long shadow_end, shadow_size; in kasan_mem_notifier() local
627 shadow_size = nr_shadow_pages << PAGE_SHIFT; in kasan_mem_notifier()
628 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier()
646 ret = __vmalloc_node_range(shadow_size, PAGE_SIZE, shadow_start, in kasan_mem_notifier()