• Home
  • Raw
  • Download

Lines Matching refs:to

251 int poll_select_set_timeout(struct timespec *to, long sec, long nsec)  in poll_select_set_timeout()  argument
260 to->tv_sec = to->tv_nsec = 0; in poll_select_set_timeout()
262 ktime_get_ts(to); in poll_select_set_timeout()
263 *to = timespec_add_safe(*to, ts); in poll_select_set_timeout()
367 ktime_t expire, *to = NULL; in do_select() local
459 if (end_time && !to) { in do_select()
461 to = &expire; in do_select()
465 to, slack)) in do_select()
563 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE5() local
571 to = &end_time; in SYSCALL_DEFINE5()
572 if (poll_select_set_timeout(to, in SYSCALL_DEFINE5()
578 ret = core_sys_select(n, inp, outp, exp, to); in SYSCALL_DEFINE5()
590 struct timespec ts, end_time, *to = NULL; in do_pselect() local
597 to = &end_time; in do_pselect()
598 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in do_pselect()
613 ret = core_sys_select(n, inp, outp, exp, to); in do_pselect()
704 ktime_t expire, *to = NULL; in do_poll() local
757 if (end_time && !to) { in do_poll()
759 to = &expire; in do_poll()
762 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) in do_poll()
840 struct timespec *to = NULL, end_time; in do_restart_poll() local
846 to = &end_time; in do_restart_poll()
849 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
861 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE3() local
865 to = &end_time; in SYSCALL_DEFINE3()
866 poll_select_set_timeout(to, timeout_msecs / MSEC_PER_SEC, in SYSCALL_DEFINE3()
870 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
898 struct timespec ts, end_time, *to = NULL; in SYSCALL_DEFINE5() local
905 to = &end_time; in SYSCALL_DEFINE5()
906 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in SYSCALL_DEFINE5()
921 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()