Searched refs:invsqrt (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
H A D | codel_impl.h | 72 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2) 74 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.32 78 u32 invsqrt = ((u32)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT; in codel_Newton_step() local 79 u32 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in codel_Newton_step() 83 val = (val * invsqrt) >> (32 - 2 + 1); in codel_Newton_step()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | codel_impl.h | 76 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2) 78 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.32 82 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()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cake.c | 367 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2) 369 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.32 374 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() 524 * both the '0' and '1' entries in the invsqrt cache are 0xFFFFFFFF, as close in cobalt_should_drop()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_cake.c | 368 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2) 370 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.32 375 u32 invsqrt, invsqrt2; in cobalt_newton_step() local 378 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step() 379 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in cobalt_newton_step() 383 val = (val * invsqrt) >> (32 - 2 + 1); in cobalt_newton_step() 525 * both the '0' and '1' entries in the invsqrt cache are 0xFFFFFFFF, as close in cobalt_should_drop()
|
Completed in 12 milliseconds