Searched refs:shadow_start (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/mm/kasan/ |
D | shadow.c | 126 void *shadow_start, *shadow_end; in kasan_poison() local 147 shadow_start = kasan_mem_to_shadow(addr); in kasan_poison() 150 __memset(shadow_start, value, shadow_end - shadow_start); in kasan_poison() 236 unsigned long nr_shadow_pages, start_kaddr, shadow_start; in kasan_mem_notifier() local 241 shadow_start = (unsigned long)kasan_mem_to_shadow((void *)start_kaddr); in kasan_mem_notifier() 243 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier() 258 if (shadow_mapped(shadow_start)) in kasan_mem_notifier() 261 ret = __vmalloc_node_range(shadow_size, PAGE_SIZE, shadow_start, in kasan_mem_notifier() 288 vm = find_vm_area((void *)shadow_start); in kasan_mem_notifier() 290 vfree((void *)shadow_start); in kasan_mem_notifier() [all …]
|
D | init.c | 236 int __ref kasan_populate_early_shadow(const void *shadow_start, in kasan_populate_early_shadow() argument 239 unsigned long addr = (unsigned long)shadow_start; in kasan_populate_early_shadow() 491 void *shadow_start, *shadow_end; in kasan_add_zero_shadow() local 493 shadow_start = kasan_mem_to_shadow(start); in kasan_add_zero_shadow() 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()
|
/Linux-v6.6/mm/kmsan/ |
D | shadow.c | 223 unsigned long shadow_start, origin_start, shadow_end, origin_end; in kmsan_vmap_pages_range_noflush() local 230 shadow_start = vmalloc_meta((void *)start, KMSAN_META_SHADOW); in kmsan_vmap_pages_range_noflush() 232 if (!shadow_start) 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()
|
D | core.c | 265 void *shadow_start; in kmsan_internal_set_shadow_origin() local 270 shadow_start = kmsan_get_metadata(addr, KMSAN_META_SHADOW); in kmsan_internal_set_shadow_origin() 271 if (!shadow_start) { in kmsan_internal_set_shadow_origin() 283 __memset(shadow_start, b, size); in kmsan_internal_set_shadow_origin()
|
/Linux-v6.6/arch/arm/mm/ |
D | kasan_init.c | 191 void *shadow_start, *shadow_end; in create_mapping() local 193 shadow_start = kasan_mem_to_shadow(start); in create_mapping() 197 start, end, shadow_start, shadow_end); in create_mapping() 199 kasan_pgd_populate((unsigned long)shadow_start & PAGE_MASK, in create_mapping()
|
/Linux-v6.6/arch/arm64/mm/ |
D | kasan_init.c | 285 unsigned long shadow_start, shadow_end; in kasan_populate_early_vm_area_shadow() local 290 shadow_start = (unsigned long)kasan_mem_to_shadow(start); in kasan_populate_early_vm_area_shadow() 291 shadow_start = ALIGN_DOWN(shadow_start, 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()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
D | gp102.c | 127 acr->shadow_start = nvkm_memory_addr(acr->wpr); in gp102_acr_wpr_alloc() 128 acr->wpr_start = acr->shadow_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc() 210 desc->regions.region_props[0].shadow_mem_start_addr = acr->shadow_start >> 8; in gp102_acr_load_setup()
|
D | base.c | 297 acr->wpr_start, acr->wpr_end, acr->shadow_start); in nvkm_acr_oneinit()
|
/Linux-v6.6/arch/x86/mm/ |
D | kasan_init_64.c | 335 unsigned long shadow_start, shadow_end; in kasan_populate_shadow_for_vaddr() local 337 shadow_start = kasan_mem_to_shadow_align_down((unsigned long)va); in kasan_populate_shadow_for_vaddr() 339 kasan_populate_shadow(shadow_start, shadow_end, nid); in kasan_populate_shadow_for_vaddr()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | acr.h | 47 u64 shadow_start; member
|
/Linux-v6.6/include/linux/ |
D | kasan.h | 54 int kasan_populate_early_shadow(const void *shadow_start,
|