Lines Matching defs:poll_time
267 struct timeval poll_time;
357 poll_time.tv_sec = timeout.tv_sec - time_waited.tv_sec;
358 poll_time.tv_usec = timeout.tv_usec - time_waited.tv_usec;
359 while (poll_time.tv_usec < 0) {
360 poll_time.tv_usec += 1000000;
361 poll_time.tv_sec--;
364 if (poll_time.tv_sec < 0 || (poll_time.tv_sec == 0 &&
365 poll_time.tv_usec == 0)) {
373 if (poll_time.tv_sec > retransmit_time.tv_sec ||
374 (poll_time.tv_sec == retransmit_time.tv_sec &&
375 poll_time.tv_usec > retransmit_time.tv_usec))
376 poll_time = retransmit_time;
384 __rpc_timeval_to_msec(&poll_time))) {
414 poll_time.tv_sec -= curtime.tv_sec - startime.tv_sec;
415 poll_time.tv_usec -= curtime.tv_usec - startime.tv_usec;
416 while (poll_time.tv_usec >= 1000000) {
417 poll_time.tv_usec -= 1000000;
418 poll_time.tv_sec++;
420 while (poll_time.tv_usec < 0) {
421 poll_time.tv_usec += 1000000;
422 poll_time.tv_sec--;
428 if (poll_time.tv_sec > 0 ||
429 (poll_time.tv_sec == 0 &&
430 poll_time.tv_usec > 0))