Lines Matching refs:cnt
84 u32 cnt; /* increase cwnd by 1 after ACKs */
109 ca->cnt = 0;
274 ca->cnt = cwnd / (bic_target - cwnd);
276 ca->cnt = 100 * cwnd; /* very small increment*/
283 if (ca->last_max_cwnd == 0 && ca->cnt > 20)
284 ca->cnt = 20; /* increase cwnd 5% per RTT */
299 if (ca->cnt > max_cnt)
300 ca->cnt = max_cnt;
304 ca->cnt = (ca->cnt << ACK_RATIO_SHIFT) / ca->delayed_ack;
305 if (ca->cnt == 0) /* cannot be zero */
306 ca->cnt = 1;
323 tcp_cong_avoid_ai(tp, ca->cnt);
399 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt_us)
410 ratio += cnt;