Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/kasan/
Dcommon.c118 void *shadow_start, *shadow_end; in kasan_poison_shadow() local
128 shadow_end = kasan_mem_to_shadow(address + size); in kasan_poison_shadow()
130 __memset(shadow_start, value, shadow_end - shadow_start); in kasan_poison_shadow()
622 unsigned long shadow_end, shadow_size; in kasan_mem_notifier() local
628 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier()
647 shadow_end, GFP_KERNEL, in kasan_mem_notifier()
722 unsigned long shadow_start, shadow_end; in kasan_populate_vmalloc() local
730 shadow_end = (unsigned long)kasan_mem_to_shadow((void *)addr + size); in kasan_populate_vmalloc()
731 shadow_end = ALIGN(shadow_end, PAGE_SIZE); in kasan_populate_vmalloc()
734 shadow_end - shadow_start, in kasan_populate_vmalloc()
[all …]
Dinit.c231 const void *shadow_end) in kasan_populate_early_shadow() argument
234 unsigned long end = (unsigned long)shadow_end; in kasan_populate_early_shadow()
483 void *shadow_start, *shadow_end; in kasan_add_zero_shadow() local
486 shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_add_zero_shadow()
493 ret = kasan_populate_early_shadow(shadow_start, shadow_end); in kasan_add_zero_shadow()
/kernel/linux/linux-5.10/arch/arm/mm/
Dkasan_init.c192 void *shadow_start, *shadow_end; in create_mapping() local
195 shadow_end = kasan_mem_to_shadow(end); in create_mapping()
198 start, end, shadow_start, shadow_end); in create_mapping()
201 PAGE_ALIGN((unsigned long)shadow_end), false); in create_mapping()
/kernel/linux/linux-5.10/arch/x86/mm/
Dkasan_init_64.c337 unsigned long shadow_start, shadow_end; in kasan_populate_shadow_for_vaddr() local
340 shadow_end = kasan_mem_to_shadow_align_up((unsigned long)va + size); in kasan_populate_shadow_for_vaddr()
341 kasan_populate_shadow(shadow_start, shadow_end, nid); in kasan_populate_shadow_for_vaddr()
/kernel/linux/linux-5.10/include/linux/
Dkasan.h30 const void *shadow_end);