Home
last modified time | relevance | path

Searched refs:gmin (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/ipv4/
Dtcp_cdg.c192 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad() local
197 ca->gsum.min += gmin - ca->gradients[ca->tail].min; in tcp_cdg_grad()
199 ca->gradients[ca->tail].min = gmin; in tcp_cdg_grad()
202 gmin = ca->gsum.min; in tcp_cdg_grad()
212 grad = gmin > 0 ? gmin : gmax; in tcp_cdg_grad()
225 if (gmin <= -32 || gmax <= -32) in tcp_cdg_grad()
230 gmin = DIV_ROUND_CLOSEST(gmin, 64); in tcp_cdg_grad()
233 if (gmin > 0 && gmax <= 0) in tcp_cdg_grad()
235 else if ((gmin > 0 && gmax > 0) || gmax < 0) in tcp_cdg_grad()