Lines Matching refs:end_time

295 static int poll_select_finish(struct timespec64 *end_time,  in poll_select_finish()  argument
310 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_finish()
314 rts = timespec64_sub(*end_time, rts); in poll_select_finish()
476 static noinline_for_stack int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select() argument
496 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select()
501 if (end_time && !timed_out) in do_select()
502 slack = select_estimate_accuracy(end_time); in do_select()
599 if (end_time && !to) { in do_select()
600 expire = timespec64_to_ktime(*end_time); in do_select()
623 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() argument
678 ret = do_select(n, &fds, end_time); in core_sys_select()
704 struct timespec64 end_time, *to = NULL; in kern_select() local
712 to = &end_time; in kern_select()
720 return poll_select_finish(&end_time, tvp, PT_TIMEVAL, ret); in kern_select()
734 struct timespec64 ts, end_time, *to = NULL; in do_pselect() local
751 to = &end_time; in do_pselect()
761 return poll_select_finish(&end_time, tsp, type, ret); in do_pselect()
885 struct timespec64 *end_time) in do_poll() argument
895 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_poll()
900 if (end_time && !timed_out) in do_poll()
901 slack = select_estimate_accuracy(end_time); in do_poll()
959 if (end_time && !to) { in do_poll()
960 expire = timespec64_to_ktime(*end_time); in do_poll()
974 struct timespec64 *end_time) in do_sys_poll() argument
1015 fdcount = do_poll(head, &table, end_time); in do_sys_poll()
1051 struct timespec64 *to = NULL, end_time; in do_restart_poll() local
1055 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
1056 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
1057 to = &end_time; in do_restart_poll()
1071 struct timespec64 end_time, *to = NULL; in SYSCALL_DEFINE3() local
1075 to = &end_time; in SYSCALL_DEFINE3()
1090 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
1091 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
1105 struct timespec64 ts, end_time, *to = NULL; in SYSCALL_DEFINE5() local
1112 to = &end_time; in SYSCALL_DEFINE5()
1122 return poll_select_finish(&end_time, tsp, PT_TIMESPEC, ret); in SYSCALL_DEFINE5()
1131 struct timespec64 ts, end_time, *to = NULL; in SYSCALL_DEFINE5() local
1138 to = &end_time; in SYSCALL_DEFINE5()
1148 return poll_select_finish(&end_time, tsp, PT_OLD_TIMESPEC, ret); in SYSCALL_DEFINE5()
1196 struct timespec64 *end_time) in compat_core_sys_select() argument
1243 ret = do_select(n, &fds, end_time); in compat_core_sys_select()
1269 struct timespec64 end_time, *to = NULL; in do_compat_select() local
1277 to = &end_time; in do_compat_select()
1285 return poll_select_finish(&end_time, tvp, PT_OLD_TIMEVAL, ret); in do_compat_select()
1318 struct timespec64 ts, end_time, *to = NULL; in do_compat_pselect() local
1335 to = &end_time; in do_compat_pselect()
1345 return poll_select_finish(&end_time, tsp, type, ret); in do_compat_pselect()
1403 struct timespec64 ts, end_time, *to = NULL; in COMPAT_SYSCALL_DEFINE5() local
1410 to = &end_time; in COMPAT_SYSCALL_DEFINE5()
1420 return poll_select_finish(&end_time, tsp, PT_OLD_TIMESPEC, ret); in COMPAT_SYSCALL_DEFINE5()
1429 struct timespec64 ts, end_time, *to = NULL; in COMPAT_SYSCALL_DEFINE5() local
1436 to = &end_time; in COMPAT_SYSCALL_DEFINE5()
1446 return poll_select_finish(&end_time, tsp, PT_TIMESPEC, ret); in COMPAT_SYSCALL_DEFINE5()