Home
last modified time | relevance | path

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

12

/linux/arch/loongarch/include/asm/
H A Dkasan.h60 #define KASAN_SHADOW_START round_up(KFENCE_AREA_END, PGDIR_SIZE) macro
62 #define KASAN_SHADOW_END (round_up(KASAN_SHADOW_START + KASAN_SHADOW_SIZE, PGDIR_SIZE) - 1)
64 #define XKPRANGE_CC_SHADOW_OFFSET (KASAN_SHADOW_START + XKPRANGE_CC_KASAN_OFFSET)
65 #define XKPRANGE_UC_SHADOW_OFFSET (KASAN_SHADOW_START + XKPRANGE_UC_KASAN_OFFSET)
66 #define XKPRANGE_WC_SHADOW_OFFSET (KASAN_SHADOW_START + XKPRANGE_WC_KASAN_OFFSET)
67 #define XKVRANGE_VC_SHADOW_OFFSET (KASAN_SHADOW_START + XKVRANGE_VC_KASAN_OFFSET)
/linux/arch/arm/mm/
H A Dkasan_init.c185 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_early_init()
231 BUILD_BUG_ON(pgd_index(KASAN_SHADOW_START) != in kasan_init()
234 (void*)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_START)), in kasan_init()
236 set_pgd(&tmp_pgd_table[pgd_index(KASAN_SHADOW_START)], in kasan_init()
242 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
293 set_pte_at(&init_mm, KASAN_SHADOW_START + i*PAGE_SIZE, in kasan_init()
/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()
/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)
/linux/arch/xtensa/include/asm/
H A Dkasan.h18 #define KASAN_SHADOW_START (XCHAL_PAGE_TABLE_VADDR + XCHAL_PAGE_TABLE_SIZE) macro
22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE)
/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 + \
/linux/arch/arm64/mm/
H A Dkasan_init.c207 if (!root_level_aligned(KASAN_SHADOW_START)) { in kasan_early_init()
218 pgd_t *pgdp = pgd_offset_k(KASAN_SHADOW_START); in kasan_early_init()
223 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, in kasan_early_init()
333 if (!root_level_aligned(KASAN_SHADOW_START)) in kasan_init_shadow()
334 clone_next_level(KASAN_SHADOW_START, tmp_pg_dir, pud[0]); in kasan_init_shadow()
340 clear_shadow(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init_shadow()
/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))
/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()
/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()
491 kasan_early_clear_pgd(pgd_offset_k(KASAN_SHADOW_START), in kasan_init()
492 KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
/linux/arch/loongarch/mm/
H A Dkasan_init.c85 unlikely(addr < KASAN_SHADOW_START)) { in kasan_shadow_to_mem()
245 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init()
293 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
296 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, true); in kasan_init()
/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)
/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
/linux/arch/riscv/include/asm/
H A Dkasan.h33 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK) macro
/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()
/linux/arch/arm64/include/asm/
H A Dmemory.h105 #define KASAN_SHADOW_START _KASAN_SHADOW_START(vabits_actual) macro
106 #define PAGE_END KASAN_SHADOW_START
/linux/arch/powerpc/include/asm/nohash/32/
H A Dpgtable.h66 #define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
/linux/arch/s390/boot/
H A Dstartup.c280 BUILD_BUG_ON(__NO_KASLR_END_KERNEL > KASAN_SHADOW_START); in setup_kernel_memory_layout()
282 vmax = min(vmax, KASAN_SHADOW_START); in setup_kernel_memory_layout()
/linux/mm/kasan/
H A Dkasan.h318 return addr >= (void *)KASAN_SHADOW_START && in addr_in_shadow()
334 kasan_shadow_to_mem((void *)KASAN_SHADOW_START)); in addr_has_metadata()
/linux/Documentation/arch/s390/
H A Dmm.rst107 +KASAN_SHADOW_START+ KASAN shadow memory start
/linux/arch/um/kernel/
H A Dmem.c33 kasan_map_memory((void *)KASAN_SHADOW_START, KASAN_SHADOW_SIZE); in kasan_init()
/linux/arch/powerpc/mm/ptdump/
H A Dptdump.c296 address_markers[i++].start_address = KASAN_SHADOW_START; in populate_markers()

12