Searched refs:tcp_packets_in_flight (Results 1 – 6 of 6) sorted by relevance
18 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight() function 43 tp->app_limited = (tp->delivered + tcp_packets_in_flight(tp)) ?: 1; in BPF_PROG()
52 * Note that we use packets_out instead of tcp_packets_in_flight(tp) in tcp_rate_skb_sent() 203 tcp_packets_in_flight(tp) < tcp_snd_cwnd(tp) && in tcp_rate_check_app_limited() 207 (tp->delivered + tcp_packets_in_flight(tp)) ? : 1; in tcp_rate_check_app_limited()
155 prior_inflight = tcp_packets_in_flight(tp); in tcp_rack_reo_timeout() 157 if (prior_inflight != tcp_packets_in_flight(tp)) { in tcp_rack_reo_timeout()
500 cwnd = tcp_packets_in_flight(tp) + acked; in bbr_set_cwnd_to_recover_or_restore() 509 *new_cwnd = max(cwnd, tcp_packets_in_flight(tp) + acked); in bbr_set_cwnd_to_recover_or_restore() 903 bbr_packets_in_net_at_edt(sk, tcp_packets_in_flight(tcp_sk(sk))) <= in bbr_check_drain() 967 (tp->delivered + tcp_packets_in_flight(tp)) ? : 1; in bbr_update_min_rtt() 970 tcp_packets_in_flight(tp) <= bbr_cwnd_min_target) { in bbr_update_min_rtt()
169 if (tcp_packets_in_flight(tp) == 0) in tcp_event_data_sent() 1087 tcp_snd_cwnd(tp) > tcp_packets_in_flight(tp)) { in tcp_tsq_write() 2092 in_flight = tcp_packets_in_flight(tp); in tcp_cwnd_test() 2240 in_flight = tcp_packets_in_flight(tp); in tcp_tso_should_defer() 2492 if (tcp_packets_in_flight(tp) + 2 > tcp_snd_cwnd(tp)) { in tcp_mtu_probe() 2493 if (!tcp_packets_in_flight(tp)) in tcp_mtu_probe() 2854 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)); in tcp_write_xmit() 3516 segs = tcp_snd_cwnd(tp) - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()
2033 WARN_ON((int)tcp_packets_in_flight(tp) < 0); in tcp_sacktag_write_queue() 2196 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + 1); in tcp_enter_loss() 2611 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction() 2632 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction() 3864 rs.prior_in_flight = tcp_packets_in_flight(tp); in tcp_ack() 5624 if (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)) in tcp_should_expand_sndbuf()