Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/arch/x86/include/asm/
Dpgtable_types.h128 #define _PAGE_CHG_MASK (PTE_PFN_MASK | _PAGE_PCD | _PAGE_PWT | \
255 #define PTE_PFN_MASK ((pteval_t)PHYSICAL_PAGE_MASK) macro
261 #define PTE_FLAGS_MASK (~PTE_PFN_MASK)
392 return PTE_PFN_MASK; in p4d_pfn_mask()
410 return PTE_PFN_MASK; in pud_pfn_mask()
428 return PTE_PFN_MASK; in pmd_pfn_mask()
Dpgtable.h191 return (pfn & PTE_PFN_MASK) >> PAGE_SHIFT; in pte_pfn()
215 return (pgd_val(pgd) & PTE_PFN_MASK) >> PAGE_SHIFT; in pgd_pfn()
582 pfn &= PTE_PFN_MASK; in pfn_pte()
620 val = flip_protnone_guard(oldval, val, PTE_PFN_MASK); in pte_modify()
917 return (unsigned long)__va((unsigned long)pgd_val(pgd) & PTE_PFN_MASK); in pgd_page_vaddr()
/linux-6.1.9/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-6.1.9/arch/x86/mm/
Dkasan_init_64.c199 p4d = pgd_val(*pgd) & PTE_PFN_MASK; in early_p4d_offset()