Home
last modified time | relevance | path

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

/Linux-v6.1/include/net/
Dcodel_impl.h82 u32 invsqrt = ((u32)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT; in codel_Newton_step() local
83 u32 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in codel_Newton_step()
87 val = (val * invsqrt) >> (32 - 2 + 1); in codel_Newton_step()
/Linux-v6.1/net/sched/
Dsch_cake.c374 u32 invsqrt, invsqrt2; in cobalt_newton_step() local
377 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step()
378 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in cobalt_newton_step()
382 val = (val * invsqrt) >> (32 - 2 + 1); in cobalt_newton_step()