Home
last modified time | relevance | path

Searched refs:_si (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/
H A Ddn_sched_rr.c152 rr_enqueue(struct dn_sch_inst *_si, struct dn_queue *q, struct mbuf *m) in rr_enqueue() argument
165 si = (struct rr_si *)(_si + 1); in rr_enqueue()
178 rr_dequeue(struct dn_sch_inst *_si) in rr_dequeue() argument
181 struct rr_si *si = (struct rr_si *)(_si + 1); in rr_dequeue()
224 rr_new_sched(struct dn_sch_inst *_si) in rr_new_sched() argument
226 struct rr_si *si = (struct rr_si *)(_si + 1); in rr_new_sched()
235 rr_free_sched(struct dn_sch_inst *_si) in rr_free_sched() argument
237 (void)_si; in rr_free_sched()
276 rr_append(q, (struct rr_si *)(_q->_si + 1)); in rr_new_queue()
288 struct rr_si *si = (struct rr_si *)(_q->_si + 1); in rr_free_queue()
H A Ddn_sched_prio.c87 prio_enqueue(struct dn_sch_inst *_si, struct dn_queue *q, struct mbuf *m) in prio_enqueue() argument
89 struct prio_si *si = (struct prio_si *)(_si + 1); in prio_enqueue()
116 prio_dequeue(struct dn_sch_inst *_si) in prio_dequeue() argument
118 struct prio_si *si = (struct prio_si *)(_si + 1); in prio_dequeue()
144 prio_new_sched(struct dn_sch_inst *_si) in prio_new_sched() argument
146 struct prio_si *si = (struct prio_si *)(_si + 1); in prio_new_sched()
165 struct prio_si *si = (struct prio_si *)(q->_si + 1); in prio_new_queue()
201 struct prio_si *si = (struct prio_si *)(q->_si + 1); in prio_free_queue()
H A Ddn_sched_fq_codel.h77 struct dn_sch_inst _si; /* standard scheduler instance */ member
106 si->_si.ni.drops ++; in fq_update_stats()
120 si->_si.ni.length += inc; in fq_update_stats()
121 si->_si.ni.len_bytes += len; in fq_update_stats()
131 si->_si.ni.tot_bytes +=len; in fq_update_stats()
132 si->_si.ni.tot_pkts ++; in fq_update_stats()
H A Ddn_sched_wf2q.c137 wf2qp_enqueue(struct dn_sch_inst *_si, struct dn_queue *q, struct mbuf *m) in wf2qp_enqueue() argument
140 struct wf2qp_si *si = (struct wf2qp_si *)(_si + 1); in wf2qp_enqueue()
193 wf2qp_dequeue(struct dn_sch_inst *_si) in wf2qp_dequeue() argument
196 struct wf2qp_si *si = (struct wf2qp_si *)(_si + 1); in wf2qp_dequeue()
266 wf2qp_new_sched(struct dn_sch_inst *_si) in wf2qp_new_sched() argument
268 struct wf2qp_si *si = (struct wf2qp_si *)(_si + 1); in wf2qp_new_sched()
284 wf2qp_free_sched(struct dn_sch_inst *_si) in wf2qp_free_sched() argument
286 struct wf2qp_si *si = (struct wf2qp_si *)(_si + 1); in wf2qp_free_sched()
313 wf2qp_enqueue(_q->_si, _q, _q->mq.head); in wf2qp_new_queue()
328 struct wf2qp_si *si = (struct wf2qp_si *)(q->_si + 1); in wf2qp_free_queue()
H A Ddn_sched_fq_codel.c298 mainq = (struct dn_queue *)(_si + 1); in fq_codel_enqueue()
299 si = (struct fq_codel_si *)_si; in fq_codel_enqueue()
300 schk = (struct fq_codel_schk *)(si->_si.sched+1); in fq_codel_enqueue()
354 fq_codel_dequeue(struct dn_sch_inst *_si) in fq_codel_dequeue() argument
363 si = (struct fq_codel_si *)_si; in fq_codel_dequeue()
435 fq_codel_new_sched(struct dn_sch_inst *_si) in fq_codel_new_sched() argument
442 si = (struct fq_codel_si *)_si; in fq_codel_new_sched()
443 schk = (struct fq_codel_schk *)(_si->sched+1); in fq_codel_new_sched()
453 q->_si = _si; in fq_codel_new_sched()
454 q->fs = _si->sched->fs; in fq_codel_new_sched()
[all …]
H A Ddn_sched_fq_pie.c301 si->_si.ni.drops ++; in fq_update_stats()
315 si->_si.ni.length += inc; in fq_update_stats()
316 si->_si.ni.len_bytes += len; in fq_update_stats()
326 si->_si.ni.tot_bytes +=len; in fq_update_stats()
327 si->_si.ni.tot_pkts ++; in fq_update_stats()
869 si = (struct fq_pie_si *)_si; in fq_pie_enqueue()
932 si = (struct fq_pie_si *)_si; in fq_pie_dequeue()
1013 si = (struct fq_pie_si *)_si; in fq_pie_new_sched()
1024 q->_si = _si; in fq_pie_new_sched()
1025 q->fs = _si->sched->fs; in fq_pie_new_sched()
[all …]
H A Ddn_sched.h185 if (q->_si) { in dn_dequeue()
186 q->_si->ni.length--; in dn_dequeue()
187 q->_si->ni.len_bytes -= m->m_pkthdr.len; in dn_dequeue()
H A Ddn_sched_fq_codel_helper.h57 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_dodequeue()
107 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_codel_dequeue()
H A Ddn_sched_fifo.c89 q->_si = si; in fifo_new_sched()
H A Ddn_aqm.h129 sni = &q->_si->ni; in update_stats()
H A Dip_dummynet.c345 q->_si = template->_si; in q_new()
346 q->_si->q_count++; in q_new()
383 q->_si->q_count--; in dn_delete_queue()
384 q->_si = NULL; in dn_delete_queue()
437 template._si = si; in ipdn_q_find()
548 si_destroy(void *_si, void *arg) in si_destroy() argument
550 struct dn_sch_inst *si = _si; in si_destroy()
605 struct dn_sch_inst *si = _si; in si_reset_credit()
666 si_cleanup_q(void *_si, void *arg) in si_cleanup_q() argument
668 struct dn_sch_inst *si = _si; in si_cleanup_q()
[all …]
H A Dip_dn_io.c502 if (q->fs == NULL || q->_si == NULL) { in dn_enqueue()
504 __FUNCTION__, q->fs, q->_si); in dn_enqueue()
509 ni = &q->_si->ni; in dn_enqueue()
H A Dip_dn_private.h261 struct dn_sch_inst *_si; /* owner scheduler instance */ member
H A Ddn_sched_qfq.c305 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_new_queue()
336 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_free_queue()
H A Ddn_aqm_pie.c416 ni = &q->_si->ni; in aqm_pie_dequeue()
/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c590 q->_si = c->si; in init()