Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/linux/net/sched/
H A Dsch_cake.c110 u32 rec_inv_sqrt; member
378 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step()
385 vars->rec_inv_sqrt = val; in cobalt_newton_step()
391 vars->rec_inv_sqrt = cobalt_rec_inv_sqrt_cache[vars->count]; in cobalt_invsqrt()
411 v.rec_inv_sqrt = ~0U; in cobalt_cache_init()
412 cobalt_rec_inv_sqrt_cache[0] = v.rec_inv_sqrt; in cobalt_cache_init()
420 cobalt_rec_inv_sqrt_cache[v.count] = v.rec_inv_sqrt; in cobalt_cache_init()
440 u32 rec_inv_sqrt) in cobalt_control() argument
443 rec_inv_sqrt)); in cobalt_control()
495 vars->rec_inv_sqrt); in cobalt_queue_empty()
[all …]