Lines Matching refs:error
565 int error; in apply_vma_lock_flags() local
591 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in apply_vma_lock_flags()
592 if (error) in apply_vma_lock_flags()
602 error = -ENOMEM; in apply_vma_lock_flags()
606 return error; in apply_vma_lock_flags()
652 int error = -ENOMEM; in do_mlock() local
683 error = apply_vma_lock_flags(start, len, flags); in do_mlock()
686 if (error) in do_mlock()
687 return error; in do_mlock()
689 error = __mm_populate(start, len, 0); in do_mlock()
690 if (error) in do_mlock()
691 return __mlock_posix_error_return(error); in do_mlock()