Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/loongarch/include/asm/
H A Dkasan.h52 #define KASAN_SHADOW_START round_up(KFENCE_AREA_END, PGDIR_SIZE) macro
54 #define KASAN_SHADOW_END (round_up(KASAN_SHADOW_START + KASAN_SHADOW_SIZE, PGDIR_SIZE) - 1)
56 #define XKPRANGE_CC_SHADOW_OFFSET (KASAN_SHADOW_START + XKPRANGE_CC_KASAN_OFFSET)
57 #define XKPRANGE_UC_SHADOW_OFFSET (KASAN_SHADOW_START + XKPRANGE_UC_KASAN_OFFSET)
58 #define XKVRANGE_VC_SHADOW_OFFSET (KASAN_SHADOW_START + XKVRANGE_VC_KASAN_OFFSET)
/openbmc/linux/arch/arm/mm/
H A Dkasan_init.c179 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_early_init()
225 BUILD_BUG_ON(pgd_index(KASAN_SHADOW_START) != in kasan_init()
228 (void*)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_START)), in kasan_init()
230 set_pgd(&tmp_pgd_table[pgd_index(KASAN_SHADOW_START)], in kasan_init()
236 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
287 set_pte_at(&init_mm, KASAN_SHADOW_START + i*PAGE_SIZE, in kasan_init()
/openbmc/linux/arch/powerpc/mm/kasan/
H A Dinit_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()
H A 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()
/openbmc/linux/arch/s390/include/asm/
H A Dkasan.h13 #define KASAN_SHADOW_START KASAN_SHADOW_OFFSET macro
14 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
/openbmc/linux/arch/um/include/asm/
H A Dkasan.h22 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET) macro
23 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
/openbmc/linux/arch/x86/include/asm/
H A Dkasan.h15 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \
/openbmc/linux/arch/powerpc/include/asm/
H A Dkasan.h28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
34 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
H A Dfixmap.h32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
/openbmc/linux/arch/arm64/mm/
H A 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()
240 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init_shadow()
/openbmc/linux/arch/xtensa/mm/
H A Dkasan_init.c20 unsigned long vaddr = KASAN_SHADOW_START; in kasan_early_init()
77 BUILD_BUG_ON(KASAN_SHADOW_OFFSET != KASAN_SHADOW_START - in kasan_init()
H A Dinit.c140 KASAN_SHADOW_START, KASAN_SHADOW_START + KASAN_SHADOW_SIZE, in mem_init()
/openbmc/linux/arch/riscv/mm/
H A Dkasan_init.c355 kasan_early_populate_pgd(early_pg_dir + pgd_index(KASAN_SHADOW_START), in kasan_early_init()
356 KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_early_init()
363 kasan_early_populate_pgd(pgd_offset_k(KASAN_SHADOW_START), in kasan_swapper_init()
364 KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_swapper_init()
483 kasan_early_clear_pgd(pgd_offset_k(KASAN_SHADOW_START), in kasan_init()
484 KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
/openbmc/linux/arch/loongarch/mm/
H A Dkasan_init.c82 unlikely(addr < KASAN_SHADOW_START)) { in kasan_shadow_to_mem()
240 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init()
288 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
291 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, true); in kasan_init()
/openbmc/linux/arch/arm/include/asm/
H A Dkasan_def.h78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET) macro
H A Dmemory.h46 #define TASK_SIZE (KASAN_SHADOW_START)
/openbmc/linux/arch/xtensa/include/asm/
H A Dkasan.h18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
/openbmc/linux/Documentation/arch/xtensa/
H A 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
/openbmc/linux/arch/riscv/include/asm/
H A Dkasan.h35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK) macro
/openbmc/linux/arch/arm64/include/asm/
H A Dkasan.h37 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
/openbmc/linux/arch/x86/mm/
H A Dkasan_init_64.c234 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow()
374 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()
376 kasan_populate_early_shadow((void *)(KASAN_SHADOW_START & PGDIR_MASK), in kasan_init()
/openbmc/linux/arch/um/kernel/
H A Dmem.c31 kasan_map_memory((void *)KASAN_SHADOW_START, KASAN_SHADOW_SIZE); in kasan_init()
/openbmc/linux/arch/powerpc/mm/
H A Dmem.c321 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()
/openbmc/linux/arch/s390/mm/
H A Ddump_pagetables.c76 [KASAN_SHADOW_START_NR] = {KASAN_SHADOW_START, "Kasan Shadow Start"},
/openbmc/linux/arch/powerpc/mm/ptdump/
H A Dptdump.c295 address_markers[i++].start_address = KASAN_SHADOW_START; in populate_markers()

12