Home
last modified time | relevance | path

Searched refs:zero_pte (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/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() local
69 &kasan_early_shadow_pte[i], zero_pte, 0); in kasan_init()
83 zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init()
86 &kasan_early_shadow_pte[i], zero_pte, 0); in kasan_init()
/linux-5.19.10/mm/kasan/
Dinit.c96 pte_t zero_pte; in zero_pte_populate() local
98 zero_pte = pfn_pte(PFN_DOWN(__pa_symbol(kasan_early_shadow_page)), in zero_pte_populate()
100 zero_pte = pte_wrprotect(zero_pte); in zero_pte_populate()
103 set_pte_at(&init_mm, addr, pte, zero_pte); in zero_pte_populate()