Lines Matching refs:snd_cwnd
149 u32 cwnd = tp->snd_cwnd; in tcp_cwnd_restart()
158 tp->snd_cwnd = max(cwnd, restart_cwnd); in tcp_cwnd_restart()
1449 if (win_used < tp->snd_cwnd) { in tcp_cwnd_application_limited()
1451 tp->snd_cwnd = (tp->snd_cwnd + win_used) >> 1; in tcp_cwnd_application_limited()
1569 cwnd = tp->snd_cwnd; in tcp_cwnd_test()
1746 BUG_ON(tcp_skb_pcount(skb) <= 1 || (tp->snd_cwnd <= in_flight)); in tcp_tso_should_defer()
1751 cong_win = (tp->snd_cwnd - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
1766 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); in tcp_tso_should_defer()
1827 tp->snd_cwnd < 11 || in tcp_mtu_probe()
1850 if (tcp_packets_in_flight(tp) + 2 > tp->snd_cwnd) { in tcp_mtu_probe()
1921 tp->snd_cwnd--; in tcp_mtu_probe()
2102 if ((tp->snd_cwnd > tcp_packets_in_flight(tp)) && in tcp_schedule_loss_probe()
2681 if (tcp_packets_in_flight(tp) >= tp->snd_cwnd) in tcp_xmit_retransmit_queue()