Home
last modified time | relevance | path

Searched refs:prior_cwnd (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cc_cubic.c75 if (newly_acked_sacked <= 0 || !tp->prior_cwnd)
82 (__u64)tp->snd_ssthresh * prr_delivered + tp->prior_cwnd - 1; in tcp_cwnd_reduction()
83 sndcnt = (__u32)div64_u64(dividend, (__u64)tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction()
/linux/net/ipv4/
H A Dtcp_bbr.c118 u32 prior_cwnd; /* prior cwnd upon entering loss recovery */ member
327 bbr->prior_cwnd = tcp_snd_cwnd(tp); /* this cwnd is good enough */ in bbr_save_cwnd()
329 bbr->prior_cwnd = max(bbr->prior_cwnd, tcp_snd_cwnd(tp)); in bbr_save_cwnd()
503 cwnd = max(cwnd, bbr->prior_cwnd); in bbr_set_cwnd_to_recover_or_restore()
918 tcp_snd_cwnd_set(tp, max(tcp_snd_cwnd(tp), bbr->prior_cwnd)); in bbr_check_probe_rtt_done()
1044 bbr->prior_cwnd = 0; in bbr_init()
H A Dtcp_input.c2568 tp->prior_cwnd = tcp_snd_cwnd(tp); in tcp_enter_loss()
2977 tp->prior_cwnd = tcp_snd_cwnd(tp); in tcp_init_cwnd_reduction()
2990 if (newly_acked_sacked <= 0 || WARN_ON_ONCE(!tp->prior_cwnd)) in tcp_cwnd_reduction()
2998 tp->prior_cwnd - 1; in tcp_cwnd_reduction()
2999 sndcnt = div_u64(dividend, tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction()