Searched refs:red_wshift (Results 1 – 2 of 2) sorted by relevance
293 rp->red_wshift = i; in red_alloc()294 w = 1 << rp->red_wshift; in red_alloc()305 rp->red_thmin_s = rp->red_thmin << (rp->red_wshift + FP_SHIFT); in red_alloc()306 rp->red_thmax_s = rp->red_thmax << (rp->red_wshift + FP_SHIFT); in red_alloc()335 sp->q_avg = rp->red_avg >> rp->red_wshift; in red_getstats()392 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift); in red_addq()411 } else if (drop_early((avg - rp->red_thmin_s) >> rp->red_wshift, in red_addq()891 q_stats->q_avg = rp->red_avg >> rp->red_wshift;
142 int red_wshift; /* log(red_weight) */ member