Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/riscv/mm/
Dkasan_init.c17 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()
Dptdump.c63 {KASAN_SHADOW_START, "Kasan shadow start"},
/kernel/linux/linux-5.10/arch/s390/mm/
Dkasan_init.c304 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()
Dvmem.c299 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()
Ddump_pagetables.c46 [KASAN_SHADOW_START_NR] = {KASAN_SHADOW_START, "Kasan Shadow Start"},
/kernel/linux/linux-5.10/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 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/
Dkasan_init_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()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dkasan.h14 #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/
Dkasan.h15 #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/
Dkasan.h16 #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/
Dkasan.h28 #define KASAN_SHADOW_START (KASAN_SHADOW_OFFSET + \ macro
33 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT))
Dfixmap.h32 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
/kernel/linux/linux-5.10/arch/arm64/mm/
Dkasan_init.c173 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/
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.c141 KASAN_SHADOW_START, KASAN_SHADOW_START + KASAN_SHADOW_SIZE, in mem_init()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dkasan_def.h78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET) macro
Dmemory.h35 #define TASK_SIZE (KASAN_SHADOW_START)
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dkasan.h18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkasan.h34 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/x86/mm/
Dkasan_init_64.c236 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/
Dtags.c115 kasan_shadow_to_mem((void *)KASAN_SHADOW_START))) { in check_memory_region()
Dkasan.h150 return (addr >= kasan_shadow_to_mem((void *)KASAN_SHADOW_START)); in addr_has_shadow()
Dgeneric.c179 kasan_shadow_to_mem((void *)KASAN_SHADOW_START))) { in check_memory_region_inline()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsetup.c594 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()

12