Searched refs:page_nr (Results 1 – 4 of 4) sorted by relevance
102 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument105 phys_t phys = pfn_to_phys(page_nr); in pfn_pte()111 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument113 return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); in pfn_pmd()
284 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte() argument288 pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) | in mfn_pte()
529 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument531 phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; in pfn_pte()537 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument539 phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; in pfn_pmd()545 static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot) in pfn_pud() argument547 phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; in pfn_pud()
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()