Lines Matching refs:tv_sec
144 epoch.tv_sec -= EPOCH;
145 now.tv_sec = EPOCH;
149 select_timeout.tv_sec = 0;
344 srandom((int)(clk.tv_sec ^ clk.tv_usec ^ getpid()));
390 age_timer.tv_sec = EPOCH+MIN_WAITTIME;
430 if (prev_clk.tv_sec == clk.tv_sec &&
447 if (result.tv_sec < 0 || result.tv_sec >
448 select_timeout.tv_sec + 5) {
453 dt = result.tv_sec;
455 dt -= select_timeout.tv_sec;
457 epoch.tv_sec += dt;
461 now_stale = now.tv_sec - STALE_TIME;
462 now_expire = now.tv_sec - EXPIRE_TIME;
463 now_garbage = now.tv_sec - GARBAGE_TIME;
475 if (select_timeout.tv_sec <= 0) {
476 select_timeout.tv_sec = 0;
487 if (result.tv_sec <= 0) {
489 sync_kern_timer.tv_sec = (now.tv_sec
499 if (result.tv_sec <= 0) {
520 n = 1 + (0-result.tv_sec)/SUPPLY_INTERVAL;
521 next_bcast.tv_sec += n*SUPPLY_INTERVAL;
538 no_flash.tv_sec+MIN_WAITTIME < next_bcast.tv_sec) {
549 if (result.tv_sec <= 0) {
558 if (result.tv_sec <= 0) {
582 if (select_timeout.tv_sec > 100000000)
583 select_timeout.tv_sec = 0;
633 ifscan_timer.tv_sec = now.tv_sec;
868 if (next_bcast.tv_sec < now.tv_sec+MIN_WAITTIME)
869 next_bcast.tv_sec = now.tv_sec+MIN_WAITTIME;
875 ifscan_timer.tv_sec = now.tv_sec;
901 tp->tv_sec = (time_t)(hi == lo ? lo : (lo + random() % ((hi - lo))));
911 t1->tv_sec += t2->tv_sec;
913 t1->tv_sec++;
925 t1->tv_sec = t2->tv_sec - t3->tv_sec;
927 t1->tv_sec--;
987 if (lim->reuse > now.tv_sec) {
990 lim->reuse = now.tv_sec + 10*60;
999 if (ms->until > now.tv_sec)
1008 ms->until = now.tv_sec + 60*60; /* 60 minutes */