Lines Matching refs:vm_flags
64 if (prot_numa && !(vma->vm_flags & VM_SHARED) && in change_pte_range()
88 if (is_cow_mapping(vma->vm_flags) && in change_pte_range()
120 !(vma->vm_flags & VM_SOFTDIRTY))) { in change_pte_range()
343 unsigned long oldflags = vma->vm_flags; in mprotect_fixup()
361 (vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) && in mprotect_fixup()
400 VM_WARN_ON((vma->vm_flags ^ newflags) & ~VM_SOFTDIRTY); in mprotect_fixup()
423 vma->vm_flags = newflags; in mprotect_fixup()
502 if (!(vma->vm_flags & VM_GROWSDOWN)) in do_mprotect_pkey()
510 if (!(vma->vm_flags & VM_GROWSUP)) in do_mprotect_pkey()
525 if (rier && (vma->vm_flags & VM_MAYEXEC)) in do_mprotect_pkey()
538 newflags |= (vma->vm_flags & ~mask_off_old_flags); in do_mprotect_pkey()