Searched refs:bwstart (Results 1 – 2 of 2) sorted by relevance
1010 timerclear(&bw->bwstart); in bandwidth_limit_init()1021 if (!timerisset(&bw->bwstart)) { in bandwidth_limit()1022 gettimeofday(&bw->bwstart, NULL); in bandwidth_limit()1031 timersub(&bw->bwend, &bw->bwstart, &bw->bwend); in bandwidth_limit()1038 bw->bwstart.tv_sec = waitlen / 1000000L; in bandwidth_limit()1039 bw->bwstart.tv_usec = waitlen % 1000000L; in bandwidth_limit()1041 if (timercmp(&bw->bwstart, &bw->bwend, >)) { in bandwidth_limit()1042 timersub(&bw->bwstart, &bw->bwend, &bw->bwend); in bandwidth_limit()1064 gettimeofday(&bw->bwstart, NULL); in bandwidth_limit()
125 struct timeval bwstart, bwend; member