Lines Matching refs:snd_cwnd
146 u32 cwnd = tp->snd_cwnd; in tcp_cwnd_restart()
155 tp->snd_cwnd = max(cwnd, restart_cwnd); in tcp_cwnd_restart()
1455 if (win_used < tp->snd_cwnd) { in tcp_cwnd_application_limited()
1457 tp->snd_cwnd = (tp->snd_cwnd + win_used) >> 1; in tcp_cwnd_application_limited()
1596 cwnd = tp->snd_cwnd; in tcp_cwnd_test()
1779 BUG_ON(tcp_skb_pcount(skb) <= 1 || (tp->snd_cwnd <= in_flight)); in tcp_tso_should_defer()
1784 cong_win = (tp->snd_cwnd - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
1798 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); in tcp_tso_should_defer()
1888 tp->snd_cwnd < 11 || in tcp_mtu_probe()
1924 if (tcp_packets_in_flight(tp) + 2 > tp->snd_cwnd) { in tcp_mtu_probe()
1993 tp->snd_cwnd--; in tcp_mtu_probe()
2139 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tp->snd_cwnd); in tcp_write_xmit()
2177 if ((tp->snd_cwnd > tcp_packets_in_flight(tp)) && in tcp_schedule_loss_probe()
2757 if (tcp_packets_in_flight(tp) >= tp->snd_cwnd) in tcp_xmit_retransmit_queue()