Lines Matching refs:snd_cwnd
200 cnt = tp->snd_cwnd << -ca->cwnd_growth_factor; in tcpnv_cong_avoid()
203 cnt = max(4U, tp->snd_cwnd >> ca->cwnd_growth_factor); in tcpnv_cong_avoid()
212 return max((tp->snd_cwnd * nv_loss_dec_factor) >> 10, 2U); in tcpnv_recalc_ssthresh()
260 if (ca->nv_catchup && tp->snd_cwnd >= nv_min_cwnd) { in tcpnv_acked()
374 if (tp->snd_cwnd > max_win) { in tcpnv_acked()
401 if (tp->snd_cwnd - max_win > 2) { in tcpnv_acked()
405 dec = max(2U, ((tp->snd_cwnd - max_win) * in tcpnv_acked()
407 tp->snd_cwnd -= dec; in tcpnv_acked()
409 tp->snd_cwnd = max_win; in tcpnv_acked()
414 } else if (tp->snd_cwnd <= max_win - nv_pad_buffer) { in tcpnv_acked()
447 if (tp->snd_cwnd < nv_min_cwnd) in tcpnv_acked()
448 tp->snd_cwnd = nv_min_cwnd; in tcpnv_acked()