Lines Matching defs:cwnd
140 * This is the first part of cwnd validation mechanism.
146 u32 cwnd = tcp_snd_cwnd(tp);
151 restart_cwnd = min(restart_cwnd, cwnd);
153 while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd)
154 cwnd >>= 1;
155 tcp_snd_cwnd_set(tp, max(cwnd, restart_cwnd));
1854 /* RFC2861, slow part. Adjust cwnd, after it was not full during one rto.
1855 * As additional protections, we do not touch cwnd in retransmission phases,
1881 /* Track the strongest available signal of the degree to which the cwnd
1882 * is fully utilized. If cwnd-limited then remember that fact for the
1883 * current window. If not cwnd-limited then track the maximum number of
1884 * outstanding packets in the current window. (If cwnd-limited then we
1914 * 2) not cwnd limited (this else condition)
2047 u32 in_flight, cwnd, halfcwnd;
2055 cwnd = tcp_snd_cwnd(tp);
2056 if (in_flight >= cwnd)
2062 halfcwnd = max(cwnd >> 1, 1U);
2063 return min(halfcwnd, cwnd - in_flight);
2210 /* From in_flight test above, we know that cwnd > in_flight. */
2254 * 1) We are cwnd-limited
2382 * Returns 0 if we should wait to probe (no cwnd available),
2400 * have enough cwnd, and
2441 /* Do we need to wait to drain cwnd? With none in flight, don't stall */
2511 /* Decrement cwnd here because we are sending
2665 * cwnd limit to force at most one packet out when push_one == 2.
2814 * not in loss recovery, that are either limited by cwnd or application.
2893 "invalid inflight: %u state %u cwnd %u mss %d\n",