Lines Matching refs:cwnd
207 static inline void bictcp_update(struct bictcp *ca, u32 cwnd) in bictcp_update() argument
214 if (ca->last_cwnd == cwnd && in bictcp_update()
218 ca->last_cwnd = cwnd; in bictcp_update()
224 ca->tcp_cwnd = cwnd; /* syn with cubic */ in bictcp_update()
226 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
228 ca->bic_origin_point = cwnd; in bictcp_update()
234 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
270 if (bic_target > cwnd) { in bictcp_update()
271 ca->cnt = cwnd / (bic_target - cwnd); in bictcp_update()
273 ca->cnt = 100 * cwnd; /* very small increment*/ in bictcp_update()
286 delta = (cwnd * scale) >> 3; in bictcp_update()
292 if (ca->tcp_cwnd > cwnd){ /* if bic is slower than tcp */ in bictcp_update()
293 delta = ca->tcp_cwnd - cwnd; in bictcp_update()
294 max_cnt = cwnd / delta; in bictcp_update()