Home
last modified time | relevance | path

Searched refs:KASAN_SHADOW_END (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/include/asm/
Dkasan_def.h76 #define KASAN_SHADOW_END ((UL(1) << (32 - KASAN_SHADOW_SCALE_SHIFT)) \ macro
78 #define KASAN_SHADOW_START ((KASAN_SHADOW_END >> 3) + KASAN_SHADOW_OFFSET)
/kernel/linux/linux-5.10/arch/arm64/mm/
Dkasan_init.c169 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
172 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init()
173 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, in kasan_early_init()
192 pgdp_end = pgd_offset_k(KASAN_SHADOW_END); in kasan_copy_shadow()
235 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
243 (void *)KASAN_SHADOW_END); in kasan_init()
Dptdump.c42 { KASAN_SHADOW_END, "Kasan shadow end" },
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/
Dkasan_init_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()
180 unsigned long end = KASAN_SHADOW_END; in kasan_early_init()
/kernel/linux/linux-5.10/arch/arm/mm/
Dkasan_init.c175 BUILD_BUG_ON((KASAN_SHADOW_END - (1UL << 29)) != KASAN_SHADOW_OFFSET); in kasan_early_init()
180 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_early_init()
227 pgd_index(KASAN_SHADOW_END)); in kasan_init()
237 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init()
Dmmu.c1271 for (addr = KASAN_SHADOW_END; addr < MODULES_VADDR; addr += PMD_SIZE) in prepare_page_table()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dkasan_init.c20 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
33 for (i = KASAN_SHADOW_START; i < KASAN_SHADOW_END; in kasan_early_init()
43 for (i = KASAN_SHADOW_START; i < KASAN_SHADOW_END; in kasan_early_init()
Dptdump.c64 {KASAN_SHADOW_END, "Kasan shadow end"},
/kernel/linux/linux-5.10/arch/x86/mm/
Dkasan_init_64.c237 unsigned long end = KASAN_SHADOW_END; in kasan_map_early_shadow()
367 ptr = (void *)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_END)); in kasan_init()
369 set_pgd(&early_top_pgt[pgd_index(KASAN_SHADOW_END)], in kasan_init()
376 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()
432 (void *)KASAN_SHADOW_END); in kasan_init()
Ddump_pagetables.c454 address_markers[KASAN_SHADOW_END_NR].start_address = KASAN_SHADOW_END; in pt_dump_init()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dmemory.h47 #define BPF_JIT_REGION_START (KASAN_SHADOW_END)
77 #define KASAN_SHADOW_END ((UL(1) << (64 - KASAN_SHADOW_SCALE_SHIFT)) \ macro
82 #define KASAN_SHADOW_END (_PAGE_END(VA_BITS_MIN)) macro
Dkasan.h33 #define _KASAN_SHADOW_START(va) (KASAN_SHADOW_END - (1UL << ((va) - KASAN_SHADOW_SCALE_SHIFT)))
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dkasan.h15 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE) macro
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkasan.h22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \ macro
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkasan.h17 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE) macro
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkasan.h33 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT)) macro
/kernel/linux/linux-5.10/arch/s390/mm/
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()
Dkasan_init.c309 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, P4D_SIZE)); in kasan_early_init()
319 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PUD_SIZE)); in kasan_early_init()
Ddump_pagetables.c47 [KASAN_SHADOW_END_NR] = {KASAN_SHADOW_END, "Kasan Shadow End"},
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsetup.c599 if (KASAN_SHADOW_END > (unsigned long)vmemmap && in setup_memory_end()
601 vmemmap = max(vmemmap, (struct page *)KASAN_SHADOW_END); in setup_memory_end()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmem.c329 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/
Dptdump.c392 address_markers[i++].start_address = KASAN_SHADOW_END; in populate_markers()