Lines Matching refs:sk

44 static inline void veno_enable(struct sock *sk)  in veno_enable()  argument
46 struct veno *veno = inet_csk_ca(sk); in veno_enable()
54 static inline void veno_disable(struct sock *sk) in veno_disable() argument
56 struct veno *veno = inet_csk_ca(sk); in veno_disable()
62 static void tcp_veno_init(struct sock *sk) in tcp_veno_init() argument
64 struct veno *veno = inet_csk_ca(sk); in tcp_veno_init()
68 veno_enable(sk); in tcp_veno_init()
72 static void tcp_veno_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us) in tcp_veno_pkts_acked() argument
74 struct veno *veno = inet_csk_ca(sk); in tcp_veno_pkts_acked()
94 static void tcp_veno_state(struct sock *sk, u8 ca_state) in tcp_veno_state() argument
97 veno_enable(sk); in tcp_veno_state()
99 veno_disable(sk); in tcp_veno_state()
111 static void tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) in tcp_veno_cwnd_event() argument
114 tcp_veno_init(sk); in tcp_veno_cwnd_event()
117 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_veno_cong_avoid() argument
119 struct tcp_sock *tp = tcp_sk(sk); in tcp_veno_cong_avoid()
120 struct veno *veno = inet_csk_ca(sk); in tcp_veno_cong_avoid()
123 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
128 if (!tcp_is_cwnd_limited(sk)) in tcp_veno_cong_avoid()
136 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
190 static u32 tcp_veno_ssthresh(struct sock *sk) in tcp_veno_ssthresh() argument
192 const struct tcp_sock *tp = tcp_sk(sk); in tcp_veno_ssthresh()
193 struct veno *veno = inet_csk_ca(sk); in tcp_veno_ssthresh()