Lines Matching refs:VM_LOCKED
325 if (vma->vm_flags & VM_LOCKED) in mlock_pte_range()
346 if (vma->vm_flags & VM_LOCKED) in mlock_pte_range()
388 if (newflags & VM_LOCKED) in mlock_vma_pages_range()
454 if (!(newflags & VM_LOCKED)) in mlock_fixup()
456 else if (oldflags & VM_LOCKED) in mlock_fixup()
465 if ((newflags & VM_LOCKED) && (oldflags & VM_LOCKED)) { in mlock_fixup()
549 if (vma->vm_flags & VM_LOCKED) { in count_mm_mlocked_page_nr()
624 return do_mlock(start, len, VM_LOCKED); in SYSCALL_DEFINE2()
629 vm_flags_t vm_flags = VM_LOCKED; in SYSCALL_DEFINE3()
675 current->mm->def_flags |= VM_LOCKED; in apply_mlockall_flags()
685 to_add |= VM_LOCKED; in apply_mlockall_flags()