Home
last modified time | relevance | path

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

/mm/kasan/
Dshadow.c74 void *shadow_start, *shadow_end; in kasan_poison() local
93 shadow_end = kasan_mem_to_shadow(addr + size); in kasan_poison()
95 __memset(shadow_start, value, shadow_end - shadow_start); in kasan_poison()
179 unsigned long shadow_end, shadow_size; in kasan_mem_notifier() local
185 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier()
204 shadow_end, GFP_KERNEL, in kasan_mem_notifier()
280 unsigned long shadow_start, shadow_end; in kasan_populate_vmalloc() local
288 shadow_end = (unsigned long)kasan_mem_to_shadow((void *)addr + size); in kasan_populate_vmalloc()
289 shadow_end = ALIGN(shadow_end, PAGE_SIZE); in kasan_populate_vmalloc()
292 shadow_end - shadow_start, in kasan_populate_vmalloc()
[all …]
Dinit.c227 const void *shadow_end) in kasan_populate_early_shadow() argument
230 unsigned long end = (unsigned long)shadow_end; in kasan_populate_early_shadow()
478 void *shadow_start, *shadow_end; in kasan_add_zero_shadow() local
481 shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_add_zero_shadow()
487 ret = kasan_populate_early_shadow(shadow_start, shadow_end); in kasan_add_zero_shadow()