Searched refs:is_cow_mapping (Results 1 – 7 of 7) sorted by relevance
503 bool is_cow_mapping = in vmw_bo_vm_huge_fault() local521 if (write && (READ_ONCE(vbo->dirty) || is_cow_mapping)) in vmw_bo_vm_huge_fault()
629 if (!is_cow_mapping(vma->vm_flags)) in vm_normal_page()672 if (!is_cow_mapping(vma->vm_flags)) in vm_normal_page_pmd()728 is_cow_mapping(vm_flags)) { in copy_nonpresent_pte()765 is_cow_mapping(vm_flags)) { in copy_nonpresent_pte()807 if (!is_cow_mapping(src_vma->vm_flags)) in copy_present_page()896 if (is_cow_mapping(vm_flags) && pte_write(pte)) { in copy_present_pte()1182 is_cow = is_cow_mapping(src_vma->vm_flags); in copy_page_range()2045 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_prot()2341 if (is_cow_mapping(vma->vm_flags)) { in remap_pfn_range()
427 static inline bool is_cow_mapping(vm_flags_t flags) in is_cow_mapping() function
98 if (is_cow_mapping(vma->vm_flags) && in change_pte_range()
848 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pmd_prot()938 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pud_prot()1092 if (unlikely(is_cow_mapping(src_vma->vm_flags) && in copy_huge_pmd()1208 if (unlikely(is_cow_mapping(vma->vm_flags) && in copy_huge_pud()
945 if (!is_cow_mapping(vm_flags)) in check_vma_flags()
1079 #define is_cow_mapping(flags) (((flags) & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE) macro1087 if (!is_cow_mapping(vma->vm_flags)) in pte_is_pinned()