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