Searched refs:kpte (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/arch/x86/mm/ |
D | mem_encrypt_amd.c | 253 static unsigned long pg_level_to_pfn(int level, pte_t *kpte, pgprot_t *ret_prot) in pg_level_to_pfn() argument 260 pfn = pte_pfn(*kpte); in pg_level_to_pfn() 261 prot = pte_pgprot(*kpte); in pg_level_to_pfn() 264 pfn = pmd_pfn(*(pmd_t *)kpte); in pg_level_to_pfn() 265 prot = pmd_pgprot(*(pmd_t *)kpte); in pg_level_to_pfn() 268 pfn = pud_pfn(*(pud_t *)kpte); in pg_level_to_pfn() 269 prot = pud_pgprot(*(pud_t *)kpte); in pg_level_to_pfn() 300 pte_t *kpte; in enc_dec_hypercall() local 302 kpte = lookup_address(vaddr, &level); in enc_dec_hypercall() 303 if (!kpte || pte_none(*kpte)) { in enc_dec_hypercall() [all …]
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | kfence.h | 35 pte_t *kpte = virt_to_kpte(addr); in kfence_protect_page() local 38 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page() 41 pte_update(&init_mm, addr, kpte, 0, _PAGE_PRESENT, 0); in kfence_protect_page()
|
/linux-6.6.21/arch/x86/mm/pat/ |
D | set_memory.c | 800 static void __set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte) in __set_pmd_pte() argument 803 set_pte_atomic(kpte, pte); in __set_pmd_pte() 841 static int __should_split_large_page(pte_t *kpte, unsigned long address, in __should_split_large_page() argument 854 if (tmp != kpte) in __should_split_large_page() 859 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page() 860 old_pfn = pmd_pfn(*(pmd_t *)kpte); in __should_split_large_page() 864 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page() 865 old_pfn = pud_pfn(*(pud_t *)kpte); in __should_split_large_page() 980 __set_pmd_pte(kpte, address, new_pte); in __should_split_large_page() 986 static int should_split_large_page(pte_t *kpte, unsigned long address, in should_split_large_page() argument [all …]
|