Home
last modified time | relevance | path

Searched refs:schk (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c292 struct fq_codel_schk *schk; in fq_codel_enqueue() local
299 schk = (struct fq_codel_schk *)(si->_si.sched+1); in fq_codel_enqueue()
300 param = &schk->cfg; in fq_codel_enqueue()
328 if (mainq->ni.length > schk->cfg.limit) { D("over limit"); in fq_codel_enqueue()
330 for (maxidx = 0; maxidx < schk->cfg.flows_cnt; maxidx++) in fq_codel_enqueue()
333 if (maxidx < schk->cfg.flows_cnt) { in fq_codel_enqueue()
335 for (i = maxidx + 1; i < schk->cfg.flows_cnt; i++) in fq_codel_enqueue()
356 struct fq_codel_schk *schk; in fq_codel_dequeue() local
363 schk = (struct fq_codel_schk *)(si->_si.sched+1); in fq_codel_dequeue()
364 param = &schk->cfg; in fq_codel_dequeue()
[all …]
H A Ddn_sched_rr.c211 struct rr_schk *schk = (struct rr_schk *)(_schk + 1); in rr_config() local
215 schk->min_q = 64; in rr_config()
216 schk->max_q = 2048; in rr_config()
217 schk->q_bytes = 1500; /* quantum */ in rr_config()
245 struct rr_schk *schk = (struct rr_schk *)(fs->sched + 1); in rr_new_fsk() local
250 ipdn_bound_var(&fs->fs.par[1], schk->q_bytes, in rr_new_fsk()
251 schk->min_q, schk->max_q, "RR quantum"); in rr_new_fsk()
H A Ddn_sched_fq_pie.c867 struct fq_pie_schk *schk; in fq_pie_enqueue() local
876 schk = (struct fq_pie_schk *)(si->_si.sched+1); in fq_pie_enqueue()
877 param = &schk->cfg; in fq_pie_enqueue()
904 if (mainq->ni.length > schk->cfg.limit) { in fq_pie_enqueue()
906 for (maxidx = 0; maxidx < schk->cfg.flows_cnt; maxidx++) in fq_pie_enqueue()
909 if (maxidx < schk->cfg.flows_cnt) { in fq_pie_enqueue()
911 for (i = maxidx + 1; i < schk->cfg.flows_cnt; i++) in fq_pie_enqueue()
931 struct fq_pie_schk *schk; in fq_pie_dequeue() local
938 schk = (struct fq_pie_schk *)(si->_si.sched+1); in fq_pie_dequeue()
939 param = &schk->cfg; in fq_pie_dequeue()
[all …]
H A Ddn_sched_fq_codel_helper.h55 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_dodequeue() local
81 if (sojourn_time < schk->cfg.ccfg.target || q->stats.len_bytes <= q->cst.maxpkt_size) { in fqc_dodequeue()
88 q->cst.first_above_time = now + schk->cfg.ccfg.interval; in fqc_dodequeue()
105 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_codel_dequeue() local
108 cprms = &schk->cfg.ccfg; in fqc_codel_dequeue()
H A Dip_dummynet.c1413 struct dn_schk *schk; in get_sched_parms() local
1440 schk = locate_scheduler(ep->nr); in get_sched_parms()
1441 if (!schk) { in get_sched_parms()
1447 if (schk->fp && schk->fp->getconfig) { in get_sched_parms()
1448 if(schk->fp->getconfig(schk, ep)) { in get_sched_parms()