Home
last modified time | relevance | path

Searched refs:rec_inv_sqrt (Results 1 – 3 of 3) 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()
89 vars->rec_inv_sqrt = val >> REC_INV_SQRT_SHIFT; in codel_Newton_step()
99 u32 rec_inv_sqrt) in codel_control_law() argument
101 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
191 vars->rec_inv_sqrt); in codel_dequeue()
210 vars->rec_inv_sqrt); in codel_dequeue()
246 vars->rec_inv_sqrt = ~0U >> REC_INV_SQRT_SHIFT; in codel_dequeue()
250 vars->rec_inv_sqrt); in codel_dequeue()
H A Dcodel.h133 u16 rec_inv_sqrt; member
/linux/net/sched/
H A Dsch_cake.c101 * @rec_inv_sqrt: reciprocal value of sqrt(count) >> 1
110 u32 rec_inv_sqrt; member
394 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step()
401 vars->rec_inv_sqrt = val; in cobalt_newton_step()
407 vars->rec_inv_sqrt = inv_sqrt_cache[vars->count]; in cobalt_invsqrt()
418 * We maintain in rec_inv_sqrt the reciprocal value of sqrt(count) to avoid
423 u32 rec_inv_sqrt) in cobalt_control() argument
426 rec_inv_sqrt)); in cobalt_control()
478 vars->rec_inv_sqrt); in cobalt_queue_empty()
527 vars->rec_inv_sqrt); in cobalt_should_drop()
[all...]