Home
last modified time | relevance | path

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

/mm/kasan/
Dcommon.c134 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()
[all …]
Dinit.c230 int __ref kasan_populate_early_shadow(const void *shadow_start, in kasan_populate_early_shadow() argument
233 unsigned long addr = (unsigned long)shadow_start; in kasan_populate_early_shadow()
494 void *shadow_start, *shadow_end; in kasan_add_zero_shadow() local
496 shadow_start = kasan_mem_to_shadow(start); in kasan_add_zero_shadow()
497 shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_add_zero_shadow()
504 ret = kasan_populate_early_shadow(shadow_start, shadow_end); in kasan_add_zero_shadow()