Searched refs:_PAGE_PFN_SHIFT (Results 1 – 5 of 5) sorted by relevance
23 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()31 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()39 set_pud(pud, __pud((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pud_populate()47 set_p4d(p4d, __p4d((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in p4d_populate()58 __p4d((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in p4d_populate_safe()67 set_pgd(pgd, __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate()78 __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate_safe()
102 #define napot_cont_order(val) (__builtin_ctzl((val.pte >> _PAGE_PFN_SHIFT) << 1))211 return __pud((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_pud()255 return __pmd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pmd()314 return __p4d((pfn << _PAGE_PFN_SHIFT) | pgprot_val(prot)); in pfn_p4d()
121 #define __page_val_to_pfn(_val) (((_val) & _PAGE_PFN_MASK) >> _PAGE_PFN_SHIFT)265 return __pgd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pgd()307 int pos = order - 1 + _PAGE_PFN_SHIFT; in pte_mknapot()309 unsigned long napot_mask = ~GENMASK(pos, _PAGE_PFN_SHIFT); in pte_mknapot()345 return __pte((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pte()539 pte_val(pteval) += 1 << _PAGE_PFN_SHIFT; in set_ptes()
33 #define _PAGE_PFN_SHIFT 10 macro
22 #define _PAGE_PFN_SHIFT 12 macro53 #define PFN_PTE_SHIFT (PAGE_SHIFT - 12 + _PAGE_PFN_SHIFT)