Lines Matching refs:veno

26 struct veno {  struct
46 struct veno *veno = inet_csk_ca(sk); in veno_enable() local
49 veno->doing_veno_now = 1; in veno_enable()
51 veno->minrtt = 0x7fffffff; in veno_enable()
56 struct veno *veno = inet_csk_ca(sk); in veno_disable() local
59 veno->doing_veno_now = 0; in veno_disable()
64 struct veno *veno = inet_csk_ca(sk); in tcp_veno_init() local
66 veno->basertt = 0x7fffffff; in tcp_veno_init()
67 veno->inc = 1; in tcp_veno_init()
74 struct veno *veno = inet_csk_ca(sk); in tcp_veno_pkts_acked() local
84 if (vrtt < veno->basertt) in tcp_veno_pkts_acked()
85 veno->basertt = vrtt; in tcp_veno_pkts_acked()
90 veno->minrtt = min(veno->minrtt, vrtt); in tcp_veno_pkts_acked()
91 veno->cntrtt++; in tcp_veno_pkts_acked()
120 struct veno *veno = inet_csk_ca(sk); in tcp_veno_cong_avoid() local
122 if (!veno->doing_veno_now) { in tcp_veno_cong_avoid()
132 if (veno->cntrtt <= 2) { in tcp_veno_cong_avoid()
145 rtt = veno->minrtt; in tcp_veno_cong_avoid()
147 target_cwnd = (u64)tp->snd_cwnd * veno->basertt; in tcp_veno_cong_avoid()
151 veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
158 if (veno->diff < beta) { in tcp_veno_cong_avoid()
168 if (veno->inc && in tcp_veno_cong_avoid()
171 veno->inc = 0; in tcp_veno_cong_avoid()
173 veno->inc = 1; in tcp_veno_cong_avoid()
186 veno->minrtt = 0x7fffffff; in tcp_veno_cong_avoid()
193 struct veno *veno = inet_csk_ca(sk); in tcp_veno_ssthresh() local
195 if (veno->diff < beta) in tcp_veno_ssthresh()
217 BUILD_BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE); in tcp_veno_register()