Home
last modified time | relevance | path

Searched refs:page_nr (Results 1 – 4 of 4) sorted by relevance

/arch/um/include/asm/
Dpgtable-3level.h102 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument
105 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() argument
113 return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); in pfn_pmd()
/arch/x86/include/asm/xen/
Dpage.h284 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte() argument
288 pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) | in mfn_pte()
/arch/x86/include/asm/
Dpgtable.h529 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument
531 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() argument
539 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() argument
547 phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; in pfn_pud()
/arch/sparc/include/asm/
Dpgtable_64.h249 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument
251 pte_t pte = pfn_pte(page_nr, pgprot); in pfn_pmd()