/linux-6.1.9/arch/arm/mm/ |
D | kasan_init.c | 180 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/ |
D | init_32.c | 107 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()
|
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()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | kasan.h | 15 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro 22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \
|
/linux-6.1.9/arch/um/include/asm/ |
D | kasan.h | 22 #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/ |
D | kasan.h | 13 #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/ |
D | kasan.h | 28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro 34 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
|
D | fixmap.h | 32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
|
/linux-6.1.9/arch/s390/mm/ |
D | kasan_init.c | 285 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()
|
D | vmem.c | 300 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/ |
D | kasan_init.c | 21 unsigned long vaddr = KASAN_SHADOW_START; in kasan_early_init() 79 BUILD_BUG_ON(KASAN_SHADOW_OFFSET != KASAN_SHADOW_START - in kasan_init()
|
D | init.c | 140 KASAN_SHADOW_START, KASAN_SHADOW_START + KASAN_SHADOW_SIZE, in mem_init()
|
/linux-6.1.9/arch/arm64/mm/ |
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() 241 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init_shadow()
|
/linux-6.1.9/mm/kasan/ |
D | sw_tags.c | 110 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/ |
D | kasan_def.h | 78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET) macro
|
D | memory.h | 41 #define TASK_SIZE (KASAN_SHADOW_START)
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | kasan.h | 18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | kasan.h | 35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK) macro
|
/linux-6.1.9/Documentation/xtensa/ |
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
|
/linux-6.1.9/arch/riscv/mm/ |
D | kasan_init.c | 298 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/ |
D | kasan.h | 37 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
|
/linux-6.1.9/arch/x86/mm/ |
D | kasan_init_64.c | 234 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/ |
D | mem.c | 31 kasan_map_memory((void *)KASAN_SHADOW_START, KASAN_SHADOW_SIZE); in kasan_init()
|
/linux-6.1.9/arch/s390/boot/ |
D | startup.c | 184 vmax = min(vmax, KASAN_SHADOW_START); in setup_kernel_memory_layout()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | mem.c | 324 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()
|