Lines Matching defs:TH_MIN
165 #define TH_MIN 5 /* min threshold */
200 static int default_th_min = TH_MIN;
231 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags,
253 if (th_min == 0)
256 rp->red_thmin = th_min;
295 * thmin_s and thmax_s are scaled versions of th_min and th_max
303 * probd = (2 * (TH_MAX-TH_MIN) / pmax) in fixed-point
411 /* first exceeds th_min */
430 /* avg < th_min */
486 * prob = p_max * (avg - th_min) / (th_max - th_min)
488 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_max - count*(avg-th_min))
505 * th_max-th_min=10 and p_max=1/30)
506 * drop probability = (avg - TH_MIN) / d
884 q_stats->th_min = rp->red_thmin;
959 default_th_min = rp->th_min;