Lines Matching defs:cwnd
142 * This is the first part of cwnd validation mechanism.
148 u32 cwnd = tp->snd_cwnd;
153 restart_cwnd = min(restart_cwnd, cwnd);
155 while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd)
156 cwnd >>= 1;
157 tp->snd_cwnd = max(cwnd, restart_cwnd);
1853 /* RFC2861, slow part. Adjust cwnd, after it was not full during one rto.
1854 * As additional protections, we do not touch cwnd in retransmission phases,
1880 /* Track the strongest available signal of the degree to which the cwnd
1881 * is fully utilized. If cwnd-limited then remember that fact for the
1882 * current window. If not cwnd-limited then track the maximum number of
1883 * outstanding packets in the current window. (If cwnd-limited then we
1913 * 2) not cwnd limited (this else condition)
2037 u32 in_flight, cwnd, halfcwnd;
2045 cwnd = tp->snd_cwnd;
2046 if (in_flight >= cwnd)
2052 halfcwnd = max(cwnd >> 1, 1U);
2053 return min(halfcwnd, cwnd - in_flight);
2205 /* From in_flight test above, we know that cwnd > in_flight. */
2249 * 1) We are cwnd-limited
2324 * Returns 0 if we should wait to probe (no cwnd available),
2342 * have enough cwnd, and
2383 /* Do we need to wait to drain cwnd? With none in flight, don't stall */
2453 /* Decrement cwnd here because we are sending
2607 * cwnd limit to force at most one packet out when push_one == 2.
2755 * not in loss recovery, that are either limited by cwnd or application.
2830 "invalid inflight: %u state %u cwnd %u mss %d\n",