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

/freebsd-11.0-release/sys/dev/twa/
H A Dtw_cl.h206 struct tw_cli_q_stats q_stats[TW_CLI_Q_COUNT];/* queue statistics */ member in struct:tw_cli_ctlr_context
219 (ctlr)->q_stats[q_type].cur_len = 0; \
220 (ctlr)->q_stats[q_type].max_len = 0; \
225 struct tw_cli_q_stats *q_stats = &((ctlr)->q_stats[q_type]); \
227 if (++(q_stats->cur_len) > q_stats->max_len) \
228 q_stats->max_len = q_stats->cur_len; \
233 (ctlr)->q_stats[q_typ
[all...]
H A Dtw_osl.h155 struct tw_osli_q_stats q_stats[TW_OSLI_Q_COUNT];/* queue statistics */ member in struct:twa_softc
191 (sc)->q_stats[q_type].cur_len = 0; \
192 (sc)->q_stats[q_type].max_len = 0; \
197 struct tw_osli_q_stats *q_stats = &((sc)->q_stats[q_type]); \
199 if (++(q_stats->cur_len) > q_stats->max_len) \
200 q_stats->max_len = q_stats->cur_len; \
205 (sc)->q_stats[q_typ
[all...]
H A Dtw_cl_misc.c887 ctlr->q_stats[TW_CLI_FREE_Q].cur_len,
888 ctlr->q_stats[TW_CLI_FREE_Q].max_len);
890 ctlr->q_stats[TW_CLI_BUSY_Q].cur_len,
891 ctlr->q_stats[TW_CLI_BUSY_Q].max_len);
893 ctlr->q_stats[TW_CLI_PENDING_Q].cur_len,
894 ctlr->q_stats[TW_CLI_PENDING_Q].max_len);
896 ctlr->q_stats[TW_CLI_COMPLETE_Q].cur_len,
897 ctlr->q_stats[TW_CLI_COMPLETE_Q].max_len);
919 ctlr->q_stats[TW_CLI_FREE_Q].max_len = 0;
920 ctlr->q_stats[TW_CLI_BUSY_
[all...]
H A Dtw_osl_freebsd.c1653 sc->q_stats[TW_OSLI_FREE_Q].cur_len,
1654 sc->q_stats[TW_OSLI_FREE_Q].max_len);
1656 sc->q_stats[TW_OSLI_BUSY_Q].cur_len,
1657 sc->q_stats[TW_OSLI_BUSY_Q].max_len);
1706 sc->q_stats[TW_OSLI_FREE_Q].max_len = 0;
1707 sc->q_stats[TW_OSLI_BUSY_Q].max_len = 0;
/freebsd-11.0-release/sys/net/altq/
H A Daltq_rio.h49 struct redstats q_stats[RIO_NDROPPREC]; member in struct:rio_stats
122 struct redstats q_stats[RIO_NDROPPREC]; /* statistics */ member in struct:rio
H A Daltq_rio.c300 bcopy(&rp->q_stats[i], sp, sizeof(struct redstats));
419 rp->q_stats[dpindex].drop_unforced++;
421 rp->q_stats[dpindex].drop_forced++;
422 PKTCNTR_ADD(&rp->q_stats[dpindex].drop_cnt, m_pktlen(m));
443 PKTCNTR_ADD(&rp->q_stats[dpindex].xmit_cnt, m_pktlen(m));
629 struct rio_stats *q_stats; local
633 q_stats = (struct rio_stats *)addr;
634 if ((rqp = altq_lookup(q_stats->iface.rio_ifname,
642 q_stats->q_limit = qlimit(rqp->rq_q);
643 q_stats
[all...]
H A Daltq_red.c873 struct red_stats *q_stats; local
876 q_stats = (struct red_stats *)addr;
877 if ((rqp = altq_lookup(q_stats->iface.red_ifname,
883 q_stats->q_len = qlen(rqp->rq_q);
884 q_stats->q_limit = qlimit(rqp->rq_q);
887 q_stats->q_avg = rp->red_avg >> rp->red_wshift;
888 q_stats->xmit_cnt = rp->red_stats.xmit_cnt;
889 q_stats->drop_cnt = rp->red_stats.drop_cnt;
890 q_stats->drop_forced = rp->red_stats.drop_forced;
891 q_stats
[all...]

Completed in 305 milliseconds