Lines Matching refs:snd_cwnd
129 u32 cwnd = tp->snd_cwnd; in tcp_cwnd_restart()
138 tp->snd_cwnd = max(cwnd, restart_cwnd); in tcp_cwnd_restart()
796 tp->snd_cwnd > tcp_packets_in_flight(tp)) { in tcp_tsq_write()
1604 if (win_used < tp->snd_cwnd) { in tcp_cwnd_application_limited()
1606 tp->snd_cwnd = (tp->snd_cwnd + win_used) >> 1; in tcp_cwnd_application_limited()
1776 cwnd = tp->snd_cwnd; in tcp_cwnd_test()
1928 BUG_ON(tp->snd_cwnd <= in_flight); in tcp_tso_should_defer()
1933 cong_win = (tp->snd_cwnd - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
1947 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); in tcp_tso_should_defer()
2057 tp->snd_cwnd < 11 || in tcp_mtu_probe()
2093 if (tcp_packets_in_flight(tp) + 2 > tp->snd_cwnd) { in tcp_mtu_probe()
2162 tp->snd_cwnd--; in tcp_mtu_probe()
2389 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tp->snd_cwnd); in tcp_write_xmit()
2966 segs = tp->snd_cwnd - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()