Searched refs:shadow_end (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/mm/kasan/ |
D | shadow.c | 74 void *shadow_start, *shadow_end; in kasan_poison() local 96 shadow_end = kasan_mem_to_shadow(addr + size); in kasan_poison() 98 __memset(shadow_start, value, shadow_end - shadow_start); in kasan_poison() 185 unsigned long shadow_end, shadow_size; in kasan_mem_notifier() local 191 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier() 210 shadow_end, GFP_KERNEL, in kasan_mem_notifier() 291 unsigned long shadow_start, shadow_end; in kasan_populate_vmalloc() local 298 shadow_end = (unsigned long)kasan_mem_to_shadow((void *)addr + size); in kasan_populate_vmalloc() 308 __memset((void *)shadow_start, KASAN_VMALLOC_INVALID, shadow_end - shadow_start); in kasan_populate_vmalloc() 313 shadow_end = PAGE_ALIGN(shadow_end); in kasan_populate_vmalloc() [all …]
|
D | init.c | 227 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()
|
/Linux-v6.1/mm/kmsan/ |
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() 250 mapped = __vmap_pages_range_noflush(shadow_start, shadow_end, prot, in kmsan_vmap_pages_range_noflush() 257 flush_tlb_kernel_range(shadow_start, shadow_end); in kmsan_vmap_pages_range_noflush() 259 flush_cache_vmap(shadow_start, shadow_end); in kmsan_vmap_pages_range_noflush()
|
/Linux-v6.1/arch/arm/mm/ |
D | kasan_init.c | 192 void *shadow_start, *shadow_end; in create_mapping() local 195 shadow_end = kasan_mem_to_shadow(end); in create_mapping() 198 start, end, shadow_start, shadow_end); in create_mapping() 201 PAGE_ALIGN((unsigned long)shadow_end), false); in create_mapping()
|
/Linux-v6.1/arch/arm64/mm/ |
D | kasan_init.c | 294 unsigned long shadow_start, shadow_end; in kasan_populate_early_vm_area_shadow() local 301 shadow_end = (unsigned long)kasan_mem_to_shadow(start + size); in kasan_populate_early_vm_area_shadow() 302 shadow_end = ALIGN(shadow_end, PAGE_SIZE); in kasan_populate_early_vm_area_shadow() 303 kasan_map_populate(shadow_start, shadow_end, NUMA_NO_NODE); in kasan_populate_early_vm_area_shadow()
|
/Linux-v6.1/include/linux/ |
D | kasan.h | 55 const void *shadow_end);
|