Lines Matching refs:when
61 if ((timeouts -> when . tv_sec < cur_tv . tv_sec) || in process_outstanding_timeouts()
62 ((timeouts -> when . tv_sec == cur_tv . tv_sec) && in process_outstanding_timeouts()
63 (timeouts -> when . tv_usec <= cur_tv . tv_usec))) { in process_outstanding_timeouts()
74 tvp -> tv_sec = timeouts -> when . tv_sec; in process_outstanding_timeouts()
75 tvp -> tv_usec = timeouts -> when . tv_usec; in process_outstanding_timeouts()
205 void add_timeout (when, where, what, ref, unref) in add_timeout() argument
206 struct timeval *when; in add_timeout()
275 sec = when->tv_sec - cur_tv.tv_sec;
276 usec = when->tv_usec - cur_tv.tv_usec;
278 if ((when->tv_usec != 0) && (usec < 0)) {
303 q->when.tv_sec = cur_tv.tv_sec + sec;
304 q->when.tv_usec = usec;
320 if (!timeouts || (timeouts->when.tv_sec > q-> when.tv_sec) ||
321 ((timeouts->when.tv_sec == q->when.tv_sec) &&
322 (timeouts->when.tv_usec > q->when.tv_usec))) {
330 if ((t->next->when.tv_sec > q->when.tv_sec) ||
331 ((t->next->when.tv_sec == q->when.tv_sec) &&
332 (t->next->when.tv_usec > q->when.tv_usec))) {