Searched refs:red_wshift (Results 1 – 2 of 2) sorted by relevance
237 rp->red_wshift = i; in red_alloc()238 w = 1 << rp->red_wshift; in red_alloc()249 rp->red_thmin_s = rp->red_thmin << (rp->red_wshift + FP_SHIFT); in red_alloc()250 rp->red_thmax_s = rp->red_thmax << (rp->red_wshift + FP_SHIFT); in red_alloc()273 sp->q_avg = rp->red_avg >> rp->red_wshift; in red_getstats()319 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift); in red_addq()338 } else if (drop_early((avg - rp->red_thmin_s) >> rp->red_wshift, in red_addq()
83 int red_wshift; /* log(red_weight) */ member