Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_cdg.c191 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad() local
196 ca->gsum.max += gmax - ca->gradients[ca->tail].max; in tcp_cdg_grad()
198 ca->gradients[ca->tail].max = gmax; in tcp_cdg_grad()
201 gmax = ca->gsum.max; in tcp_cdg_grad()
210 grad = gmin > 0 ? gmin : gmax; in tcp_cdg_grad()
223 if (gmin <= -32 || gmax <= -32) in tcp_cdg_grad()
229 gmax = DIV_ROUND_CLOSEST(gmax, 64); in tcp_cdg_grad()
231 if (gmin > 0 && gmax <= 0) in tcp_cdg_grad()
233 else if ((gmin > 0 && gmax > 0) || gmax < 0) in tcp_cdg_grad()