Searched refs:kpte (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/arch/x86/mm/ |
D | mem_encrypt.c | 199 static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) in __set_clr_pte_enc() argument 207 pfn = pte_pfn(*kpte); in __set_clr_pte_enc() 208 old_prot = pte_pgprot(*kpte); in __set_clr_pte_enc() 211 pfn = pmd_pfn(*(pmd_t *)kpte); in __set_clr_pte_enc() 212 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __set_clr_pte_enc() 215 pfn = pud_pfn(*(pud_t *)kpte); in __set_clr_pte_enc() 216 old_prot = pud_pgprot(*(pud_t *)kpte); in __set_clr_pte_enc() 250 set_pte_atomic(kpte, new_pte); in __set_clr_pte_enc() 260 pte_t *kpte; in early_set_memory_enc_dec() local 266 kpte = lookup_address(vaddr, &level); in early_set_memory_enc_dec() [all …]
|
D | pageattr.c | 704 static void __set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte) in __set_pmd_pte() argument 707 set_pte_atomic(kpte, pte); in __set_pmd_pte() 745 static int __should_split_large_page(pte_t *kpte, unsigned long address, in __should_split_large_page() argument 758 if (tmp != kpte) in __should_split_large_page() 763 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page() 764 old_pfn = pmd_pfn(*(pmd_t *)kpte); in __should_split_large_page() 768 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page() 769 old_pfn = pud_pfn(*(pud_t *)kpte); in __should_split_large_page() 882 __set_pmd_pte(kpte, address, new_pte); in __should_split_large_page() 888 static int should_split_large_page(pte_t *kpte, unsigned long address, in should_split_large_page() argument [all …]
|
/Linux-v5.4/arch/powerpc/mm/ |
D | pgtable_32.c | 163 pte_t *kpte; in __change_page_attr_noflush() local 172 if (!get_pteptr(&init_mm, address, &kpte, &kpmd)) in __change_page_attr_noflush() 174 __set_pte_at(&init_mm, address, kpte, mk_pte(page, prot), 0); in __change_page_attr_noflush() 175 pte_unmap(kpte); in __change_page_attr_noflush()
|