Searched refs:tcp_packets_in_flight (Results 1 – 7 of 7) sorted by relevance
18 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight() function43 tp->app_limited = (tp->delivered + tcp_packets_in_flight(tp)) ?: 1; in BPF_PROG()
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()1079 tcp_snd_cwnd(tp) > tcp_packets_in_flight(tp)) { in tcp_tsq_write()2090 in_flight = tcp_packets_in_flight(tp); in tcp_cwnd_test()2238 in_flight = tcp_packets_in_flight(tp); in tcp_tso_should_defer()2490 if (tcp_packets_in_flight(tp) + 2 > tcp_snd_cwnd(tp)) { in tcp_mtu_probe()2491 if (!tcp_packets_in_flight(tp)) in tcp_mtu_probe()2853 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)); in tcp_write_xmit()3504 segs = tcp_snd_cwnd(tp) - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()
2046 WARN_ON((int)tcp_packets_in_flight(tp) < 0); in tcp_sacktag_write_queue()2216 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + 1); in tcp_enter_loss()2714 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()2733 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction()3969 rs.prior_in_flight = tcp_packets_in_flight(tp); in tcp_ack()5711 if (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)) in tcp_should_expand_sndbuf()
1322 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight() function