Lines Matching refs:avg_rtt
247 u32 avg_rtt; in tcpnv_acked() local
274 avg_rtt = (((u64)sample->rtt_us) * nv_rtt_factor + in tcpnv_acked()
278 avg_rtt = sample->rtt_us; in tcpnv_acked()
279 ca->nv_min_rtt = avg_rtt << 1; in tcpnv_acked()
281 ca->nv_last_rtt = avg_rtt; in tcpnv_acked()
283 avg_rtt = sample->rtt_us; in tcpnv_acked()
288 do_div(rate64, avg_rtt ?: 1); in tcpnv_acked()
303 avg_rtt = nv_get_bounded_rtt(ca, avg_rtt); in tcpnv_acked()
306 if (avg_rtt < ca->nv_min_rtt) in tcpnv_acked()
307 ca->nv_min_rtt = avg_rtt; in tcpnv_acked()
310 if (avg_rtt < ca->nv_min_rtt_new) in tcpnv_acked()
311 ca->nv_min_rtt_new = avg_rtt; in tcpnv_acked()