Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfw/
H A Dip_dn_glue.c118 int max_p ; /* maximum value for p_b (scaled) */ member
433 fs->max_p = f->max_p; in dn_compat_config_queue()
658 fs->max_p = f->fs.max_p; in dn_c_copy_pipe()
714 fs->max_p = f->fs.max_p; in dn_c_copy_fs()
H A Dip_dn_private.h224 int max_p ; /* maximum value for p_b (scaled) */ member
H A Dip_dummynet.c1214 fs->max_p = fs->fs.max_p; in config_red()
1237 fs->c_1 = fs->max_p; in config_red()
1239 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th); in config_red()
1243 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th; in config_red()
1244 fs->c_4 = SCALE(1) - 2 * fs->max_p; in config_red()
/freebsd/sys/dev/clk/allwinner/
H A Daw_clk_np.c104 uint32_t n, p, max_n, max_p, min_n, min_p; in aw_clk_np_find_best() local
109 max_p = aw_clk_factor_get_max(&sc->p); in aw_clk_np_find_best()
113 for (p = min_p; p <= max_p; ) { in aw_clk_np_find_best()
/freebsd/sys/arm/ti/clk/
H A Dti_clk_dpll.c115 uint32_t n, p, max_n, max_p, min_n, min_p; in ti_dpll_clk_find_best() local
120 max_p = ti_clk_factor_get_max(&sc->p); in ti_dpll_clk_find_best()
124 for (p = min_p; p <= max_p; ) { in ti_dpll_clk_find_best()
/freebsd/sys/netinet/
H A Dip_dummynet.h169 int max_p ; /* maximum value for p_b (scaled) */ member
/freebsd/sbin/ipfw/
H A Ddummynet.c500 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f", in print_flowset_parms()
505 1.0 * fs->max_p / (double)(1 << SCALE_RED)); in print_flowset_parms()
1616 NEED1("red/gred needs w_q/min_th/max_th/max_p\n"); in ipfw_config_pipe()
1621 * the format for parameters is w_q/min_th/max_th/max_p in ipfw_config_pipe()
1640 double max_p = strtod(end, NULL); in ipfw_config_pipe() local
1641 if (max_p > 1 || max_p < 0) in ipfw_config_pipe()
1642 errx(EX_DATAERR, "0 <= max_p <= 1"); in ipfw_config_pipe()
1643 fs->max_p = (int)(max_p * ( in ipfw_config_pipe()
[all...]