Lines Matching refs:cwnd
134 * This is the first part of cwnd validation mechanism. */
140 u32 cwnd = tp->snd_cwnd;
145 restart_cwnd = min(restart_cwnd, cwnd);
147 while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd)
148 cwnd >>= 1;
149 tp->snd_cwnd = max(cwnd, restart_cwnd);
1311 unsigned int mss_now, unsigned int cwnd)
1317 cwnd_len = mss_now * cwnd;
1336 u32 in_flight, cwnd;
1343 cwnd = tp->snd_cwnd;
1344 if (in_flight < cwnd)
1345 return (cwnd - in_flight);
1546 /* From in_flight test above, we know that cwnd > in_flight. */
1594 * Returns 0 if we should wait to probe (no cwnd available),
1611 * have enough cwnd, and
1638 /* Do we need to wait to drain cwnd? With none in flight, don't stall */
1705 /* Decrement cwnd here because we are sending