Lines Matching refs:tcp_snd_cwnd
74 tcp_cong_avoid_ai(tp, min(tcp_snd_cwnd(tp), TCP_SCALABLE_AI_CNT),
78 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked);
133 bw = tcp_snd_cwnd(tp);
141 tcp_snd_cwnd(tp) > yeah->reno_count) {
143 tcp_snd_cwnd(tp) >> TCP_YEAH_EPSILON);
145 tcp_snd_cwnd_set(tp, tcp_snd_cwnd(tp) - reduction);
147 tcp_snd_cwnd_set(tp, max(tcp_snd_cwnd(tp),
150 tp->snd_ssthresh = tcp_snd_cwnd(tp);
154 yeah->reno_count = max(tcp_snd_cwnd(tp)>>1, 2U);
179 yeah->vegas.beg_snd_cwnd = tcp_snd_cwnd(tp);
196 reduction = min(reduction, max(tcp_snd_cwnd(tp)>>1, 2U));
198 reduction = max(reduction, tcp_snd_cwnd(tp) >> TCP_YEAH_DELTA);
200 reduction = max(tcp_snd_cwnd(tp)>>1, 2U);
205 return max_t(int, tcp_snd_cwnd(tp) - reduction, 2);