Searched refs:tcp_packets_in_flight (Results 1 – 7 of 7) sorted by relevance
16 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_left_out() 41 tp->app_limited = (tp->delivered + tcp_packets_in_flight(tp)) ?: 1; in BPF_PROG() 18 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) tcp_packets_in_flight() function
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()
172 if (tcp_packets_in_flight(tp) == 0) in tcp_event_data_sent()1239 tcp_snd_cwnd(tp) > tcp_packets_in_flight(tp)) { in tcp_tsq_write()2245 in_flight = tcp_packets_in_flight(tp); in tcp_cwnd_test()2394 in_flight = tcp_packets_in_flight(tp); in tcp_tso_should_defer()2656 if (tcp_packets_in_flight(tp) + 2 > tcp_snd_cwnd(tp)) { in tcp_mtu_probe()2657 if (!tcp_packets_in_flight(tp)) in tcp_mtu_probe()3023 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)); in tcp_write_xmit()3688 segs = tcp_snd_cwnd(tp) - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()
2206 WARN_ON((int)tcp_packets_in_flight(tp) < 0); in tcp_sacktag_write_queue()2369 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + 1); in tcp_enter_loss()2784 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()2805 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction()4060 rs.prior_in_flight = tcp_packets_in_flight(tp); in tcp_ack()5854 if (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)) in tcp_should_expand_sndbuf()
1398 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight() function