/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | kasan_init.c | 17 pgd_t *pgd = early_pg_dir + pgd_index(KASAN_SHADOW_START); in kasan_early_init() 32 for (i = KASAN_SHADOW_START; i < KASAN_SHADOW_END; in kasan_early_init() 40 pgd = pgd_offset_k(KASAN_SHADOW_START); in kasan_early_init() 42 for (i = KASAN_SHADOW_START; i < KASAN_SHADOW_END; in kasan_early_init() 93 kasan_populate_early_shadow((void *)KASAN_SHADOW_START, in kasan_init()
|
D | ptdump.c | 63 {KASAN_SHADOW_START, "Kasan shadow start"},
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | kasan_init.c | 304 memsize = min(memsize, KASAN_SHADOW_START); in kasan_early_init() 308 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, P4D_SIZE)); in kasan_early_init() 318 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PUD_SIZE)); in kasan_early_init() 433 pg_dir_src = pgd_offset_raw(early_pg_dir, KASAN_SHADOW_START); in kasan_copy_shadow() 434 pg_dir_dst = pgd_offset_raw(pg_dir, KASAN_SHADOW_START); in kasan_copy_shadow() 435 p4_dir_src = p4d_offset(pg_dir_src, KASAN_SHADOW_START); in kasan_copy_shadow() 436 p4_dir_dst = p4d_offset(pg_dir_dst, KASAN_SHADOW_START); in kasan_copy_shadow() 444 pu_dir_src = pud_offset(p4_dir_src, KASAN_SHADOW_START); in kasan_copy_shadow() 445 pu_dir_dst = pud_offset(p4_dir_dst, KASAN_SHADOW_START); in kasan_copy_shadow()
|
D | vmem.c | 299 if (start < KASAN_SHADOW_END && KASAN_SHADOW_START > end) in try_free_pmd_table() 374 if (start < KASAN_SHADOW_END && KASAN_SHADOW_START > end) in try_free_pud_table() 428 if (start < KASAN_SHADOW_END && KASAN_SHADOW_START > end) in try_free_p4d_table()
|
D | dump_pagetables.c | 46 [KASAN_SHADOW_START_NR] = {KASAN_SHADOW_START, "Kasan Shadow Start"},
|
/kernel/linux/linux-5.10/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 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() 279 set_pte_at(&init_mm, KASAN_SHADOW_START + i*PAGE_SIZE, in kasan_init()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/ |
D | kasan_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()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | kasan.h | 14 #define KASAN_SHADOW_START KERN_VIRT_START /* 2^64 - 2^38 */ macro 15 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kasan.h | 15 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro 22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | kasan.h | 16 #define KASAN_SHADOW_START KASAN_SHADOW_OFFSET macro 17 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kasan.h | 28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro 33 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
|
D | fixmap.h | 32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | kasan_init.c | 173 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, in kasan_early_init() 191 pgdp = pgd_offset_k(KASAN_SHADOW_START); in kasan_copy_shadow() 193 pgdp_new = pgd_offset_pgd(pgdir, KASAN_SHADOW_START); in kasan_copy_shadow() 235 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
|
/kernel/linux/linux-5.10/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 | 141 KASAN_SHADOW_START, KASAN_SHADOW_START + KASAN_SHADOW_SIZE, in mem_init()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | kasan_def.h | 78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET) macro
|
D | memory.h | 35 #define TASK_SIZE (KASAN_SHADOW_START)
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | kasan.h | 18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | kasan.h | 34 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | kasan_init_64.c | 236 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow() 376 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init() 378 kasan_populate_early_shadow((void *)(KASAN_SHADOW_START & PGDIR_MASK), in kasan_init()
|
/kernel/linux/linux-5.10/mm/kasan/ |
D | tags.c | 115 kasan_shadow_to_mem((void *)KASAN_SHADOW_START))) { in check_memory_region()
|
D | kasan.h | 150 return (addr >= kasan_shadow_to_mem((void *)KASAN_SHADOW_START)); in addr_has_shadow()
|
D | generic.c | 179 kasan_shadow_to_mem((void *)KASAN_SHADOW_START))) { in check_memory_region_inline()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | setup.c | 594 memory_end = min(memory_end, KASAN_SHADOW_START); in setup_memory_end() 600 (unsigned long)vmemmap + vmemmap_size > KASAN_SHADOW_START) in setup_memory_end()
|