• Home
  • Raw
  • Download

Lines Matching refs:error

65 #error "SIGEV_THREAD_ID must not share bit with other SIGEV values!"
503 int error, new_timer_id; in do_timer_create() local
518 error = new_timer_id; in do_timer_create()
533 error = -EINVAL; in do_timer_create()
552 error = -EFAULT; in do_timer_create()
556 error = kc->timer_create(new_timer); in do_timer_create()
557 if (error) in do_timer_create()
574 return error; in do_timer_create()
909 int error = 0; in do_timer_settime() local
925 error = -EINVAL; in do_timer_settime()
927 error = kc->timer_set(timr, tmr_flags, new_spec64, old_spec64); in do_timer_settime()
929 if (error == TIMER_RETRY) { in do_timer_settime()
938 return error; in do_timer_settime()
948 int error = 0; in SYSCALL_DEFINE4() local
956 error = do_timer_settime(timer_id, flags, &new_spec, rtn); in SYSCALL_DEFINE4()
957 if (!error && old_setting) { in SYSCALL_DEFINE4()
959 error = -EFAULT; in SYSCALL_DEFINE4()
961 return error; in SYSCALL_DEFINE4()
971 int error = 0; in SYSCALL_DEFINE4() local
978 error = do_timer_settime(timer_id, flags, &new_spec, rtn); in SYSCALL_DEFINE4()
979 if (!error && old) { in SYSCALL_DEFINE4()
981 error = -EFAULT; in SYSCALL_DEFINE4()
983 return error; in SYSCALL_DEFINE4()
1127 int error; in SYSCALL_DEFINE2() local
1132 error = kc->clock_get_timespec(which_clock, &kernel_tp); in SYSCALL_DEFINE2()
1134 if (!error && put_timespec64(&kernel_tp, tp)) in SYSCALL_DEFINE2()
1135 error = -EFAULT; in SYSCALL_DEFINE2()
1137 return error; in SYSCALL_DEFINE2()
1174 int error; in SYSCALL_DEFINE2() local
1179 error = kc->clock_getres(which_clock, &rtn_tp); in SYSCALL_DEFINE2()
1181 if (!error && tp && put_timespec64(&rtn_tp, tp)) in SYSCALL_DEFINE2()
1182 error = -EFAULT; in SYSCALL_DEFINE2()
1184 return error; in SYSCALL_DEFINE2()