Lines Matching refs:tcp_snd_cwnd
149 target_cwnd = (u64)tcp_snd_cwnd(tp) * veno->basertt;
153 veno->diff = (tcp_snd_cwnd(tp) << V_PARAM_SHIFT) - target_cwnd;
167 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked);
172 if (tp->snd_cwnd_cnt >= tcp_snd_cwnd(tp)) {
174 tcp_snd_cwnd(tp) < tp->snd_cwnd_clamp) {
175 tcp_snd_cwnd_set(tp, tcp_snd_cwnd(tp) + 1);
184 if (tcp_snd_cwnd(tp) < 2)
186 else if (tcp_snd_cwnd(tp) > tp->snd_cwnd_clamp)
202 return max(tcp_snd_cwnd(tp) * 4 / 5, 2U);
205 return max(tcp_snd_cwnd(tp) >> 1U, 2U);