Home
last modified time | relevance | path

Searched refs:lamt (Results 1 – 3 of 3) sorted by relevance

/external/openssh/
Dmisc.c864 bw->lamt = 0; in bandwidth_limit_init()
881 bw->lamt += read_len; in bandwidth_limit()
882 if (bw->lamt < bw->thresh) in bandwidth_limit()
890 bw->lamt *= 8; in bandwidth_limit()
891 waitlen = (double)1000000L * bw->lamt / bw->rate; in bandwidth_limit()
918 bw->lamt = 0; in bandwidth_limit()
Dmisc.h84 u_int64_t rate, thresh, lamt; member
/external/dropbear/
Dscp.c770 static int lamt, thresh = 16384; in bwlimit() local
779 lamt += amount; in bwlimit()
780 if (lamt < thresh) in bwlimit()
788 lamt *= 8; in bwlimit()
789 waitlen = (double)1000000L * lamt / limit_rate; in bwlimit()
816 lamt = 0; in bwlimit()