Searched refs:page_nr (Results 1 – 4 of 4) sorted by relevance
101 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument104 phys_t phys = pfn_to_phys(page_nr); in pfn_pte()110 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument112 return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); in pfn_pmd()
260 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte() argument264 pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) | in mfn_pte()
395 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument397 return __pte(((phys_addr_t)page_nr << PAGE_SHIFT) | in pfn_pte()401 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument403 return __pmd(((phys_addr_t)page_nr << PAGE_SHIFT) | in pfn_pmd()
247 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument249 pte_t pte = pfn_pte(page_nr, pgprot); in pfn_pmd()