Lines Matching refs:vm_flags
105 if (dst_vma->vm_flags & VM_WRITE) { in mcopy_atomic_pte()
214 int vm_alloc_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb()
215 int vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb()
265 vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb()
437 if (!(dst_vma->vm_flags & VM_SHARED)) { in mfill_atomic_pte()
516 dst_vma->vm_flags & VM_SHARED)) in __mcopy_atomic()
524 if (wp_copy && !(dst_vma->vm_flags & VM_UFFD_WP)) in __mcopy_atomic()
543 if (!(dst_vma->vm_flags & VM_SHARED) && in __mcopy_atomic()
675 if (!dst_vma || (dst_vma->vm_flags & VM_SHARED)) in mwriteprotect_range()
683 newprot = vm_get_page_prot(dst_vma->vm_flags & ~(VM_WRITE)); in mwriteprotect_range()
685 newprot = vm_get_page_prot(dst_vma->vm_flags); in mwriteprotect_range()