Searched refs:max_p (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/sys/netinet/
H A Dip_dummynet.h171 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_fs
/freebsd-13-stable/sys/arm/allwinner/clkng/
H A Daw_clk_np.c112 uint32_t n, p, max_n, max_p, min_n, min_p; local
117 max_p = aw_clk_factor_get_max(&sc->p);
121 for (p = min_p; p <= max_p; ) {
/freebsd-13-stable/sys/arm/ti/clk/
H A Dti_clk_dpll.c124 uint32_t n, p, max_n, max_p, min_n, min_p; local
129 max_p = ti_clk_factor_get_max(&sc->p);
133 for (p = min_p; p <= max_p; ) {
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_dn_glue.c119 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_flow_set
120 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
121 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
122 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
123 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
431 fs->max_p = f->max_p;
653 fs->max_p = f->fs.max_p;
706 fs->max_p
[all...]
H A Dip_dn_private.h234 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_fsk
236 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
237 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
238 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
239 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
H A Dip_dummynet.c1204 fs->max_p = fs->fs.max_p;
1227 fs->c_1 = fs->max_p;
1229 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th);
1233 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th;
1234 fs->c_4 = SCALE(1) - 2 * fs->max_p;
/freebsd-13-stable/sbin/ipfw/
H A Ddummynet.c493 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f",
498 1.0 * fs->max_p / (double)(1 << SCALE_RED));
1595 NEED1("red/gred needs w_q/min_th/max_th/max_p\n");
1600 * the format for parameters is w_q/min_th/max_th/max_p
1619 double max_p = strtod(end, NULL); local
1620 if (max_p > 1 || max_p < 0)
1621 errx(EX_DATAERR, "0 <= max_p <= 1");
1622 fs->max_p = (int)(max_p * (
[all...]

Completed in 160 milliseconds