• Home
  • Raw
  • Download

Lines Matching refs:error

81 #error "SIGEV_THREAD_ID must not share bit with other SIGEV values!"
485 int error, new_timer_id; in SYSCALL_DEFINE3() local
499 error = -EAGAIN; in SYSCALL_DEFINE3()
503 error = idr_get_new(&posix_timers_id, new_timer, &new_timer_id); in SYSCALL_DEFINE3()
505 if (error) { in SYSCALL_DEFINE3()
506 if (error == -EAGAIN) in SYSCALL_DEFINE3()
512 error = -EAGAIN; in SYSCALL_DEFINE3()
520 error = CLOCK_DISPATCH(which_clock, timer_create, (new_timer)); in SYSCALL_DEFINE3()
521 if (error) in SYSCALL_DEFINE3()
530 error = -EFAULT; in SYSCALL_DEFINE3()
535 error = -EFAULT; in SYSCALL_DEFINE3()
542 error = -EINVAL; in SYSCALL_DEFINE3()
572 return error; in SYSCALL_DEFINE3()
767 int error = 0; in SYSCALL_DEFINE4() local
785 error = CLOCK_DISPATCH(timr->it_clock, timer_set, in SYSCALL_DEFINE4()
789 if (error == TIMER_RETRY) { in SYSCALL_DEFINE4()
794 if (old_setting && !error && in SYSCALL_DEFINE4()
796 error = -EFAULT; in SYSCALL_DEFINE4()
798 return error; in SYSCALL_DEFINE4()
919 int error; in SYSCALL_DEFINE2() local
923 error = CLOCK_DISPATCH(which_clock, clock_get, in SYSCALL_DEFINE2()
925 if (!error && copy_to_user(tp, &kernel_tp, sizeof (kernel_tp))) in SYSCALL_DEFINE2()
926 error = -EFAULT; in SYSCALL_DEFINE2()
928 return error; in SYSCALL_DEFINE2()
936 int error; in SYSCALL_DEFINE2() local
941 error = CLOCK_DISPATCH(which_clock, clock_getres, in SYSCALL_DEFINE2()
944 if (!error && tp && copy_to_user(tp, &rtn_tp, sizeof (rtn_tp))) { in SYSCALL_DEFINE2()
945 error = -EFAULT; in SYSCALL_DEFINE2()
948 return error; in SYSCALL_DEFINE2()