Lines Matching refs:end_time

297 static int poll_select_finish(struct timespec64 *end_time,  in poll_select_finish()  argument
312 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_finish()
316 rts = timespec64_sub(*end_time, rts); in poll_select_finish()
476 static 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()
598 if (end_time && !to) { in do_select()
599 expire = timespec64_to_ktime(*end_time); in do_select()
622 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() argument
677 ret = do_select(n, &fds, end_time); in core_sys_select()
703 struct timespec64 end_time, *to = NULL; in kern_select() local
711 to = &end_time; in kern_select()
719 return poll_select_finish(&end_time, tvp, PT_TIMEVAL, ret); in kern_select()
733 struct timespec64 ts, end_time, *to = NULL; in do_pselect() local
750 to = &end_time; in do_pselect()
760 return poll_select_finish(&end_time, tsp, type, ret); in do_pselect()
882 struct timespec64 *end_time) in do_poll() argument
892 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_poll()
897 if (end_time && !timed_out) in do_poll()
898 slack = select_estimate_accuracy(end_time); in do_poll()
956 if (end_time && !to) { in do_poll()
957 expire = timespec64_to_ktime(*end_time); in do_poll()
971 struct timespec64 *end_time) in do_sys_poll() argument
1011 fdcount = do_poll(head, &table, end_time); in do_sys_poll()
1047 struct timespec64 *to = NULL, end_time; in do_restart_poll() local
1051 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
1052 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
1053 to = &end_time; in do_restart_poll()
1067 struct timespec64 end_time, *to = NULL; in SYSCALL_DEFINE3() local
1071 to = &end_time; in SYSCALL_DEFINE3()
1086 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
1087 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
1101 struct timespec64 ts, end_time, *to = NULL; in SYSCALL_DEFINE5() local
1108 to = &end_time; in SYSCALL_DEFINE5()
1118 return poll_select_finish(&end_time, tsp, PT_TIMESPEC, ret); in SYSCALL_DEFINE5()
1127 struct timespec64 ts, end_time, *to = NULL; in SYSCALL_DEFINE5() local
1134 to = &end_time; in SYSCALL_DEFINE5()
1144 return poll_select_finish(&end_time, tsp, PT_OLD_TIMESPEC, ret); in SYSCALL_DEFINE5()
1192 struct timespec64 *end_time) in compat_core_sys_select() argument
1239 ret = do_select(n, &fds, end_time); in compat_core_sys_select()
1265 struct timespec64 end_time, *to = NULL; in do_compat_select() local
1273 to = &end_time; in do_compat_select()
1281 return poll_select_finish(&end_time, tvp, PT_OLD_TIMEVAL, ret); in do_compat_select()
1314 struct timespec64 ts, end_time, *to = NULL; in do_compat_pselect() local
1331 to = &end_time; in do_compat_pselect()
1341 return poll_select_finish(&end_time, tsp, type, ret); in do_compat_pselect()
1399 struct timespec64 ts, end_time, *to = NULL; in COMPAT_SYSCALL_DEFINE5() local
1406 to = &end_time; in COMPAT_SYSCALL_DEFINE5()
1416 return poll_select_finish(&end_time, tsp, PT_OLD_TIMESPEC, ret); in COMPAT_SYSCALL_DEFINE5()
1425 struct timespec64 ts, end_time, *to = NULL; in COMPAT_SYSCALL_DEFINE5() local
1432 to = &end_time; in COMPAT_SYSCALL_DEFINE5()
1442 return poll_select_finish(&end_time, tsp, PT_TIMESPEC, ret); in COMPAT_SYSCALL_DEFINE5()