Searched refs:vm_page_prot (Results 1 – 14 of 14) sorted by relevance
/mm/ |
D | mmap.c | 125 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() 1672 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify() argument 1687 if (pgprot_val(vm_page_prot) != in vma_wants_writenotify() 1688 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() 3087 vma->vm_page_prot = vm_get_page_prot(flags); in do_brk_flags() [all …]
|
D | huge_memory.c | 632 entry = mk_huge_pmd(page, vma->vm_page_prot); in __do_huge_pmd_anonymous_page() 701 entry = mk_pmd(zero_page, vma->vm_page_prot); in set_huge_zero_page() 822 pgprot_t pgprot = vma->vm_page_prot; in vmf_insert_pfn_pmd() 900 pgprot_t pgprot = vma->vm_page_prot; in vmf_insert_pfn_pud() 1273 entry = mk_pte(pages[i], vma->vm_page_prot); in do_huge_pmd_wp_page_fallback() 1427 entry = mk_huge_pmd(new_page, vma->vm_page_prot); in do_huge_pmd_wp_page() 1671 pmd = pmd_modify(pmd, vma->vm_page_prot); in do_huge_pmd_numa_page() 2130 entry = pfn_pte(my_zero_pfn(haddr), vma->vm_page_prot); in __split_huge_zero_page_pmd() 2264 entry = mk_pte(page + i, READ_ONCE(vma->vm_page_prot)); in __split_huge_pmd_locked() 3104 pmde = pmd_mkold(mk_huge_pmd(new, vma->vm_page_prot)); in remove_migration_pmd()
|
D | userfaultfd.c | 74 _dst_pte = mk_pte(page, dst_vma->vm_page_prot); in mcopy_atomic_pte() 126 dst_vma->vm_page_prot)); in mfill_zeropage_pte()
|
D | memory.c | 1551 return insert_page(vma, addr, page, vma->vm_page_prot); in vm_insert_page() 1758 return vmf_insert_pfn_prot(vma, addr, pfn, vma->vm_page_prot); in vmf_insert_pfn() 1779 pgprot_t pgprot = vma->vm_page_prot; in __vm_insert_mixed() 2055 return io_remap_pfn_range(vma, vma->vm_start, pfn, vm_len, vma->vm_page_prot); in vm_iomap_memory() 2509 entry = mk_pte(new_page, vma->vm_page_prot); in wp_page_copy() 3033 pte = mk_pte(page, vma->vm_page_prot); in do_swap_page() 3141 vma->vm_page_prot)); in do_anonymous_page() 3175 entry = mk_pte(page, vma->vm_page_prot); in do_anonymous_page() 3387 entry = mk_huge_pmd(page, vma->vm_page_prot); in do_set_pmd() 3463 entry = mk_pte(page, vma->vm_page_prot); in alloc_set_pte() [all …]
|
D | mprotect.c | 458 dirty_accountable = vma_wants_writenotify(vma, vma->vm_page_prot); in mprotect_fixup() 461 change_protection(vma, start, end, vma->vm_page_prot, in mprotect_fixup()
|
D | debug.c | 129 (unsigned long)pgprot_val(vma->vm_page_prot), in dump_vma()
|
D | migrate.c | 235 pte = pte_mkold(mk_pte(new, READ_ONCE(vma->vm_page_prot))); in remove_migration_pte() 2094 entry = mk_huge_pmd(new_page, vma->vm_page_prot); in migrate_misplaced_transhuge_page() 2148 entry = pmd_modify(entry, vma->vm_page_prot); in migrate_misplaced_transhuge_page() 2792 entry = mk_pte(page, vma->vm_page_prot); in migrate_vma_insert_page()
|
D | mremap.c | 178 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
|
D | ksm.c | 1157 newpte = mk_pte(kpage, vma->vm_page_prot); in replace_page() 1160 vma->vm_page_prot)); in replace_page()
|
D | nommu.c | 1668 return io_remap_pfn_range(vma, vma->vm_start, pfn, vm_len, vma->vm_page_prot); in vm_iomap_memory()
|
D | khugepaged.c | 1096 _pmd = mk_huge_pmd(new_page, vma->vm_page_prot); in collapse_huge_page()
|
D | hugetlb.c | 3431 vma->vm_page_prot))); in make_huge_pte() 3434 vma->vm_page_prot)); in make_huge_pte()
|
D | swapfile.c | 1899 pte_mkold(mk_pte(page, vma->vm_page_prot))); in unuse_pte()
|
D | shmem.c | 2383 _dst_pte = mk_pte(page, dst_vma->vm_page_prot); in shmem_mfill_atomic_pte()
|