/linux-6.1.9/net/ipv4/ |
D | tcp_vegas.c | 162 return min(tp->snd_ssthresh, tcp_snd_cwnd(tp)); in tcp_vegas_ssthresh() 243 tp->snd_ssthresh = tcp_vegas_ssthresh(tp); in tcp_vegas_cong_avoid() 259 tp->snd_ssthresh in tcp_vegas_cong_avoid() 278 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_vegas_cong_avoid()
|
D | tcp_westwood.c | 247 tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event() 248 tcp_snd_cwnd_set(tp, tp->snd_ssthresh); in tcp_westwood_event() 251 tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
|
D | tcp_metrics.c | 407 max(tcp_snd_cwnd(tp) >> 1, tp->snd_ssthresh)); in tcp_update_metrics() 419 (val + tp->snd_ssthresh) >> 1); in tcp_update_metrics() 424 if (val && tp->snd_ssthresh > val) in tcp_update_metrics() 426 tp->snd_ssthresh); in tcp_update_metrics() 469 tp->snd_ssthresh = val; in tcp_init_metrics() 470 if (tp->snd_ssthresh > tp->snd_cwnd_clamp) in tcp_init_metrics() 471 tp->snd_ssthresh = tp->snd_cwnd_clamp; in tcp_init_metrics() 476 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_metrics()
|
D | bpf_tcp_ca.c | 109 case offsetof(struct tcp_sock, snd_ssthresh): in bpf_tcp_ca_btf_struct_access() 110 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access()
|
D | tcp_cubic.c | 139 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in cubictcp_init() 422 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update() 442 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update()
|
D | tcp_nv.c | 384 } else if (tp->snd_ssthresh == TCP_INFINITE_SSTHRESH) { in tcpnv_acked() 399 tp->snd_ssthresh = in tcpnv_acked()
|
D | tcp_cdg.c | 165 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_cdg_hystart_update() 184 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_cdg_hystart_update()
|
D | tcp_hybla.c | 162 tcp_snd_cwnd_set(tp, min(tcp_snd_cwnd(tp), tp->snd_ssthresh)); in hybla_cong_avoid()
|
D | tcp_yeah.c | 150 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_yeah_cong_avoid()
|
D | tcp_bic.c | 77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
|
D | tcp_dctcp.c | 152 tp->snd_ssthresh = max(tcp_snd_cwnd(tp) >> 1U, 2U); in dctcp_react_to_loss()
|
D | tcp_bbr.c | 898 tcp_sk(sk)->snd_ssthresh = in bbr_check_drain() 1044 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in bbr_init() 1103 return tcp_sk(sk)->snd_ssthresh; in bbr_ssthresh()
|
D | tcp_input.c | 912 if (tcp_snd_cwnd(tp) < tp->snd_ssthresh / 2) in tcp_update_pacing_rate() 2153 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); in tcp_enter_loss() 2467 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO() 2476 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO() 2502 if (tp->prior_ssthresh > tp->snd_ssthresh) { in tcp_undo_cwnd_reduction() 2503 tp->snd_ssthresh = tp->prior_ssthresh; in tcp_undo_cwnd_reduction() 2621 tp->snd_ssthresh = inet_csk(sk)->icsk_ca_ops->ssthresh(sk); in tcp_init_cwnd_reduction() 2629 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction() 2636 u64 dividend = (u64)tp->snd_ssthresh * tp->prr_delivered + in tcp_cwnd_reduction() 2659 if (tp->snd_ssthresh < TCP_INFINITE_SSTHRESH && in tcp_end_cwnd_reduction() [all …]
|
D | tcp_cong.c | 408 u32 cwnd = min(tcp_snd_cwnd(tp) + acked, tp->snd_ssthresh); in tcp_slow_start()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | tcp_ca_incompl_cong_ops.c | 18 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
|
D | bpf_iter_tcp4.c | 71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart() 141 : (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh) in dump_tcp_sock()
|
D | tcp_ca_write_sk_pacing.c | 44 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
|
D | bpf_cubic.c | 184 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in BPF_PROG() 472 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update() 487 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
|
D | bpf_iter_tcp6.c | 71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart() 146 : tp->tcp.snd_ssthresh) in dump_tcp6_sock()
|
D | test_sock_fields.c | 91 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
|
D | bpf_dctcp.c | 153 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | bpf_tcp_helpers.h | 75 __u32 snd_ssthresh; member 202 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
|
/linux-6.1.9/include/linux/ |
D | tcp.h | 315 u32 snd_ssthresh; /* Slow start size threshold */ member
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | sock_fields.c | 92 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
|
/linux-6.1.9/include/net/ |
D | tcp.h | 1238 return tcp_snd_cwnd(tp) < tp->snd_ssthresh; in tcp_in_slow_start() 1243 return tp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart() 1261 return tp->snd_ssthresh; in tcp_current_ssthresh() 1263 return max(tp->snd_ssthresh, in tcp_current_ssthresh()
|