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

/macosx-10.10.1/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_red.h120 int red_wshift; /* log(red_weight) */ member in struct:red
H A Dclassq_red.c283 rp->red_wshift = i;
284 w = 1 << rp->red_wshift;
295 rp->red_thmin_s = rp->red_thmin << (rp->red_wshift + FP_SHIFT);
296 rp->red_thmax_s = rp->red_thmax << (rp->red_wshift + FP_SHIFT);
329 sp->q_avg = rp->red_avg >> rp->red_wshift;
375 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift);
394 } else if (drop_early((avg - rp->red_thmin_s) >> rp->red_wshift,

Completed in 140 milliseconds