Searched refs:q_stats (Results 1 – 7 of 7) sorted by relevance
| /freebsd-11-stable/sys/dev/twa/ |
| HD | tw_osl.h | 155 struct tw_osli_q_stats q_stats[TW_OSLI_Q_COUNT];/* queue statistics */ member 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_type].cur_len--
|
| HD | tw_cl.h | 206 struct tw_cli_q_stats q_stats[TW_CLI_Q_COUNT];/* queue statistics */ member 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_type].cur_len--
|
| HD | tw_cl_misc.c | 887 ctlr->q_stats[TW_CLI_FREE_Q].cur_len, in tw_cl_print_ctlr_stats() 888 ctlr->q_stats[TW_CLI_FREE_Q].max_len); in tw_cl_print_ctlr_stats() 890 ctlr->q_stats[TW_CLI_BUSY_Q].cur_len, in tw_cl_print_ctlr_stats() 891 ctlr->q_stats[TW_CLI_BUSY_Q].max_len); in tw_cl_print_ctlr_stats() 893 ctlr->q_stats[TW_CLI_PENDING_Q].cur_len, in tw_cl_print_ctlr_stats() 894 ctlr->q_stats[TW_CLI_PENDING_Q].max_len); in tw_cl_print_ctlr_stats() 896 ctlr->q_stats[TW_CLI_COMPLETE_Q].cur_len, in tw_cl_print_ctlr_stats() 897 ctlr->q_stats[TW_CLI_COMPLETE_Q].max_len); in tw_cl_print_ctlr_stats() 919 ctlr->q_stats[TW_CLI_FREE_Q].max_len = 0; in tw_cl_reset_stats() 920 ctlr->q_stats[TW_CLI_BUSY_Q].max_len = 0; in tw_cl_reset_stats() [all …]
|
| HD | tw_osl_freebsd.c | 1653 sc->q_stats[TW_OSLI_FREE_Q].cur_len, in tw_osli_print_ctlr_stats() 1654 sc->q_stats[TW_OSLI_FREE_Q].max_len); in tw_osli_print_ctlr_stats() 1656 sc->q_stats[TW_OSLI_BUSY_Q].cur_len, in tw_osli_print_ctlr_stats() 1657 sc->q_stats[TW_OSLI_BUSY_Q].max_len); in tw_osli_print_ctlr_stats() 1706 sc->q_stats[TW_OSLI_FREE_Q].max_len = 0; in twa_reset_stats() 1707 sc->q_stats[TW_OSLI_BUSY_Q].max_len = 0; in twa_reset_stats()
|
| /freebsd-11-stable/sys/net/altq/ |
| HD | altq_rio.c | 300 bcopy(&rp->q_stats[i], sp, sizeof(struct redstats)); in rio_getstats() 419 rp->q_stats[dpindex].drop_unforced++; in rio_addq() 421 rp->q_stats[dpindex].drop_forced++; in rio_addq() 422 PKTCNTR_ADD(&rp->q_stats[dpindex].drop_cnt, m_pktlen(m)); in rio_addq() 443 PKTCNTR_ADD(&rp->q_stats[dpindex].xmit_cnt, m_pktlen(m)); in rio_addq() 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->weight = rp->rio_weight; [all …]
|
| HD | altq_red.c | 873 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->drop_unforced = rp->red_stats.drop_unforced; [all …]
|
| HD | altq_rio.h | 49 struct redstats q_stats[RIO_NDROPPREC]; member 122 struct redstats q_stats[RIO_NDROPPREC]; /* statistics */ member
|