Home
last modified time | relevance | path

Searched refs:PTE_PFN_MASK (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/arch/x86/kernel/
Dhead32.c95 while ((pte.pte & PTE_PFN_MASK) < limit) { in mk_early_pgtbl_32()
114 *ptr = (pte.pte & PTE_PFN_MASK) >> PAGE_SHIFT; in mk_early_pgtbl_32()
Dhead64.c355 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
370 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
385 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
/linux-5.19.10/arch/x86/include/asm/
Dpgtable_types.h128 #define _PAGE_CHG_MASK (PTE_PFN_MASK | _PAGE_PCD | _PAGE_PWT | \
274 #define PTE_PFN_MASK ((pteval_t)PHYSICAL_PAGE_MASK) macro
280 #define PTE_FLAGS_MASK (~PTE_PFN_MASK)
411 return PTE_PFN_MASK; in p4d_pfn_mask()
429 return PTE_PFN_MASK; in pud_pfn_mask()
447 return PTE_PFN_MASK; in pmd_pfn_mask()
Dpgtable.h190 return (pfn & PTE_PFN_MASK) >> PAGE_SHIFT; in pte_pfn()
214 return (pgd_val(pgd) & PTE_PFN_MASK) >> PAGE_SHIFT; in pgd_pfn()
581 pfn &= PTE_PFN_MASK; in pfn_pte()
619 val = flip_protnone_guard(oldval, val, PTE_PFN_MASK); in pte_modify()
915 return (unsigned long)__va((unsigned long)pgd_val(pgd) & PTE_PFN_MASK); in pgd_page_vaddr()
/linux-5.19.10/arch/x86/xen/
Dmmu_pv.c335 unsigned long pfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; in pte_pfn_to_mfn()
1459 pfn = (pte & PTE_PFN_MASK) >> PAGE_SHIFT; in xen_make_pte_init()
1851 pa = pgd_val(pgd) & PTE_PFN_MASK; in xen_early_virt_to_phys()
1856 pa = pud_val(pud) & PTE_PFN_MASK; in xen_early_virt_to_phys()
1864 pa = pmd_val(pmd) & PTE_PFN_MASK; in xen_early_virt_to_phys()
/linux-5.19.10/arch/x86/mm/
Dkasan_init_64.c199 p4d = pgd_val(*pgd) & PTE_PFN_MASK; in early_p4d_offset()