Searched refs:_PFN_SHIFT (Results 1 – 9 of 9) sorted by relevance
158 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<…166 pte.pte_high = (pfn << _PFN_SHIFT) | in pfn_pte()193 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))194 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))195 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
185 # define _PFN_SHIFT PAGE_SHIFT macro188 # define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) macro198 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1))
311 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))312 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot))313 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot))
688 return pmd_val(pmd) >> _PFN_SHIFT;
123 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
38 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
94 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
463 BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)); in mem_init()
257 pr_define("_PFN_SHIFT %d\n", _PFN_SHIFT); in output_pgtable_bits_defines()