Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/mm/kasan/
Dinit_32.c107 kasan_update_early_region(KASAN_SHADOW_START, KASAN_SHADOW_END, in kasan_remap_early_shadow_ro()
130 ret = kasan_init_shadow_page_tables(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_mmu_init()
155 ret = kasan_init_shadow_page_tables(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
178 unsigned long addr = KASAN_SHADOW_START; in kasan_early_init()
183 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
Dinit_book3e_64.c86 pgd_t *pgd = pgd_offset_k(KASAN_SHADOW_START); in kasan_early_init()
89 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init()
104 for (addr = KASAN_SHADOW_START; addr != KASAN_SHADOW_END; addr += PGDIR_SIZE) in kasan_early_init()
124 flush_tlb_kernel_range(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
/linux-6.1.9/arch/x86/include/asm/
Dkasan.h15 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \
/linux-6.1.9/arch/um/include/asm/
Dkasan.h22 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET) macro
23 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
/linux-6.1.9/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)
/linux-6.1.9/arch/powerpc/include/asm/
Dkasan.h28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
34 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
Dfixmap.h32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
/linux-6.1.9/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 && KASAN_SHADOW_START > end) in try_free_pmd_table()
375 if (start < KASAN_SHADOW_END && KASAN_SHADOW_START > end) in try_free_pud_table()
429 if (start < KASAN_SHADOW_END && KASAN_SHADOW_START > end) in try_free_p4d_table()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/mm/kasan/
Dsw_tags.c110 kasan_shadow_to_mem((void *)KASAN_SHADOW_START))) { in kasan_check_range()
130 if (untagged_addr < kasan_shadow_to_mem((void *)KASAN_SHADOW_START)) in kasan_byte_accessible()
/linux-6.1.9/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)
/linux-6.1.9/arch/xtensa/include/asm/
Dkasan.h18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
/linux-6.1.9/arch/riscv/include/asm/
Dkasan.h35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK) macro
/linux-6.1.9/Documentation/xtensa/
Dmmu.rst80 | KASAN shadow map | KASAN_SHADOW_START 0x80400000 KASAN_SHADOW_SIZE
123 | KASAN shadow map | KASAN_SHADOW_START 0x80400000 KASAN_SHADOW_SIZE
167 | KASAN shadow map | KASAN_SHADOW_START 0x80400000 KASAN_SHADOW_SIZE
/linux-6.1.9/arch/riscv/mm/
Dkasan_init.c298 kasan_populate_pgd(early_pg_dir + pgd_index(KASAN_SHADOW_START), in kasan_early_init()
299 KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_early_init()
306 kasan_populate_pgd(pgd_offset_k(KASAN_SHADOW_START), in kasan_swapper_init()
307 KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_swapper_init()
/linux-6.1.9/arch/arm64/include/asm/
Dkasan.h37 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
/linux-6.1.9/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()
/linux-6.1.9/arch/um/kernel/
Dmem.c31 kasan_map_memory((void *)KASAN_SHADOW_START, KASAN_SHADOW_SIZE); in kasan_init()
/linux-6.1.9/arch/s390/boot/
Dstartup.c184 vmax = min(vmax, KASAN_SHADOW_START); in setup_kernel_memory_layout()
/linux-6.1.9/arch/powerpc/mm/
Dmem.c324 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()

12