Lines Matching refs:pgprot
1449 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys() argument
1453 __pte = __pte(physpage | pgprot_val(pgprot)); in mk_pte_phys()
1573 #define pfn_pte(pfn, pgprot) mk_pte_phys(((pfn) << PAGE_SHIFT), (pgprot)) argument
1639 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd() argument
1645 if (pgprot_val(pgprot) == pgprot_val(PAGE_NONE)) in massage_pgprot_pmd()
1647 if (pgprot_val(pgprot) == pgprot_val(PAGE_RO)) in massage_pgprot_pmd()
1649 if (pgprot_val(pgprot) == pgprot_val(PAGE_RX)) in massage_pgprot_pmd()
1651 if (pgprot_val(pgprot) == pgprot_val(PAGE_RW)) in massage_pgprot_pmd()
1688 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys() argument
1690 return __pmd(physpage + massage_pgprot_pmd(pgprot)); in mk_pmd_phys()
1877 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(((pfn) << PAGE_SHIFT), (pgprot)) argument