Home
last modified time | relevance | path

Searched refs:vm_page_prot (Results 1 – 14 of 14) sorted by relevance

/mm/
Dmmap.c125 pgprot_t vm_page_prot; in vma_set_page_prot() local
127 vm_page_prot = vm_pgprot_modify(vma->vm_page_prot, vm_flags); in vma_set_page_prot()
128 if (vma_wants_writenotify(vma, vm_page_prot)) { in vma_set_page_prot()
130 vm_page_prot = vm_pgprot_modify(vm_page_prot, vm_flags); in vma_set_page_prot()
133 WRITE_ONCE(vma->vm_page_prot, vm_page_prot); in vma_set_page_prot()
1676 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify() argument
1691 if (pgprot_val(vm_page_prot) != in vma_wants_writenotify()
1692 pgprot_val(vm_pgprot_modify(vm_page_prot, vm_flags))) in vma_wants_writenotify()
1788 vma->vm_page_prot = vm_get_page_prot(vm_flags); in mmap_region()
3065 vma->vm_page_prot = vm_get_page_prot(flags); in do_brk_flags()
[all …]
Dhuge_memory.c637 entry = mk_huge_pmd(page, vma->vm_page_prot); in __do_huge_pmd_anonymous_page()
706 entry = mk_pmd(zero_page, vma->vm_page_prot); in set_huge_zero_page()
828 pgprot_t pgprot = vma->vm_page_prot; in vmf_insert_pfn_pmd()
906 pgprot_t pgprot = vma->vm_page_prot; in vmf_insert_pfn_pud()
1279 entry = mk_pte(pages[i], vma->vm_page_prot); in do_huge_pmd_wp_page_fallback()
1433 entry = mk_huge_pmd(new_page, vma->vm_page_prot); in do_huge_pmd_wp_page()
1678 pmd = pmd_modify(pmd, vma->vm_page_prot); in do_huge_pmd_numa_page()
2137 entry = pfn_pte(my_zero_pfn(haddr), vma->vm_page_prot); in __split_huge_zero_page_pmd()
2262 entry = mk_pte(page + i, READ_ONCE(vma->vm_page_prot)); in __split_huge_pmd_locked()
3070 pmde = pmd_mkold(mk_huge_pmd(new, vma->vm_page_prot)); in remove_migration_pmd()
Duserfaultfd.c72 _dst_pte = mk_pte(page, dst_vma->vm_page_prot); in mcopy_atomic_pte()
124 dst_vma->vm_page_prot)); in mfill_zeropage_pte()
Dmemory.c1515 return insert_page(vma, addr, page, vma->vm_page_prot); in vm_insert_page()
1722 return vmf_insert_pfn_prot(vma, addr, pfn, vma->vm_page_prot); in vmf_insert_pfn()
1743 pgprot_t pgprot = vma->vm_page_prot; in __vm_insert_mixed()
2019 return io_remap_pfn_range(vma, vma->vm_start, pfn, vm_len, vma->vm_page_prot); in vm_iomap_memory()
2392 entry = mk_pte(new_page, vma->vm_page_prot); in wp_page_copy()
2910 pte = mk_pte(page, vma->vm_page_prot); in do_swap_page()
3018 vma->vm_page_prot)); in do_anonymous_page()
3052 entry = mk_pte(page, vma->vm_page_prot); in do_anonymous_page()
3255 entry = mk_huge_pmd(page, vma->vm_page_prot); in do_set_pmd()
3331 entry = mk_pte(page, vma->vm_page_prot); in alloc_set_pte()
[all …]
Dmprotect.c424 dirty_accountable = vma_wants_writenotify(vma, vma->vm_page_prot); in mprotect_fixup()
427 change_protection(vma, start, end, vma->vm_page_prot, in mprotect_fixup()
Ddebug.c127 (unsigned long)pgprot_val(vma->vm_page_prot), in dump_vma()
Dmigrate.c235 pte = pte_mkold(mk_pte(new, READ_ONCE(vma->vm_page_prot))); in remove_migration_pte()
2065 entry = mk_huge_pmd(new_page, vma->vm_page_prot); in migrate_misplaced_transhuge_page()
2119 entry = pmd_modify(entry, vma->vm_page_prot); in migrate_misplaced_transhuge_page()
2755 entry = mk_pte(page, vma->vm_page_prot); in migrate_vma_insert_page()
Dmremap.c178 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
Dksm.c1156 newpte = mk_pte(kpage, vma->vm_page_prot); in replace_page()
1159 vma->vm_page_prot)); in replace_page()
Dnommu.c1664 return io_remap_pfn_range(vma, vma->vm_start, pfn, vm_len, vma->vm_page_prot); in vm_iomap_memory()
Dkhugepaged.c1080 _pmd = mk_huge_pmd(new_page, vma->vm_page_prot); in collapse_huge_page()
Dhugetlb.c3371 vma->vm_page_prot))); in make_huge_pte()
3374 vma->vm_page_prot)); in make_huge_pte()
Dswapfile.c1884 pte_mkold(mk_pte(page, vma->vm_page_prot))); in unuse_pte()
Dshmem.c2379 _dst_pte = mk_pte(page, dst_vma->vm_page_prot); in shmem_mfill_atomic_pte()