Lines Matching refs:prot
1442 struct page *page, pgprot_t prot) in insert_page() argument
1465 set_pte_at(mm, addr, pte, mk_pte(page, prot)); in insert_page()
1601 pfn_t pfn, pgprot_t prot, bool mkwrite) in insert_pfn() argument
1636 entry = pte_mkdevmap(pfn_t_pte(pfn, prot)); in insert_pfn()
1638 entry = pte_mkspecial(pfn_t_pte(pfn, prot)); in insert_pfn()
1812 unsigned long pfn, pgprot_t prot) in remap_pte_range() argument
1824 if (!pfn_modify_allowed(pfn, prot)) { in remap_pte_range()
1828 set_pte_at(mm, addr, pte, pte_mkspecial(pfn_pte(pfn, prot))); in remap_pte_range()
1838 unsigned long pfn, pgprot_t prot) in remap_pmd_range() argument
1852 pfn + (addr >> PAGE_SHIFT), prot); in remap_pmd_range()
1861 unsigned long pfn, pgprot_t prot) in remap_pud_range() argument
1874 pfn + (addr >> PAGE_SHIFT), prot); in remap_pud_range()
1883 unsigned long pfn, pgprot_t prot) in remap_p4d_range() argument
1896 pfn + (addr >> PAGE_SHIFT), prot); in remap_p4d_range()
1916 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range() argument
1949 err = track_pfn_remap(vma, &prot, remap_pfn, addr, PAGE_ALIGN(size)); in remap_pfn_range()
1962 pfn + (addr >> PAGE_SHIFT), prot); in remap_pfn_range()
4276 unsigned long *prot, resource_size_t *phys) in follow_phys() argument
4292 *prot = pgprot_val(pte_pgprot(pte)); in follow_phys()
4306 unsigned long prot = 0; in generic_access_phys() local
4310 if (follow_phys(vma, addr, write, &prot, &phys_addr)) in generic_access_phys()
4313 maddr = ioremap_prot(phys_addr, PAGE_ALIGN(len + offset), prot); in generic_access_phys()