Lines Matching refs:VM_LOCKED
324 if (vma->vm_flags & VM_LOCKED) in mlock_pte_range()
340 if (vma->vm_flags & VM_LOCKED) in mlock_pte_range()
381 if (newflags & VM_LOCKED) in mlock_vma_pages_range()
445 if (!(newflags & VM_LOCKED)) in mlock_fixup()
447 else if (oldflags & VM_LOCKED) in mlock_fixup()
457 if ((newflags & VM_LOCKED) && (oldflags & VM_LOCKED)) { in mlock_fixup()
541 if (vma->vm_flags & VM_LOCKED) { in count_mm_mlocked_page_nr()
616 return do_mlock(start, len, VM_LOCKED); in SYSCALL_DEFINE2()
621 vm_flags_t vm_flags = VM_LOCKED; in SYSCALL_DEFINE3()
667 current->mm->def_flags |= VM_LOCKED; in apply_mlockall_flags()
677 to_add |= VM_LOCKED; in apply_mlockall_flags()