Lines Matching refs:icsk
81 struct inet_connection_sock *icsk = inet_csk(sk); in tcp_init_congestion_control() local
85 if (icsk->icsk_ca_ops == &tcp_init_congestion_ops) { in tcp_init_congestion_control()
89 icsk->icsk_ca_ops = ca; in tcp_init_congestion_control()
98 if (icsk->icsk_ca_ops->init) in tcp_init_congestion_control()
99 icsk->icsk_ca_ops->init(sk); in tcp_init_congestion_control()
105 struct inet_connection_sock *icsk = inet_csk(sk); in tcp_cleanup_congestion_control() local
107 if (icsk->icsk_ca_ops->release) in tcp_cleanup_congestion_control()
108 icsk->icsk_ca_ops->release(sk); in tcp_cleanup_congestion_control()
109 module_put(icsk->icsk_ca_ops->owner); in tcp_cleanup_congestion_control()
239 struct inet_connection_sock *icsk = inet_csk(sk); in tcp_set_congestion_control() local
247 if (ca == icsk->icsk_ca_ops) in tcp_set_congestion_control()
270 icsk->icsk_ca_ops = ca; in tcp_set_congestion_control()
272 if (sk->sk_state != TCP_CLOSE && icsk->icsk_ca_ops->init) in tcp_set_congestion_control()
273 icsk->icsk_ca_ops->init(sk); in tcp_set_congestion_control()