Lines Matching refs:shadow_start
134 void *shadow_start, *shadow_end; in kasan_poison_shadow() local
143 shadow_start = kasan_mem_to_shadow(address); in kasan_poison_shadow()
146 __memset(shadow_start, value, shadow_end - shadow_start); in kasan_poison_shadow()
598 unsigned long shadow_start; in kasan_module_alloc() local
600 shadow_start = (unsigned long)kasan_mem_to_shadow(addr); in kasan_module_alloc()
604 if (WARN_ON(!PAGE_ALIGNED(shadow_start))) in kasan_module_alloc()
607 ret = __vmalloc_node_range(shadow_size, 1, shadow_start, in kasan_module_alloc()
608 shadow_start + shadow_size, in kasan_module_alloc()
677 unsigned long nr_shadow_pages, start_kaddr, shadow_start; in kasan_mem_notifier() local
682 shadow_start = (unsigned long)kasan_mem_to_shadow((void *)start_kaddr); in kasan_mem_notifier()
684 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier()
699 if (shadow_mapped(shadow_start)) in kasan_mem_notifier()
702 ret = __vmalloc_node_range(shadow_size, PAGE_SIZE, shadow_start, in kasan_mem_notifier()
729 vm = find_vm_area((void *)shadow_start); in kasan_mem_notifier()
731 vfree((void *)shadow_start); in kasan_mem_notifier()