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()
1014 tp->snd_cwnd > tcp_packets_in_flight(tp)) { in tcp_tsq_write()
1865 if (win_used < tp->snd_cwnd) { in tcp_cwnd_application_limited()
1867 tp->snd_cwnd = (tp->snd_cwnd + win_used) >> 1; in tcp_cwnd_application_limited()
2044 cwnd = tp->snd_cwnd; in tcp_cwnd_test()
2200 BUG_ON(tp->snd_cwnd <= in_flight); in tcp_tso_should_defer()
2205 cong_win = (tp->snd_cwnd - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
2219 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); in tcp_tso_should_defer()
2347 tp->snd_cwnd < 11 || in tcp_mtu_probe()
2383 if (tcp_packets_in_flight(tp) + 2 > tp->snd_cwnd) { in tcp_mtu_probe()
2454 tp->snd_cwnd--; in tcp_mtu_probe()
2711 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tp->snd_cwnd); in tcp_write_xmit()
2817 tp->packets_out, sk->sk_state, tp->snd_cwnd, mss); in tcp_send_loss_probe()
3323 segs = tp->snd_cwnd - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()