Lines Matching refs:cwnd
221 static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) in bictcp_update() argument
228 if (ca->last_cwnd == cwnd && in bictcp_update()
239 ca->last_cwnd = cwnd; in bictcp_update()
245 ca->tcp_cwnd = cwnd; /* syn with cubic */ in bictcp_update()
247 if (ca->last_max_cwnd <= cwnd) { in bictcp_update()
249 ca->bic_origin_point = cwnd; in bictcp_update()
255 * (ca->last_max_cwnd - cwnd)); in bictcp_update()
293 if (bic_target > cwnd) { in bictcp_update()
294 ca->cnt = cwnd / (bic_target - cwnd); in bictcp_update()
296 ca->cnt = 100 * cwnd; /* very small increment*/ in bictcp_update()
311 delta = (cwnd * scale) >> 3; in bictcp_update()
317 if (ca->tcp_cwnd > cwnd) { /* if bic is slower than tcp */ in bictcp_update()
318 delta = ca->tcp_cwnd - cwnd; in bictcp_update()
319 max_cnt = cwnd / delta; in bictcp_update()