Lines Matching refs:end_time
289 static int poll_select_copy_remaining(struct timespec *end_time, void __user *p, in poll_select_copy_remaining() argument
302 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_copy_remaining()
306 rts = timespec_sub(*end_time, rts); in poll_select_copy_remaining()
399 int do_select(int n, fd_set_bits *fds, struct timespec *end_time) in do_select() argument
419 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select()
424 if (end_time && !timed_out) in do_select()
425 slack = select_estimate_accuracy(end_time); in do_select()
524 if (end_time && !to) { in do_select()
525 expire = timespec_to_ktime(*end_time); in do_select()
548 fd_set __user *exp, struct timespec *end_time) in core_sys_select() argument
599 ret = do_select(n, &fds, end_time); in core_sys_select()
625 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE5() local
633 to = &end_time; in SYSCALL_DEFINE5()
641 ret = poll_select_copy_remaining(&end_time, tvp, 1, ret); in SYSCALL_DEFINE5()
651 struct timespec ts, end_time, *to = NULL; in do_pselect() local
658 to = &end_time; in do_pselect()
675 ret = poll_select_copy_remaining(&end_time, tsp, 0, ret); in do_pselect()
782 struct poll_wqueues *wait, struct timespec *end_time) in do_poll() argument
792 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_poll()
797 if (end_time && !timed_out) in do_poll()
798 slack = select_estimate_accuracy(end_time); in do_poll()
856 if (end_time && !to) { in do_poll()
857 expire = timespec_to_ktime(*end_time); in do_poll()
871 struct timespec *end_time) in do_sys_poll() argument
911 fdcount = do_poll(nfds, head, &table, end_time); in do_sys_poll()
939 struct timespec *to = NULL, end_time; in do_restart_poll() local
943 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
944 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
945 to = &end_time; in do_restart_poll()
960 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE3() local
964 to = &end_time; in SYSCALL_DEFINE3()
980 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
981 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
996 struct timespec ts, end_time, *to = NULL; in SYSCALL_DEFINE5() local
1003 to = &end_time; in SYSCALL_DEFINE5()
1037 ret = poll_select_copy_remaining(&end_time, tsp, 0, ret); in SYSCALL_DEFINE5()