Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/include/asm/
Dkasan.h34 #define KASAN_SHADOW_END (-(-KASAN_SHADOW_START >> KASAN_SHADOW_SCALE_SHIFT)) macro
41 #define KASAN_SHADOW_END 0xc00fc00000000000UL macro
51 #define KASAN_SHADOW_END 0xc000200000000000UL macro
/linux-6.1.9/arch/arm64/mm/
Dkasan_init.c172 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
175 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init()
176 kasan_pgd_populate(KASAN_SHADOW_START, KASAN_SHADOW_END, NUMA_NO_NODE, in kasan_early_init()
195 pgdp_end = pgd_offset_k(KASAN_SHADOW_END); in kasan_copy_shadow()
241 clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); in kasan_init_shadow()
252 (void *)KASAN_SHADOW_END); in kasan_init_shadow()
255 (void *)KASAN_SHADOW_END); in kasan_init_shadow()
Dptdump.c42 { KASAN_SHADOW_END, "Kasan shadow end" },
/linux-6.1.9/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)
/linux-6.1.9/arch/riscv/include/asm/
Dkasan.h35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK)
36 #define KASAN_SHADOW_END MODULES_LOWEST_VADDR macro
/linux-6.1.9/arch/powerpc/mm/kasan/
Dinit_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()
179 unsigned long end = KASAN_SHADOW_END; in kasan_early_init()
Dinit_book3e_64.c90 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, 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/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()
Ddump.c24 { KASAN_SHADOW_END, "Kasan shadow end"},
Dmmu.c1311 for (addr = KASAN_SHADOW_END; addr < MODULES_VADDR; addr += PMD_SIZE) in prepare_page_table()
/linux-6.1.9/arch/x86/mm/
Dkasan_init_64.c235 unsigned long end = KASAN_SHADOW_END; in kasan_map_early_shadow()
342 ptr = (void *)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_END)); in kasan_init()
344 set_pgd(&early_top_pgt[pgd_index(KASAN_SHADOW_END)], in kasan_init()
351 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()
407 (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()
/linux-6.1.9/arch/x86/include/asm/
Dkasan.h22 #define KASAN_SHADOW_END (KASAN_SHADOW_START + \ macro
/linux-6.1.9/arch/um/include/asm/
Dkasan.h23 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE) macro
/linux-6.1.9/arch/arm64/include/asm/
Dkasan.h36 #define _KASAN_SHADOW_START(va) (KASAN_SHADOW_END - (1UL << ((va) - KASAN_SHADOW_SCALE_SHIFT)))
Dmemory.h74 #define KASAN_SHADOW_END ((UL(1) << (64 - KASAN_SHADOW_SCALE_SHIFT)) \ macro
76 #define PAGE_END (KASAN_SHADOW_END - (1UL << (vabits_actual - KASAN_SHADOW_SCALE_SHIFT)))
/linux-6.1.9/arch/s390/include/asm/
Dkasan.h14 #define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE) macro
/linux-6.1.9/arch/riscv/mm/
Dkasan_init.c270 KASAN_SHADOW_END - (1UL << (64 - KASAN_SHADOW_SCALE_SHIFT))); in kasan_early_init()
299 KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_early_init()
307 KASAN_SHADOW_START, KASAN_SHADOW_END, true); in kasan_swapper_init()
Dptdump.c367 address_markers[KASAN_SHADOW_END_NR].start_address = KASAN_SHADOW_END; in ptdump_init()
Dinit.c146 print_ml("kasan", KASAN_SHADOW_START, KASAN_SHADOW_END); in print_vm_layout()
/linux-6.1.9/arch/s390/mm/
Dvmem.c300 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()
Ddump_pagetables.c67 [KASAN_SHADOW_END_NR] = {KASAN_SHADOW_END, "Kasan Shadow End"},
Dkasan_init.c286 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, P4D_SIZE)); in kasan_early_init()
/linux-6.1.9/arch/powerpc/mm/
Dmem.c324 KASAN_SHADOW_START, KASAN_SHADOW_END); in mem_init()
/linux-6.1.9/arch/powerpc/mm/ptdump/
Dptdump.c296 address_markers[i++].start_address = KASAN_SHADOW_END; in populate_markers()