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

/freebsd-10.1-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-10.1-release/sys/contrib/altq/altq/
H A Daltq_rio.h48 struct redstats q_stats[RIO_NDROPPREC]; member in struct:rio_stats
121 struct redstats q_stats[RIO_NDROPPREC]; /* statistics */ member in struct:rio
H A Daltq_rio.c304 bcopy(&rp->q_stats[i], sp, sizeof(struct redstats));
423 rp->q_stats[dpindex].drop_unforced++;
425 rp->q_stats[dpindex].drop_forced++;
426 PKTCNTR_ADD(&rp->q_stats[dpindex].drop_cnt, m_pktlen(m));
447 PKTCNTR_ADD(&rp->q_stats[dpindex].xmit_cnt, m_pktlen(m));
633 struct rio_stats *q_stats; local
637 q_stats = (struct rio_stats *)addr;
638 if ((rqp = altq_lookup(q_stats->iface.rio_ifname,
646 q_stats->q_limit = qlimit(rqp->rq_q);
647 q_stats
[all...]
H A Daltq_red.c877 struct red_stats *q_stats; local
880 q_stats = (struct red_stats *)addr;
881 if ((rqp = altq_lookup(q_stats->iface.red_ifname,
887 q_stats->q_len = qlen(rqp->rq_q);
888 q_stats->q_limit = qlimit(rqp->rq_q);
891 q_stats->q_avg = rp->red_avg >> rp->red_wshift;
892 q_stats->xmit_cnt = rp->red_stats.xmit_cnt;
893 q_stats->drop_cnt = rp->red_stats.drop_cnt;
894 q_stats->drop_forced = rp->red_stats.drop_forced;
895 q_stats
[all...]

Completed in 176 milliseconds