Home
last modified time | relevance | path

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

/arch/x86/mm/
Dmem_encrypt.c202 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument
210 pfn = pte_pfn(*kpte); in __set_clr_pte_enc()
211 old_prot = pte_pgprot(*kpte); in __set_clr_pte_enc()
214 pfn = pmd_pfn(*(pmd_t *)kpte); in __set_clr_pte_enc()
215 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __set_clr_pte_enc()
218 pfn = pud_pfn(*(pud_t *)kpte); in __set_clr_pte_enc()
219 old_prot = pud_pgprot(*(pud_t *)kpte); in __set_clr_pte_enc()
253 set_pte_atomic(kpte, new_pte); in __set_clr_pte_enc()
263 pte_t *kpte; in early_set_memory_enc_dec() local
269 kpte = lookup_address(vaddr, &level); in early_set_memory_enc_dec()
[all …]
/arch/powerpc/mm/
Dpgtable_32.c141 pte_t *kpte; in __change_page_attr_noflush() local
149 kpte = virt_to_kpte(address); in __change_page_attr_noflush()
150 if (!kpte) in __change_page_attr_noflush()
152 __set_pte_at(&init_mm, address, kpte, mk_pte(page, prot), 0); in __change_page_attr_noflush()
/arch/x86/mm/pat/
Dset_memory.c724 static void __set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte) in __set_pmd_pte() argument
727 set_pte_atomic(kpte, pte); in __set_pmd_pte()
765 static int __should_split_large_page(pte_t *kpte, unsigned long address, in __should_split_large_page() argument
778 if (tmp != kpte) in __should_split_large_page()
783 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page()
784 old_pfn = pmd_pfn(*(pmd_t *)kpte); in __should_split_large_page()
788 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page()
789 old_pfn = pud_pfn(*(pud_t *)kpte); in __should_split_large_page()
902 __set_pmd_pte(kpte, address, new_pte); in __should_split_large_page()
908 static int should_split_large_page(pte_t *kpte, unsigned long address, in should_split_large_page() argument
[all …]
/arch/arm64/kvm/
Dmmu.c1011 kvm_pte_t kpte; in handle_access_fault() local
1018 kpte = kvm_pgtable_stage2_mkyoung(mmu->pgt, fault_ipa); in handle_access_fault()
1021 pte = __pte(kpte); in handle_access_fault()
1241 kvm_pte_t kpte; in kvm_age_hva_handler() local
1244 kpte = kvm_pgtable_stage2_mkold(kvm->arch.mmu.pgt, gpa); in kvm_age_hva_handler()
1245 pte = __pte(kpte); in kvm_age_hva_handler()