Home
last modified time | relevance | path

Searched refs:KASAN_SHADOW_START (Results 1 – 25 of 27) sorted by relevance

12

/arch/riscv/include/asm/
Dkasan.h31 #define KASAN_SHADOW_START KERN_VIRT_START macro
32 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
/arch/x86/include/asm/
Dkasan.h15 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \
/arch/arm/mm/
Dkasan_init.c180 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_early_init()
226 BUILD_BUG_ON(pgd_index(KASAN_SHADOW_START) != in kasan_init()
229 (void*)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_START)), in kasan_init()
231 set_pgd(&tmp_pgd_table[pgd_index(KASAN_SHADOW_START)], in kasan_init()
237 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
288 set_pte_at(&init_mm, KASAN_SHADOW_START + i*PAGE_SIZE, in kasan_init()
/arch/powerpc/mm/kasan/
Dkasan_init_32.c108 kasan_update_early_region(KASAN_SHADOW_START, KASAN_SHADOW_END, in kasan_remap_early_shadow_ro()
131 ret = kasan_init_shadow_page_tables(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_mmu_init()
156 ret = kasan_init_shadow_page_tables(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
179 unsigned long addr = KASAN_SHADOW_START; in kasan_early_init()
184 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
/arch/s390/include/asm/
Dkasan.h13 #define KASAN_SHADOW_START KASAN_SHADOW_OFFSET macro
14 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
/arch/powerpc/include/asm/
Dkasan.h28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
33 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
Dfixmap.h32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
/arch/riscv/mm/
Dkasan_init.c18 pgd_t *pgd = early_pg_dir + pgd_index(KASAN_SHADOW_START); in kasan_early_init()
33 for (i = KASAN_SHADOW_START; i < KASAN_SHADOW_END; in kasan_early_init()
41 pgd = pgd_offset_k(KASAN_SHADOW_START); in kasan_early_init()
43 for (i = KASAN_SHADOW_START; i < KASAN_SHADOW_END; in kasan_early_init()
Dptdump.c366 address_markers[KASAN_SHADOW_START_NR].start_address = KASAN_SHADOW_START; in ptdump_init()
/arch/s390/mm/
Dkasan_init.c285 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, P4D_SIZE)); in kasan_early_init()
392 pg_dir_src = pgd_offset_raw(early_pg_dir, KASAN_SHADOW_START); in kasan_copy_shadow_mapping()
393 pg_dir_dst = pgd_offset_raw(init_mm.pgd, KASAN_SHADOW_START); in kasan_copy_shadow_mapping()
394 p4_dir_src = p4d_offset(pg_dir_src, KASAN_SHADOW_START); in kasan_copy_shadow_mapping()
395 p4_dir_dst = p4d_offset(pg_dir_dst, KASAN_SHADOW_START); in kasan_copy_shadow_mapping()
Dvmem.c300 if (start < KASAN_SHADOW_END && end > KASAN_SHADOW_START) in try_free_pmd_table()
375 if (start < KASAN_SHADOW_END && end > KASAN_SHADOW_START) in try_free_pud_table()
429 if (start < KASAN_SHADOW_END && end > KASAN_SHADOW_START) in try_free_p4d_table()
Ddump_pagetables.c55 [KASAN_SHADOW_START_NR] = {KASAN_SHADOW_START, "Kasan Shadow Start"},
/arch/xtensa/mm/
Dkasan_init.c21 unsigned long vaddr = KASAN_SHADOW_START; in kasan_early_init()
79 BUILD_BUG_ON(KASAN_SHADOW_OFFSET != KASAN_SHADOW_START - in kasan_init()
Dinit.c140 KASAN_SHADOW_START, KASAN_SHADOW_START + KASAN_SHADOW_SIZE, in mem_init()
/arch/arm/include/asm/
Dkasan_def.h78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET) macro
Dmemory.h41 #define TASK_SIZE (KASAN_SHADOW_START)
/arch/xtensa/include/asm/
Dkasan.h18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
/arch/arm64/mm/
Dkasan_init.c176 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, in kasan_early_init()
194 pgdp = pgd_offset_k(KASAN_SHADOW_START); in kasan_copy_shadow()
196 pgdp_new = pgd_offset_pgd(pgdir, KASAN_SHADOW_START); in kasan_copy_shadow()
241 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init_shadow()
Dptdump.c380 address_markers[KASAN_START_NR].start_address = KASAN_SHADOW_START; in ptdump_init()
/arch/arm64/include/asm/
Dkasan.h37 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
/arch/x86/mm/
Dkasan_init_64.c234 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow()
351 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()
353 kasan_populate_early_shadow((void *)(KASAN_SHADOW_START & PGDIR_MASK), in kasan_init()
Ddump_pagetables.c453 address_markers[KASAN_SHADOW_START_NR].start_address = KASAN_SHADOW_START; in pt_dump_init()
/arch/s390/boot/
Dstartup.c180 MODULES_END = min(MODULES_END, KASAN_SHADOW_START); in setup_kernel_memory_layout()
/arch/powerpc/mm/
Dmem.c323 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()
/arch/powerpc/mm/ptdump/
Dptdump.c293 address_markers[i++].start_address = KASAN_SHADOW_START; in populate_markers()

12