Searched refs:shadow_end (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/mm/kasan/ |
H A D | shadow.c | 126 void *shadow_start, *shadow_end; in kasan_poison() local 237 unsigned long shadow_end, shadow_size; in kasan_mem_notifier() local 243 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier() 262 shadow_end, GFP_KERNEL, in kasan_mem_notifier() 343 unsigned long shadow_start, shadow_end; in kasan_populate_vmalloc() local 368 shadow_end = PAGE_ALIGN(shadow_end); in kasan_populate_vmalloc() 371 shadow_end - shadow_start, in kasan_populate_vmalloc() 513 void *shadow_start, *shadow_end; in kasan_release_vmalloc() local 538 if (shadow_end > shadow_start) { in kasan_release_vmalloc() 539 size = shadow_end - shadow_start; in kasan_release_vmalloc() [all …]
|
H A D | init.c | 237 const void *shadow_end) in kasan_populate_early_shadow() argument 240 unsigned long end = (unsigned long)shadow_end; in kasan_populate_early_shadow() 491 void *shadow_start, *shadow_end; in kasan_add_zero_shadow() local 494 shadow_end = shadow_start + (size >> KASAN_SHADOW_SCALE_SHIFT); in kasan_add_zero_shadow() 500 ret = kasan_populate_early_shadow(shadow_start, shadow_end); in kasan_add_zero_shadow()
|
/openbmc/linux/mm/kmsan/ |
H A D | shadow.c | 223 unsigned long shadow_start, origin_start, shadow_end, origin_end; in kmsan_vmap_pages_range_noflush() local 231 shadow_end = vmalloc_meta((void *)end, KMSAN_META_SHADOW); in kmsan_vmap_pages_range_noflush() 252 mapped = __vmap_pages_range_noflush(shadow_start, shadow_end, prot, in kmsan_vmap_pages_range_noflush() 265 flush_tlb_kernel_range(shadow_start, shadow_end); in kmsan_vmap_pages_range_noflush() 267 flush_cache_vmap(shadow_start, shadow_end); in kmsan_vmap_pages_range_noflush()
|
/openbmc/linux/arch/arm/mm/ |
H A D | kasan_init.c | 191 void *shadow_start, *shadow_end; in create_mapping() local 194 shadow_end = kasan_mem_to_shadow(end); in create_mapping() 197 start, end, shadow_start, shadow_end); in create_mapping() 200 PAGE_ALIGN((unsigned long)shadow_end), false); in create_mapping()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | kasan_init.c | 285 unsigned long shadow_start, shadow_end; in kasan_populate_early_vm_area_shadow() local 292 shadow_end = (unsigned long)kasan_mem_to_shadow(start + size); in kasan_populate_early_vm_area_shadow() 293 shadow_end = ALIGN(shadow_end, PAGE_SIZE); in kasan_populate_early_vm_area_shadow() 294 kasan_map_populate(shadow_start, shadow_end, NUMA_NO_NODE); in kasan_populate_early_vm_area_shadow()
|
/openbmc/linux/arch/x86/mm/ |
H A D | kasan_init_64.c | 335 unsigned long shadow_start, shadow_end; in kasan_populate_shadow_for_vaddr() local 338 shadow_end = kasan_mem_to_shadow_align_up((unsigned long)va + size); in kasan_populate_shadow_for_vaddr() 339 kasan_populate_shadow(shadow_start, shadow_end, nid); in kasan_populate_shadow_for_vaddr()
|
/openbmc/linux/include/linux/ |
H A D | kasan.h | 55 const void *shadow_end);
|