Home
last modified time | relevance | path

Searched refs:kasan_early_shadow_page (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/arch/powerpc/mm/kasan/
Dinit_book3s_64.c57 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_init()
68 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_init()
83 zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init()
85 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_init()
93 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
Dinit_book3e_64.c87 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_early_init()
93 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_early_init()
112 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init()
121 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_init()
126 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
Dinit_32.c23 unsigned long va = (unsigned long)kasan_early_shadow_page; in kasan_populate_pte()
24 phys_addr_t pa = __pa(kasan_early_shadow_page); in kasan_populate_pte()
92 if (pte_page(*ptep) != virt_to_page(lm_alias(kasan_early_shadow_page))) in kasan_update_early_region()
104 phys_addr_t pa = __pa(kasan_early_shadow_page); in kasan_remap_early_shadow_ro()
164 clear_page(kasan_early_shadow_page); in kasan_init()
/linux-6.6.21/arch/loongarch/mm/
Dkasan_init.c34 ((pte_val(pte) & _PFN_MASK) == (unsigned long)__pa(kasan_early_shadow_page)))
41 return (void *)(kasan_early_shadow_page); in kasan_mem_to_shadow()
48 return (void *)(kasan_early_shadow_page); in kasan_mem_to_shadow()
153 __pa_symbol(kasan_early_shadow_page) in kasan_pte_populate()
288 pfn_pte(__phys_to_pfn(__pa_symbol(kasan_early_shadow_page)), PAGE_KERNEL_RO)); in kasan_init()
290 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
/linux-6.6.21/arch/xtensa/mm/
Dkasan_init.c26 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_early_init()
93 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init()
97 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
/linux-6.6.21/arch/arm/mm/
Dkasan_init.c70 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate()
289 pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_init()
296 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
/linux-6.6.21/arch/arm64/mm/
Dkasan_init.c110 __pa_symbol(kasan_early_shadow_page) in kasan_pte_populate()
270 pfn_pte(sym_to_pfn(kasan_early_shadow_page), in kasan_init_shadow()
273 memset(kasan_early_shadow_page, KASAN_SHADOW_INIT, PAGE_SIZE); in kasan_init_shadow()
/linux-6.6.21/arch/x86/mm/
Dkasan_init_64.c291 pteval_t pte_val = __pa_nodebug(kasan_early_shadow_page) | in kasan_early_init()
440 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
448 pte = __pte(__pa(kasan_early_shadow_page) | pgprot_val(prot)); in kasan_init()
/linux-6.6.21/mm/kasan/
Dinit.c29 unsigned char kasan_early_shadow_page[PAGE_SIZE] __page_aligned_bss; variable
77 return pte_page(pte) == virt_to_page(lm_alias(kasan_early_shadow_page)); in kasan_early_shadow_page_entry()
98 zero_pte = pfn_pte(PFN_DOWN(__pa_symbol(kasan_early_shadow_page)), in zero_pte_populate()
/linux-6.6.21/arch/loongarch/include/asm/
Dkasan.h61 extern unsigned char kasan_early_shadow_page[PAGE_SIZE];
/linux-6.6.21/arch/riscv/mm/
Dkasan_init.c328 pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL)); in kasan_early_init()
516 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init()
520 memset(kasan_early_shadow_page, KASAN_SHADOW_INIT, PAGE_SIZE); in kasan_init()
/linux-6.6.21/arch/s390/kernel/
Dvmlinux.lds.S224 QUAD(kasan_early_shadow_page)
/linux-6.6.21/arch/s390/boot/
Dvmem.c39 #define kasan_early_shadow_page vmlinux.kasan_early_shadow_page_off macro
65 pte_z = __pte(__pa(kasan_early_shadow_page) | pgprot_val(PAGE_KERNEL_RO)); in kasan_populate_shadow()
/linux-6.6.21/include/linux/
Dkasan.h48 extern unsigned char kasan_early_shadow_page[PAGE_SIZE];