Searched refs:kpte (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/arch/x86/mm/ |
D | mem_encrypt.c | 201 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument 209 pfn = pte_pfn(*kpte); in __set_clr_pte_enc() 210 old_prot = pte_pgprot(*kpte); in __set_clr_pte_enc() 213 pfn = pmd_pfn(*(pmd_t *)kpte); in __set_clr_pte_enc() 214 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __set_clr_pte_enc() 217 pfn = pud_pfn(*(pud_t *)kpte); in __set_clr_pte_enc() 218 old_prot = pud_pgprot(*(pud_t *)kpte); in __set_clr_pte_enc() 252 set_pte_atomic(kpte, new_pte); in __set_clr_pte_enc() 262 pte_t *kpte; in early_set_memory_enc_dec() local 268 kpte = lookup_address(vaddr, &level); in early_set_memory_enc_dec() [all …]
|
/Linux-v5.10/arch/x86/mm/pat/ |
D | set_memory.c | 724 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 …]
|
/Linux-v5.10/arch/powerpc/mm/ |
D | pgtable_32.c | 141 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()
|
/Linux-v5.10/arch/arm64/kvm/ |
D | mmu.c | 925 kvm_pte_t kpte; in handle_access_fault() local 932 kpte = kvm_pgtable_stage2_mkyoung(mmu->pgt, fault_ipa); in handle_access_fault() 935 pte = __pte(kpte); in handle_access_fault() 1155 kvm_pte_t kpte; in kvm_age_hva_handler() local 1158 kpte = kvm_pgtable_stage2_mkold(kvm->arch.mmu.pgt, gpa); in kvm_age_hva_handler() 1159 pte = __pte(kpte); in kvm_age_hva_handler()
|