Searched refs:rec_inv_sqrt (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/net/altq/
H A Daltq_codel.h81 * <at> rec_inv_sqrt: reciprocal value of sqrt(count) >> 1
91 u_int16_t rec_inv_sqrt; member in struct:codel_vars
H A Daltq_codel.c368 /* sizeof_in_bits(rec_inv_sqrt) */
370 /* needed shift to get a Q0.32 number from rec_inv_sqrt */
373 invsqrt = ((u_int32_t)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT;
379 vars->rec_inv_sqrt = val >> REC_INV_SQRT_SHIFT;
383 codel_control_law(u_int64_t t, u_int64_t interval, u_int32_t rec_inv_sqrt) argument
387 (rec_inv_sqrt << REC_INV_SQRT_SHIFT)) >> 32));
435 c->vars.rec_inv_sqrt);
454 /* we dont care if rec_inv_sqrt approximation
461 c->vars.rec_inv_sqrt = ~0U >> REC_INV_SQRT_SHIFT;
465 c->vars.rec_inv_sqrt);
[all...]

Completed in 114 milliseconds