Searched refs:bwstart (Results 1 – 2 of 2) sorted by relevance
915 timerclear(&bw->bwstart); in bandwidth_limit_init()926 if (!timerisset(&bw->bwstart)) { in bandwidth_limit()927 gettimeofday(&bw->bwstart, NULL); in bandwidth_limit()936 timersub(&bw->bwend, &bw->bwstart, &bw->bwend); in bandwidth_limit()943 bw->bwstart.tv_sec = waitlen / 1000000L; in bandwidth_limit()944 bw->bwstart.tv_usec = waitlen % 1000000L; in bandwidth_limit()946 if (timercmp(&bw->bwstart, &bw->bwend, >)) { in bandwidth_limit()947 timersub(&bw->bwstart, &bw->bwend, &bw->bwend); in bandwidth_limit()969 gettimeofday(&bw->bwstart, NULL); in bandwidth_limit()
117 struct timeval bwstart, bwend; member