Searched refs:red_wshift (Results 1 – 2 of 2) sorted by relevance
289 rp->red_wshift = i; in red_alloc()290 w = 1 << rp->red_wshift; in red_alloc()301 rp->red_thmin_s = rp->red_thmin << (rp->red_wshift + FP_SHIFT); in red_alloc()302 rp->red_thmax_s = rp->red_thmax << (rp->red_wshift + FP_SHIFT); in red_alloc()331 sp->q_avg = rp->red_avg >> rp->red_wshift; in red_getstats()388 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift); in red_addq()407 } else if (drop_early((avg - rp->red_thmin_s) >> rp->red_wshift, in red_addq()887 q_stats->q_avg = rp->red_avg >> rp->red_wshift;
143 int red_wshift; /* log(red_weight) */ member