Home
last modified time | relevance | path

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

/linux/include/net/
H A 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/net/sched/
H A Dsch_cake.c391 u32 invsqrt, invsqrt2; in cobalt_newton_step() local
394 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step()
395 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in cobalt_newton_step()
399 val = (val * invsqrt) >> (32 - 2 + 1); in cobalt_newton_step()