Searched refs:_PAGE_PFN_SHIFT (Results 1 – 5 of 5) sorted by relevance
32 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()40 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()48 set_pud(pud, __pud((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pud_populate()56 set_p4d(p4d, __p4d((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in p4d_populate()67 __p4d((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in p4d_populate_safe()76 set_pgd(pgd, __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate()87 __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate_safe()
100 #define napot_cont_order(val) (__builtin_ctzl((val.pte >> _PAGE_PFN_SHIFT) << 1))213 return __pud((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_pud()257 return __pmd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pmd()316 return __p4d((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_p4d()
117 #define __page_val_to_pfn(_val) (((_val) & _PAGE_PFN_MASK) >> _PAGE_PFN_SHIFT)258 return __pgd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pgd()301 int pos = order - 1 + _PAGE_PFN_SHIFT; in pte_mknapot()303 unsigned long napot_mask = ~GENMASK(pos, _PAGE_PFN_SHIFT); in pte_mknapot()339 return __pte((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pte()560 #define PFN_PTE_SHIFT _PAGE_PFN_SHIFT572 pte_val(pteval) += 1 << _PAGE_PFN_SHIFT; in set_ptes()
34 #define _PAGE_PFN_SHIFT 10 macro
22 #define _PAGE_PFN_SHIFT 12 macro55 #define PFN_PTE_SHIFT (PAGE_SHIFT - 12 + _PAGE_PFN_SHIFT)