Home
last modified time | relevance | path

Searched refs:kpte (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/x86/mm/
Dmem_encrypt.c198 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument
206 pfn = pte_pfn(*kpte); in __set_clr_pte_enc()
207 old_prot = pte_pgprot(*kpte); in __set_clr_pte_enc()
210 pfn = pmd_pfn(*(pmd_t *)kpte); in __set_clr_pte_enc()
211 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __set_clr_pte_enc()
214 pfn = pud_pfn(*(pud_t *)kpte); in __set_clr_pte_enc()
215 old_prot = pud_pgprot(*(pud_t *)kpte); in __set_clr_pte_enc()
249 set_pte_atomic(kpte, new_pte); in __set_clr_pte_enc()
259 pte_t *kpte; in early_set_memory_enc_dec() local
265 kpte = lookup_address(vaddr, &level); in early_set_memory_enc_dec()
[all …]
Dpageattr.c511 static void __set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte) in __set_pmd_pte() argument
514 set_pte_atomic(kpte, pte); in __set_pmd_pte()
553 try_preserve_large_page(pte_t *kpte, unsigned long address, in try_preserve_large_page() argument
571 if (tmp != kpte) in try_preserve_large_page()
576 old_prot = pmd_pgprot(*(pmd_t *)kpte); in try_preserve_large_page()
577 old_pfn = pmd_pfn(*(pmd_t *)kpte); in try_preserve_large_page()
580 old_prot = pud_pgprot(*(pud_t *)kpte); in try_preserve_large_page()
581 old_pfn = pud_pfn(*(pud_t *)kpte); in try_preserve_large_page()
605 old_pte = *kpte; in try_preserve_large_page()
668 __set_pmd_pte(kpte, address, new_pte); in try_preserve_large_page()
[all …]
/Linux-v4.19/arch/powerpc/mm/
Dpgtable_32.c322 pte_t *kpte; in __change_page_attr_noflush() local
331 if (!get_pteptr(&init_mm, address, &kpte, &kpmd)) in __change_page_attr_noflush()
333 __set_pte_at(&init_mm, address, kpte, mk_pte(page, prot), 0); in __change_page_attr_noflush()
334 pte_unmap(kpte); in __change_page_attr_noflush()