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