Lines Matching refs:pgprot
1188 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys() argument
1191 pte_val(__pte) = physpage + pgprot_val(pgprot); in mk_pte_phys()
1197 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte() argument
1200 pte_t __pte = mk_pte_phys(physpage, pgprot); in mk_pte()
1281 #define pfn_pte(pfn,pgprot) mk_pte_phys(__pa((pfn) << PAGE_SHIFT),(pgprot)) argument
1363 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd() argument
1369 if (pgprot_val(pgprot) == pgprot_val(PAGE_NONE)) in massage_pgprot_pmd()
1371 if (pgprot_val(pgprot) == pgprot_val(PAGE_RO)) in massage_pgprot_pmd()
1373 if (pgprot_val(pgprot) == pgprot_val(PAGE_RX)) in massage_pgprot_pmd()
1375 if (pgprot_val(pgprot) == pgprot_val(PAGE_RW)) in massage_pgprot_pmd()
1417 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys() argument
1420 pmd_val(__pmd) = physpage + massage_pgprot_pmd(pgprot); in mk_pmd_phys()
1609 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) argument
1610 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument