OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TH_MAX
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/altq/
altq_rio.c
154
#define
TH_MAX
15 /* max threshold */
184
/* th_min,
th_max
, inv_pmax */
185
{
TH_MAX
* 2 + TH_MIN,
TH_MAX
* 3, INV_P_MAX }, /* low drop precedence */
186
{
TH_MAX
+ TH_MIN,
TH_MAX
* 2, INV_P_MAX }, /* medium drop precedence */
187
{ TH_MIN,
TH_MAX
, INV_P_MAX } /* high drop precedence */
269
if (params == NULL || params[i].
th_max
== 0)
270
prec->
th_max
= default_rio_params[i].
th_max
;
[
all
...]
altq_red.c
166
#define
TH_MAX
15 /* max threshold */
201
static int default_th_max =
TH_MAX
;
231
red_alloc(int weight, int inv_pmax, int th_min, int
th_max
, int flags,
257
if (
th_max
== 0)
260
rp->red_thmax =
th_max
;
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
408
/* avg >=
th_max
: forced drop */
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)
[
all
...]
Completed in 15 milliseconds
Indexes created Sat Sep 27 22:09:54 GMT 2025