Lines Matching refs:error
50 int error = 0; in madvise_behavior() local
69 error = -EINVAL; in madvise_behavior()
79 error = -EINVAL; in madvise_behavior()
86 error = ksm_madvise(vma, start, end, behavior, &new_flags); in madvise_behavior()
87 if (error) in madvise_behavior()
92 error = hugepage_madvise(vma, &new_flags, behavior); in madvise_behavior()
93 if (error) in madvise_behavior()
115 error = split_vma(mm, vma, start, 1); in madvise_behavior()
116 if (error) in madvise_behavior()
121 error = split_vma(mm, vma, end, 0); in madvise_behavior()
122 if (error) in madvise_behavior()
133 if (error == -ENOMEM) in madvise_behavior()
134 error = -EAGAIN; in madvise_behavior()
135 return error; in madvise_behavior()
301 int error; in madvise_remove() local
329 error = do_fallocate(f, in madvise_remove()
334 return error; in madvise_remove()
467 int error = -EINVAL; in SYSCALL_DEFINE3() local
477 return error; in SYSCALL_DEFINE3()
480 return error; in SYSCALL_DEFINE3()
485 return error; in SYSCALL_DEFINE3()
489 return error; in SYSCALL_DEFINE3()
491 error = 0; in SYSCALL_DEFINE3()
493 return error; in SYSCALL_DEFINE3()
513 error = -ENOMEM; in SYSCALL_DEFINE3()
531 error = madvise_vma(vma, &prev, start, tmp, behavior); in SYSCALL_DEFINE3()
532 if (error) in SYSCALL_DEFINE3()
537 error = unmapped_error; in SYSCALL_DEFINE3()
552 return error; in SYSCALL_DEFINE3()