Lines Matching refs:shadow_end
118 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()
739 flush_cache_vmap(shadow_start, shadow_end); in kasan_populate_vmalloc()
897 void *shadow_start, *shadow_end; in kasan_release_vmalloc() local
919 shadow_end = kasan_mem_to_shadow((void *)region_end); in kasan_release_vmalloc()
921 if (shadow_end > shadow_start) { in kasan_release_vmalloc()
922 size = shadow_end - shadow_start; in kasan_release_vmalloc()
928 (unsigned long)shadow_end); in kasan_release_vmalloc()