Home
last modified time | relevance | path

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

/linux-5.19.10/mm/kasan/
Dshadow.c74 void *shadow_start, *shadow_end; in kasan_poison() local
95 shadow_start = kasan_mem_to_shadow(addr); in kasan_poison()
98 __memset(shadow_start, value, shadow_end - shadow_start); in kasan_poison()
184 unsigned long nr_shadow_pages, start_kaddr, shadow_start; in kasan_mem_notifier() local
189 shadow_start = (unsigned long)kasan_mem_to_shadow((void *)start_kaddr); in kasan_mem_notifier()
191 shadow_end = shadow_start + shadow_size; in kasan_mem_notifier()
206 if (shadow_mapped(shadow_start)) in kasan_mem_notifier()
209 ret = __vmalloc_node_range(shadow_size, PAGE_SIZE, shadow_start, in kasan_mem_notifier()
236 vm = find_vm_area((void *)shadow_start); in kasan_mem_notifier()
238 vfree((void *)shadow_start); in kasan_mem_notifier()
[all …]
Dinit.c226 int __ref kasan_populate_early_shadow(const void *shadow_start, in kasan_populate_early_shadow() argument
229 unsigned long addr = (unsigned long)shadow_start; in kasan_populate_early_shadow()
478 void *shadow_start, *shadow_end; in kasan_add_zero_shadow() local
480 shadow_start = kasan_mem_to_shadow(start); in kasan_add_zero_shadow()
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-5.19.10/arch/arm/mm/
Dkasan_init.c192 void *shadow_start, *shadow_end; in create_mapping() local
194 shadow_start = kasan_mem_to_shadow(start); in create_mapping()
198 start, end, shadow_start, shadow_end); in create_mapping()
200 kasan_pgd_populate((unsigned long)shadow_start & PAGE_MASK, in create_mapping()
/linux-5.19.10/arch/arm64/mm/
Dkasan_init.c294 unsigned long shadow_start, shadow_end; in kasan_populate_early_vm_area_shadow() local
299 shadow_start = (unsigned long)kasan_mem_to_shadow(start); in kasan_populate_early_vm_area_shadow()
300 shadow_start = ALIGN_DOWN(shadow_start, 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-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dgp102.c125 acr->shadow_start = nvkm_memory_addr(acr->wpr); in gp102_acr_wpr_alloc()
126 acr->wpr_start = acr->shadow_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
208 acr->shadow_start >> 8; in gp102_acr_load_load()
Dbase.c296 acr->wpr_start, acr->wpr_end, acr->shadow_start); in nvkm_acr_oneinit()
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dacr.h47 u64 shadow_start; member
/linux-5.19.10/include/linux/
Dkasan.h54 int kasan_populate_early_shadow(const void *shadow_start,