Searched refs:page_nr (Results 1 – 4 of 4) sorted by relevance
101 static inline pte_t pfn_pte(pfn_t 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(pfn_t page_nr, pgprot_t pgprot) in pfn_pmd() argument112 return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); in pfn_pmd()
199 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte() argument203 pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) | in mfn_pte()
362 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument364 return __pte(((phys_addr_t)page_nr << PAGE_SHIFT) | in pfn_pte()368 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument370 return __pmd(((phys_addr_t)page_nr << PAGE_SHIFT) | in pfn_pmd()
249 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument251 pte_t pte = pfn_pte(page_nr, pgprot); in pfn_pmd()