Home
last modified time | relevance | path

Searched refs:pgprot (Results 1 – 3 of 3) sorted by relevance

/mm/
Dmemremap.c167 pgprot_t pgprot = PAGE_KERNEL; in memremap_pages() local
255 error = track_pfn_remap(NULL, &pgprot, PHYS_PFN(res->start), 0, in memremap_pages()
Dmemory.c1672 unsigned long pfn, pgprot_t pgprot) in vmf_insert_pfn_prot() argument
1689 if (!pfn_modify_allowed(pfn, pgprot)) in vmf_insert_pfn_prot()
1692 track_pfn_insert(vma, &pgprot, __pfn_to_pfn_t(pfn, PFN_DEV)); in vmf_insert_pfn_prot()
1694 return insert_pfn(vma, addr, __pfn_to_pfn_t(pfn, PFN_DEV), pgprot, in vmf_insert_pfn_prot()
1743 pgprot_t pgprot = vma->vm_page_prot; in __vm_insert_mixed() local
1751 track_pfn_insert(vma, &pgprot, pfn); in __vm_insert_mixed()
1753 if (!pfn_modify_allowed(pfn_t_to_pfn(pfn), pgprot)) in __vm_insert_mixed()
1773 err = insert_page(vma, addr, page, pgprot); in __vm_insert_mixed()
1775 return insert_pfn(vma, addr, pfn, pgprot, mkwrite); in __vm_insert_mixed()
Dhuge_memory.c828 pgprot_t pgprot = vma->vm_page_prot; in vmf_insert_pfn_pmd() local
851 track_pfn_insert(vma, &pgprot, pfn); in vmf_insert_pfn_pmd()
853 insert_pfn_pmd(vma, addr, vmf->pmd, pfn, pgprot, write, pgtable); in vmf_insert_pfn_pmd()
906 pgprot_t pgprot = vma->vm_page_prot; in vmf_insert_pfn_pud() local
922 track_pfn_insert(vma, &pgprot, pfn); in vmf_insert_pfn_pud()
924 insert_pfn_pud(vma, addr, vmf->pud, pfn, pgprot, write); in vmf_insert_pfn_pud()