Lines Matching refs:snd_cwnd
145 u32 cwnd = tp->snd_cwnd; in tcp_cwnd_restart()
154 tp->snd_cwnd = max(cwnd, restart_cwnd); in tcp_cwnd_restart()
1016 tp->snd_cwnd > tcp_packets_in_flight(tp)) { in tcp_tsq_write()
1863 if (win_used < tp->snd_cwnd) { in tcp_cwnd_application_limited()
1865 tp->snd_cwnd = (tp->snd_cwnd + win_used) >> 1; in tcp_cwnd_application_limited()
2037 cwnd = tp->snd_cwnd; in tcp_cwnd_test()
2190 BUG_ON(tp->snd_cwnd <= in_flight); in tcp_tso_should_defer()
2195 cong_win = (tp->snd_cwnd - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
2209 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); in tcp_tso_should_defer()
2339 tp->snd_cwnd < 11 || in tcp_mtu_probe()
2375 if (tcp_packets_in_flight(tp) + 2 > tp->snd_cwnd) { in tcp_mtu_probe()
2444 tp->snd_cwnd--; in tcp_mtu_probe()
2701 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tp->snd_cwnd); in tcp_write_xmit()
2811 tp->packets_out, sk->sk_state, tp->snd_cwnd, mss); in tcp_send_loss_probe()
3295 segs = tp->snd_cwnd - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()