Searched refs:bwstart (Results 1 – 1 of 1) sorted by relevance
769 static struct timeval bwstart, bwend; in bwlimit() local774 if (!timerisset(&bwstart)) { in bwlimit()775 gettimeofday(&bwstart, NULL); in bwlimit()784 timersub(&bwend, &bwstart, &bwend); in bwlimit()791 bwstart.tv_sec = waitlen / 1000000L; in bwlimit()792 bwstart.tv_usec = waitlen % 1000000L; in bwlimit()794 if (timercmp(&bwstart, &bwend, >)) { in bwlimit()795 timersub(&bwstart, &bwend, &bwend); in bwlimit()817 gettimeofday(&bwstart, NULL); in bwlimit()