Home
last modified time | relevance | path

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

/mm/
Dmemremap.c217 error = track_pfn_remap(NULL, &params->pgprot, PHYS_PFN(range->start), 0, in pagemap_range()
297 .pgprot = PAGE_KERNEL, in memremap_pages()
330 params.pgprot = pgprot_decrypted(params.pgprot); in memremap_pages()
335 params.pgprot = pgprot_noncached(params.pgprot); in memremap_pages()
Dsparse-vmemmap.c72 pgprot_t pgprot = PAGE_KERNEL; in split_vmemmap_huge_pmd() local
74 entry = mk_pte(page + i, pgprot); in split_vmemmap_huge_pmd()
240 pgprot_t pgprot = PAGE_KERNEL_RO; in vmemmap_remap_pte() local
241 pte_t entry = mk_pte(walk->reuse_page, pgprot); in vmemmap_remap_pte()
251 pgprot_t pgprot = PAGE_KERNEL; in vmemmap_restore_pte() local
262 set_pte_at(&init_mm, addr, pte, mk_pte(page, pgprot)); in vmemmap_restore_pte()
Dmemory_hotplug.c313 if (WARN_ON_ONCE(!params->pgprot.pgprot)) in __add_pages()
1359 struct mhp_params params = { .pgprot = pgprot_mhp(PAGE_KERNEL) }; in add_memory_resource()
1499 struct mhp_params params = { .pgprot = PAGE_KERNEL }; in add_memory_subsection()
Dmemory.c2184 unsigned long pfn, pgprot_t pgprot) in vmf_insert_pfn_prot() argument
2201 if (!pfn_modify_allowed(pfn, pgprot)) in vmf_insert_pfn_prot()
2204 track_pfn_insert(vma, &pgprot, __pfn_to_pfn_t(pfn, PFN_DEV)); in vmf_insert_pfn_prot()
2206 return insert_pfn(vma, addr, __pfn_to_pfn_t(pfn, PFN_DEV), pgprot, in vmf_insert_pfn_prot()
2253 unsigned long addr, pfn_t pfn, pgprot_t pgprot, in __vm_insert_mixed() argument
2263 track_pfn_insert(vma, &pgprot, pfn); in __vm_insert_mixed()
2265 if (!pfn_modify_allowed(pfn_t_to_pfn(pfn), pgprot)) in __vm_insert_mixed()
2285 err = insert_page(vma, addr, page, pgprot); in __vm_insert_mixed()
2287 return insert_pfn(vma, addr, pfn, pgprot, mkwrite); in __vm_insert_mixed()
2325 pfn_t pfn, pgprot_t pgprot) in vmf_insert_mixed_prot() argument
[all …]
Dhuge_memory.c847 pgprot_t pgprot, bool write) in vmf_insert_pfn_pmd_prot() argument
873 track_pfn_insert(vma, &pgprot, pfn); in vmf_insert_pfn_pmd_prot()
875 insert_pfn_pmd(vma, addr, vmf->pmd, pfn, pgprot, write, pgtable); in vmf_insert_pfn_pmd_prot()
938 pgprot_t pgprot, bool write) in vmf_insert_pfn_pud_prot() argument
957 track_pfn_insert(vma, &pgprot, pfn); in vmf_insert_pfn_pud_prot()
959 insert_pfn_pud(vma, addr, vmf->pud, pfn, pgprot, write); in vmf_insert_pfn_pud_prot()