Lines Matching refs:VM_LOCKED
262 if (mm->def_flags & VM_LOCKED) in SYSCALL_DEFINE1()
1163 if (!(flags & VM_LOCKED) || capable(CAP_IPC_LOCK)) in mlock_future_ok()
1383 ((vm_flags & VM_LOCKED) || in do_mmap()
2033 if (vma->vm_flags & VM_LOCKED) in expand_upwards()
2126 if (vma->vm_flags & VM_LOCKED) in expand_downwards()
2182 if (prev->vm_flags & VM_LOCKED) in find_extend_vma_locked()
2208 if (vma->vm_flags & VM_LOCKED) in find_extend_vma_locked()
2514 if (next->vm_flags & VM_LOCKED) in do_vmi_align_munmap()
2864 if (vm_flags & VM_LOCKED) { in __mmap_region()
3022 if (vma->vm_flags & VM_LOCKED) in SYSCALL_DEFINE5()
3200 if (flags & VM_LOCKED) in do_brk_flags()
3245 populate = ((mm->def_flags & VM_LOCKED) != 0); in vm_brk_flags()