Searched refs:rio_wshift (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_rio.h111 int rio_wshift; /* log(red_weight) */ member in struct:rio
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_rio.h110 int rio_wshift; /* log(red_weight) */ member in struct:rio
H A Daltq_rio.c240 rp->rio_wshift = i;
241 w = 1 << rp->rio_wshift;
274 prec->th_min_s = prec->th_min << (rp->rio_wshift + FP_SHIFT);
275 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT);
304 sp->q_avg = rp->rio_precstate[i].avg >> rp->rio_wshift;
378 avg += (prec->qlen << FP_SHIFT) - (avg >> rp->rio_wshift);
400 } else if (drop_early((avg - prec->th_min_s) >> rp->rio_wshift,
654 rp->rio_precstate[i].avg >> rp->rio_wshift;

Completed in 113 milliseconds