Searched refs:tcp_packets_in_flight (Results 1 – 5 of 5) 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
185 if (tcp_packets_in_flight(tp) == 0) in tcp_event_data_sent() 1279 tcp_snd_cwnd(tp) > tcp_packets_in_flight(tp)) { in tcp_tsq_write() 1485 * Note that we use packets_out instead of tcp_packets_in_flight(tp) in tcp_rate_skb_sent() 2328 in_flight = tcp_packets_in_flight(tp); in tcp_cwnd_test() 2477 in_flight = tcp_packets_in_flight(tp); in tcp_tso_should_defer() 2740 if (tcp_packets_in_flight(tp) + 2 > tcp_snd_cwnd(tp)) { in tcp_mtu_probe() 2741 if (!tcp_packets_in_flight(tp)) in tcp_mtu_probe() 3083 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)); in tcp_write_xmit() 3751 segs = tcp_snd_cwnd(tp) - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()
2410 WARN_ON((int)tcp_packets_in_flight(tp) < 0); in tcp_sacktag_write_queue() 2574 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + 1); in tcp_enter_loss() 2989 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction() 3010 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction() 4311 rs.prior_in_flight = tcp_packets_in_flight(tp); in tcp_ack() 6039 if (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)) in tcp_should_expand_sndbuf()
1108 tcp_packets_in_flight(tp) < tcp_snd_cwnd(tp) && in tcp_rate_check_app_limited() 1112 (tp->delivered + tcp_packets_in_flight(tp)) ? : 1; in tcp_rate_check_app_limited()
1511 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_snd_cwnd() 1502 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) tcp_packets_in_flight() function