Lines Matching refs:snd_cwnd
398 u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh);
400 acked -= cwnd - tp->snd_cwnd;
401 tp->snd_cwnd = min(cwnd, tp->snd_cwnd_clamp);
407 /* In theory this is tp->snd_cwnd += 1 / tp->snd_cwnd (or alternative w),
415 tp->snd_cwnd++;
423 tp->snd_cwnd += delta;
425 tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_cwnd_clamp);
450 tcp_cong_avoid_ai(tp, tp->snd_cwnd, acked);
459 return max(tp->snd_cwnd >> 1U, 2U);
467 return max(tp->snd_cwnd, tp->prior_cwnd);