Lines Matching defs:next_tx
205 static struct timespec now, clear_cache, last_tx, next_tx, first_tx;
763 sec = diffsec(&next_tx, &now);
767 sec = diffsec(&next_tx, &now);
974 if (next_tx.tv_sec == 0) {
976 next_tx = now;
984 waittime = diffsec(&next_tx, &now);
987 next_tx.tv_sec += (int)(-waittime);
992 next_tx.tv_nsec += numskip * interval_tv.tv_nsec;
998 while (next_tx.tv_nsec >= 1000000000) {
999 next_tx.tv_sec++;
1000 next_tx.tv_nsec -= 1000000000;
1004 timespecadd(&next_tx, &interval_tv, &next_tx);
1005 } while (diffsec(&next_tx, &now) < -0.1);
1009 timespecadd(&next_tx, &interval_tv, &next_tx);