/openbmc/linux/arch/loongarch/include/asm/ |
H A D | kasan.h | 52 #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 D | kasan_init.c | 179 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 D | init_32.c | 108 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 D | init_book3e_64.c | 86 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 D | kasan.h | 13 #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 D | kasan.h | 22 #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 D | kasan.h | 15 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro 22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kasan.h | 28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro 34 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
|
H A D | fixmap.h | 32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
|
/openbmc/linux/arch/arm64/mm/ |
H A D | kasan_init.c | 176 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 D | kasan_init.c | 20 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 D | init.c | 140 KASAN_SHADOW_START, KASAN_SHADOW_START + KASAN_SHADOW_SIZE, in mem_init()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | kasan_init.c | 355 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 D | kasan_init.c | 82 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 D | kasan_def.h | 78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET) macro
|
H A D | memory.h | 46 #define TASK_SIZE (KASAN_SHADOW_START)
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | kasan.h | 18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
|
/openbmc/linux/Documentation/arch/xtensa/ |
H A D | mmu.rst | 80 | 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 D | kasan.h | 35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK) macro
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kasan.h | 37 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
|
/openbmc/linux/arch/x86/mm/ |
H A D | kasan_init_64.c | 234 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 D | mem.c | 31 kasan_map_memory((void *)KASAN_SHADOW_START, KASAN_SHADOW_SIZE); in kasan_init()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | mem.c | 321 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()
|
/openbmc/linux/arch/s390/mm/ |
H A D | dump_pagetables.c | 76 [KASAN_SHADOW_START_NR] = {KASAN_SHADOW_START, "Kasan Shadow Start"},
|
/openbmc/linux/arch/powerpc/mm/ptdump/ |
H A D | ptdump.c | 295 address_markers[i++].start_address = KASAN_SHADOW_START; in populate_markers()
|