Home
last modified time | relevance | path

Searched refs:th_max (Results 1 – 6 of 6) sorted by relevance

/src/sys/net/altq/
H A Daltq_rio.c242 if (params == NULL || params[i].th_max == 0) in rio_alloc()
243 prec->th_max = default_rio_params[i].th_max; in rio_alloc()
245 prec->th_max = params[i].th_max; in rio_alloc()
252 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT); in rio_alloc()
258 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc()
H A Daltq_red.c173 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument
207 if (th_max == 0) in red_alloc()
210 rp->red_thmax = th_max; in red_alloc()
H A Daltq_rio.h54 int th_max; /* red max threshold */ member
H A Daltq_red.h46 int th_max; /* red max threshold */ member
/src/sys/netpfil/ipfw/test/
H A Dmain.c30 int32_t th_min, th_max; /* thresholds for hysteresis; negative means per flow */ member
445 c->th_max = -20;/* 20 packets per flow */ in init()
481 DX(3, "setting max to %d", c->th_max); in init()
485 DX(3, "setting max to %d", c->th_max); in init()
488 c->th_max = getnum(av[1], NULL, av[0]); in init()
489 DX(3, "setting max to %d", c->th_max); in init()
521 if (c->th_max < 0) in init()
522 c->th_max = c->flows * -c->th_max; in init()
523 if (c->th_max <= c->th_min) in init()
524 c->th_max = c->th_min + 1; in init()
[all …]
/src/sys/contrib/dev/rtw89/
H A Dphy.c5373 u8 th_max = phystat->last_thermal_max; in rtw89_phy_thermal_protect() local
5380 if (th_max > hal->thermal_prot_th && lv < RTW89_THERMAL_PROT_LV_MAX) in rtw89_phy_thermal_protect()
5382 else if (th_max < hal->thermal_prot_th - 2 && lv > 0) in rtw89_phy_thermal_protect()
5397 u8 th, th_max = 0; in rtw89_phy_stat_thermal_update() local
5409 th_max = max(th_max, th); in rtw89_phy_stat_thermal_update()
5412 phystat->last_thermal_max = th_max; in rtw89_phy_stat_thermal_update()