Searched refs:th_min (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_red.h75 int th_min; /* red min threshold */ member in struct:redparams
121 int red_thmin_s; /* th_min scaled by avgshift */
129 int red_old; /* avg is above th_min */
H A Dclassq_rio.h91 int th_min; /* red min threshold */ member in struct:rio::dropprec_state
95 int th_min_s; /* th_min scaled by avgshift */
104 int old; /* avg is above th_min */
H A Dclassq_rio.c171 /* th_min, th_max, inv_pmax */
275 if (params == NULL || params[i].th_min == 0)
276 prec->th_min = default_rio_params[i].th_min;
278 prec->th_min = params[i].th_min;
285 * th_min_s and th_max_s are scaled versions of th_min
288 prec->th_min_s = prec->th_min << (rp->rio_wshift + FP_SHIFT);
295 prec->probd = (2 * (prec->th_max - prec->th_min) *
412 /* first exceeds th_min */
[all...]
H A Dclassq_red.c215 red_alloc(struct ifnet *ifp, int weight, int inv_pmax, int th_min, argument
240 if (th_min == 0)
243 rp->red_thmin = th_min;
283 * thmin_s and thmax_s are scaled versions of th_min and th_max
379 /* first exceeds th_min */
397 /* avg < th_min */
438 * prob = p_max * (avg - th_min) / (th_max - th_min)
440 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_ma
[all...]

Completed in 19 milliseconds