Home
last modified time | relevance | path

Searched refs:icsk_ca_ops (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dtcp_cong.c167 icsk->icsk_ca_ops = ca; in tcp_assign_congestion_control()
182 if (icsk->icsk_ca_ops->init) in tcp_init_congestion_control()
183 icsk->icsk_ca_ops->init(sk); in tcp_init_congestion_control()
197 icsk->icsk_ca_ops = ca; in tcp_reinit_congestion_control()
215 if (icsk->icsk_ca_ops->release) in tcp_cleanup_congestion_control()
216 icsk->icsk_ca_ops->release(sk); in tcp_cleanup_congestion_control()
217 bpf_module_put(icsk->icsk_ca_ops, icsk->icsk_ca_ops->owner); in tcp_cleanup_congestion_control()
369 if (ca == icsk->icsk_ca_ops) { in tcp_set_congestion_control()
Dtcp_dctcp.c98 inet_csk(sk)->icsk_ca_ops = &dctcp_reno; in dctcp_init()
193 if (inet_csk(sk)->icsk_ca_ops != &dctcp_reno) { in dctcp_get_info()
Dtcp_minisocks.c419 icsk->icsk_ca_ops = ca; in tcp_ca_openreq_child()
428 !bpf_try_module_get(icsk->icsk_ca_ops, icsk->icsk_ca_ops->owner))) in tcp_ca_openreq_child()
Dtcp_recovery.c163 if (!inet_csk(sk)->icsk_ca_ops->cong_control) in tcp_rack_reo_timeout()
Dtcp_input.c402 const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops; in tcp_sndbuf_expand()
2111 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); in tcp_enter_loss()
2455 tp->snd_cwnd = icsk->icsk_ca_ops->undo_cwnd(sk); in tcp_undo_cwnd_reduction()
2565 tp->snd_ssthresh = inet_csk(sk)->icsk_ca_ops->ssthresh(sk); in tcp_init_cwnd_reduction()
2600 if (inet_csk(sk)->icsk_ca_ops->cong_control) in tcp_end_cwnd_reduction()
3079 icsk->icsk_ca_ops->cong_avoid(sk, ack, acked); in tcp_cong_avoid()
3338 if (icsk->icsk_ca_ops->pkts_acked) { in tcp_clean_rtx_queue()
3343 icsk->icsk_ca_ops->pkts_acked(sk, &sample); in tcp_clean_rtx_queue()
3427 if (icsk->icsk_ca_ops->cong_control) { in tcp_cong_control()
3428 icsk->icsk_ca_ops->cong_control(sk, rs); in tcp_cong_control()
[all …]
Dinet_diag.c334 ca_ops = READ_ONCE(icsk->icsk_ca_ops); in inet_sk_diag_fill()
354 ca_ops = READ_ONCE(icsk->icsk_ca_ops); in inet_sk_diag_fill()
Dtcp_output.c1877 const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops; in tcp_cwnd_validate()
1983 const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops; in tcp_tso_segs()
3630 bpf_module_put(icsk->icsk_ca_ops, icsk->icsk_ca_ops->owner); in tcp_ca_dst_init()
3632 icsk->icsk_ca_ops = ca; in tcp_ca_dst_init()
Dtcp.c2798 if (icsk->icsk_ca_ops->release) in tcp_disconnect()
2799 icsk->icsk_ca_ops->release(sk); in tcp_disconnect()
3761 ca_ops = icsk->icsk_ca_ops; in do_tcp_getsockopt()
3782 if (copy_to_user(optval, icsk->icsk_ca_ops->name, len)) in do_tcp_getsockopt()
/kernel/linux/linux-5.10/include/net/
Dtcp.h1131 return icsk->icsk_ca_ops->flags & TCP_CONG_NEEDS_ECN; in tcp_ca_needs_ecn()
1138 if (icsk->icsk_ca_ops->set_state) in tcp_set_ca_state()
1139 icsk->icsk_ca_ops->set_state(sk, ca_state); in tcp_set_ca_state()
1147 if (icsk->icsk_ca_ops->cwnd_event) in tcp_ca_event()
1148 icsk->icsk_ca_ops->cwnd_event(sk, event); in tcp_ca_event()
1376 const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops; in tcp_slow_start_after_idle_check()
Dinet_connection_sock.h94 const struct tcp_congestion_ops *icsk_ca_ops; member
/kernel/linux/linux-5.10/net/core/
Dfilter.c4936 if (!icsk->icsk_ca_ops || optlen <= 1) in _bpf_getsockopt()
4938 strncpy(optval, icsk->icsk_ca_ops->name, optlen); in _bpf_getsockopt()