Lines Matching refs:cnt
50 u32 cnt; /* increase cwnd by 1 after ACKs */ member
62 ca->cnt = 0; in bictcp_reset()
98 ca->cnt = cwnd; in bictcp_update()
109 ca->cnt = cwnd / max_increment; in bictcp_update()
112 ca->cnt = (cwnd * smooth_part) / BICTCP_B; in bictcp_update()
115 ca->cnt = cwnd / dist; in bictcp_update()
120 ca->cnt = (cwnd * smooth_part) / BICTCP_B; in bictcp_update()
123 ca->cnt = (cwnd * (BICTCP_B-1)) in bictcp_update()
127 ca->cnt = cwnd / max_increment; in bictcp_update()
132 if (ca->cnt > 20) /* increase cwnd 5% per RTT */ in bictcp_update()
133 ca->cnt = 20; in bictcp_update()
136 ca->cnt = (ca->cnt << ACK_RATIO_SHIFT) / ca->delayed_ack; in bictcp_update()
137 if (ca->cnt == 0) /* cannot be zero */ in bictcp_update()
138 ca->cnt = 1; in bictcp_update()
153 tcp_cong_avoid_ai(tp, ca->cnt, 1); in bictcp_cong_avoid()
200 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt) in bictcp_acked() argument
207 cnt -= ca->delayed_ack >> ACK_RATIO_SHIFT; in bictcp_acked()
208 ca->delayed_ack += cnt; in bictcp_acked()