Home
last modified time | relevance | path

Searched refs:is_cow_mapping (Results 1 – 12 of 12) sorted by relevance

/linux/mm/
H A Dmemory.c636 if (!is_cow_mapping(vma->vm_flags)) in vm_normal_page()
689 if (!is_cow_mapping(vma->vm_flags)) in vm_normal_page_pmd()
827 is_cow_mapping(vm_flags)) { in copy_nonpresent_pte()
868 is_cow_mapping(vm_flags)) { in copy_nonpresent_pte()
883 VM_BUG_ON(!is_cow_mapping(src_vma->vm_flags)); in copy_nonpresent_pte()
956 if (is_cow_mapping(src_vma->vm_flags) && pte_write(pte)) { in __copy_present_ptes()
1390 is_cow = is_cow_mapping(src_vma->vm_flags); in copy_page_range()
2007 if (is_cow_mapping(vma->vm_flags)) in vm_mixed_zeropage_allowed()
2415 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_prot()
2668 if (is_cow_mapping(vma->vm_flags)) { in remap_pfn_range_internal()
[all …]
H A Dmprotect.c134 if (is_cow_mapping(vma->vm_flags) && in change_pte_range()
H A Dhuge_memory.c1412 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pmd()
1500 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pud()
1591 VM_WARN_ON_ONCE(is_cow_mapping(src_vma->vm_flags) && pmd_write(pmd)); in copy_huge_pmd()
1724 if (is_cow_mapping(vma->vm_flags) && pud_write(pud)) { in copy_huge_pud()
H A Dinternal.h1351 return is_cow_mapping(vma->vm_flags); in gup_must_unshare()
H A Dgup.c1300 if (!is_cow_mapping(vm_flags)) in check_vma_flags()
H A Dhugetlb.c5213 bool cow = is_cow_mapping(src_vma->vm_flags); in copy_hugetlb_page_range()
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_vm.c462 if (is_cow_mapping(vma->vm_flags)) in ttm_bo_mmap_obj()
/linux/arch/x86/mm/pat/
H A Dmemtype.c977 if (is_cow_mapping(vma->vm_flags)) { in get_pat_info()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.c288 if (is_cow_mapping(vma->vm_flags) && in amdgpu_gem_object_mmap()
/linux/arch/s390/mm/
H A Dgmap.c2587 if (!is_cow_mapping(walk->vma->vm_flags)) in find_zeropage_pte_entry()
/linux/fs/proc/
H A Dtask_mmu.c1376 if (!is_cow_mapping(vma->vm_flags)) in pte_is_pinned()
/linux/include/linux/
H A Dmm.h1595 static inline bool is_cow_mapping(vm_flags_t flags) in is_cow_mapping() function