Lines Matching refs:alpha
179 WRITE_ONCE(q->params.alpha, nla_get_u32(tb[TCA_PIE_ALPHA]));
311 u64 alpha, beta;
334 /* In the algorithm, alpha and beta are between 0 and 2 with typical
335 * value for alpha as 0.125. In this implementation, we use values 0-32
336 * passed from user space to represent this. Also, alpha and beta have
338 * probability. alpha/beta are updated locally below by scaling down
341 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4;
344 /* We scale alpha and beta differently depending on how heavy the
348 alpha >>= 1;
354 alpha >>= 2;
360 /* alpha and beta should be between 0 and 32, in multiples of 1/16 */
361 delta += alpha * (qdelay - params->target);
484 nla_put_u32(skb, TCA_PIE_ALPHA, READ_ONCE(q->params.alpha)) ||