Lines Matching refs:snd_cwnd
78 if (tp->snd_cwnd <= tp->snd_ssthresh) in tcp_yeah_cong_avoid()
85 if (tp->snd_cwnd_cnt > min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT)) { in tcp_yeah_cong_avoid()
86 if (tp->snd_cwnd < tp->snd_cwnd_clamp) in tcp_yeah_cong_avoid()
87 tp->snd_cwnd++; in tcp_yeah_cong_avoid()
95 tcp_cong_avoid_ai(tp, tp->snd_cwnd); in tcp_yeah_cong_avoid()
150 bw = tp->snd_cwnd; in tcp_yeah_cong_avoid()
158 tp->snd_cwnd > yeah->reno_count) { in tcp_yeah_cong_avoid()
160 tp->snd_cwnd >> TCP_YEAH_EPSILON); in tcp_yeah_cong_avoid()
162 tp->snd_cwnd -= reduction; in tcp_yeah_cong_avoid()
164 tp->snd_cwnd = max(tp->snd_cwnd, in tcp_yeah_cong_avoid()
167 tp->snd_ssthresh = tp->snd_cwnd; in tcp_yeah_cong_avoid()
171 yeah->reno_count = max(tp->snd_cwnd>>1, 2U); in tcp_yeah_cong_avoid()
196 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd; in tcp_yeah_cong_avoid()
213 reduction = min(reduction, max(tp->snd_cwnd>>1, 2U)); in tcp_yeah_ssthresh()
215 reduction = max(reduction, tp->snd_cwnd >> TCP_YEAH_DELTA); in tcp_yeah_ssthresh()
217 reduction = max(tp->snd_cwnd>>1, 2U); in tcp_yeah_ssthresh()
222 return max_t(int, tp->snd_cwnd - reduction, 2); in tcp_yeah_ssthresh()