xstats 606 drivers/net/ethernet/3com/3c59x.c struct vortex_extra_stats xstats; /* NIC-specific extra stats */ xstats 1963 drivers/net/ethernet/3com/3c59x.c if (tx_status & 0x08) vp->xstats.tx_max_collisions++; xstats 2863 drivers/net/ethernet/3com/3c59x.c vp->xstats.tx_multiple_collisions += window_read8(vp, 6, 2); xstats 2864 drivers/net/ethernet/3com/3c59x.c vp->xstats.tx_single_collisions += window_read8(vp, 6, 3); xstats 2865 drivers/net/ethernet/3com/3c59x.c vp->xstats.tx_deferred += window_read8(vp, 6, 8); xstats 2866 drivers/net/ethernet/3com/3c59x.c vp->xstats.rx_bad_ssd += window_read8(vp, 4, 12); xstats 2868 drivers/net/ethernet/3com/3c59x.c dev->stats.collisions = vp->xstats.tx_multiple_collisions xstats 2869 drivers/net/ethernet/3com/3c59x.c + vp->xstats.tx_single_collisions xstats 2870 drivers/net/ethernet/3com/3c59x.c + vp->xstats.tx_max_collisions; xstats 2935 drivers/net/ethernet/3com/3c59x.c data[0] = vp->xstats.tx_deferred; xstats 2936 drivers/net/ethernet/3com/3c59x.c data[1] = vp->xstats.tx_max_collisions; xstats 2937 drivers/net/ethernet/3com/3c59x.c data[2] = vp->xstats.tx_multiple_collisions; xstats 2938 drivers/net/ethernet/3com/3c59x.c data[3] = vp->xstats.tx_single_collisions; xstats 2939 drivers/net/ethernet/3com/3c59x.c data[4] = vp->xstats.rx_bad_ssd; xstats 376 drivers/net/ethernet/calxeda/xgmac.c struct xgmac_extra_stats xstats; xstats 517 drivers/net/ethernet/calxeda/xgmac.c struct xgmac_extra_stats *x = &priv->xstats; xstats 544 drivers/net/ethernet/calxeda/xgmac.c struct xgmac_extra_stats *x = &priv->xstats; xstats 1018 drivers/net/ethernet/calxeda/xgmac.c memset(&priv->xstats, 0, sizeof(struct xgmac_extra_stats)); xstats 1384 drivers/net/ethernet/calxeda/xgmac.c struct xgmac_extra_stats *x = &priv->xstats; xstats 1560 drivers/net/ethernet/calxeda/xgmac.c { #m, offsetof(struct xgmac_priv, xstats.m), false } xstats 390 drivers/net/ethernet/dlink/sundance.c } xstats; xstats 1539 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_multiple_collisions += mult_coll; xstats 1541 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_single_collisions += single_coll; xstats 1543 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_late_collisions += late_coll; xstats 1548 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_deferred += ioread8(ioaddr + StatsTxDefer); xstats 1549 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_deferred_excessive += ioread8(ioaddr + StatsTxXSDefer); xstats 1550 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_aborted += ioread8(ioaddr + StatsTxAbort); xstats 1551 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_bcasts += ioread8(ioaddr + StatsBcastTx); xstats 1552 drivers/net/ethernet/dlink/sundance.c np->xstats.rx_bcasts += ioread8(ioaddr + StatsBcastRx); xstats 1553 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_mcasts += ioread8(ioaddr + StatsMcastTx); xstats 1554 drivers/net/ethernet/dlink/sundance.c np->xstats.rx_mcasts += ioread8(ioaddr + StatsMcastRx); xstats 1733 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_multiple_collisions; xstats 1734 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_single_collisions; xstats 1735 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_late_collisions; xstats 1736 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_deferred; xstats 1737 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_deferred_excessive; xstats 1738 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_aborted; xstats 1739 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_bcasts; xstats 1740 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.rx_bcasts; xstats 1741 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.tx_mcasts; xstats 1742 drivers/net/ethernet/dlink/sundance.c data[i++] = np->xstats.rx_mcasts; xstats 1117 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_xstats *xstats) xstats 1125 drivers/net/ethernet/mellanox/mlxsw/spectrum.c xstats->ecn = mlxsw_reg_ppcnt_ecn_marked_get(ppcnt_pl); xstats 1132 drivers/net/ethernet/mellanox/mlxsw/spectrum.c xstats->wred_drop[i] = xstats 1140 drivers/net/ethernet/mellanox/mlxsw/spectrum.c xstats->backlog[i] = xstats 1142 drivers/net/ethernet/mellanox/mlxsw/spectrum.c xstats->tail_drop[i] = xstats 1152 drivers/net/ethernet/mellanox/mlxsw/spectrum.c xstats->tx_packets[i] = mlxsw_reg_ppcnt_tx_frames_get(ppcnt_pl); xstats 1153 drivers/net/ethernet/mellanox/mlxsw/spectrum.c xstats->tx_bytes[i] = mlxsw_reg_ppcnt_tx_octets_get(ppcnt_pl); xstats 1172 drivers/net/ethernet/mellanox/mlxsw/spectrum.c &mlxsw_sp_port->periodic_hw_stats.xstats); xstats 4192 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->periodic_hw_stats.xstats.backlog[i] = 0; xstats 268 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_sp_port_xstats xstats; xstats 199 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_xstats_backlog(struct mlxsw_sp_port_xstats *xstats, int tclass_num) xstats 201 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c return xstats->backlog[tclass_num] + xstats 202 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats->backlog[tclass_num + 8]; xstats 206 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_xstats_tail_drop(struct mlxsw_sp_port_xstats *xstats, int tclass_num) xstats 208 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c return xstats->tail_drop[tclass_num] + xstats 209 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats->tail_drop[tclass_num + 8]; xstats 213 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc_bstats_per_priority_get(struct mlxsw_sp_port_xstats *xstats, xstats 223 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c *tx_packets += xstats->tx_packets[i]; xstats 224 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c *tx_bytes += xstats->tx_bytes[i]; xstats 273 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c struct mlxsw_sp_port_xstats *xstats; xstats 276 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats = &mlxsw_sp_port->periodic_hw_stats.xstats; xstats 280 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc_bstats_per_priority_get(xstats, xstats 284 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c red_base->prob_mark = xstats->ecn; xstats 285 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c red_base->prob_drop = xstats->wred_drop[tclass_num]; xstats 286 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c red_base->pdrop = mlxsw_sp_xstats_tail_drop(xstats, tclass_num); xstats 378 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c struct mlxsw_sp_port_xstats *xstats; xstats 382 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats = &mlxsw_sp_port->periodic_hw_stats.xstats; xstats 384 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c early_drops = xstats->wred_drop[tclass_num] - xstats_base->prob_drop; xstats 385 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c marks = xstats->ecn - xstats_base->prob_mark; xstats 386 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c pdrops = mlxsw_sp_xstats_tail_drop(xstats, tclass_num) - xstats 407 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c struct mlxsw_sp_port_xstats *xstats; xstats 409 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats = &mlxsw_sp_port->periodic_hw_stats.xstats; xstats 412 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc_bstats_per_priority_get(xstats, xstats 418 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c overlimits = xstats->wred_drop[tclass_num] + xstats->ecn - xstats 420 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c drops = xstats->wred_drop[tclass_num] + xstats 421 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_xstats_tail_drop(xstats, tclass_num) - xstats 423 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c backlog = mlxsw_sp_xstats_backlog(xstats, tclass_num); xstats 479 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c p->xstats); xstats 582 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c struct mlxsw_sp_port_xstats *xstats; xstats 586 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats = &mlxsw_sp_port->periodic_hw_stats.xstats; xstats 594 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c drops += mlxsw_sp_xstats_tail_drop(xstats, i); xstats 595 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c drops += xstats->wred_drop[i]; xstats 596 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c backlog += mlxsw_sp_xstats_backlog(xstats, i); xstats 619 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c struct mlxsw_sp_port_xstats *xstats; xstats 623 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c xstats = &mlxsw_sp_port->periodic_hw_stats.xstats; xstats 632 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_base->drops += mlxsw_sp_xstats_tail_drop(xstats, i); xstats 633 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_base->drops += xstats->wred_drop[i]; xstats 3235 drivers/net/ethernet/neterion/s2io.c struct xpakStat *xstats = &stats->xpak_stat; xstats 3268 drivers/net/ethernet/neterion/s2io.c s2io_chk_xpak_counter(&xstats->alarm_transceiver_temp_high, xstats 3269 drivers/net/ethernet/neterion/s2io.c &xstats->xpak_regs_stat, xstats 3273 drivers/net/ethernet/neterion/s2io.c xstats->alarm_transceiver_temp_low++; xstats 3277 drivers/net/ethernet/neterion/s2io.c s2io_chk_xpak_counter(&xstats->alarm_laser_bias_current_high, xstats 3278 drivers/net/ethernet/neterion/s2io.c &xstats->xpak_regs_stat, xstats 3282 drivers/net/ethernet/neterion/s2io.c xstats->alarm_laser_bias_current_low++; xstats 3286 drivers/net/ethernet/neterion/s2io.c s2io_chk_xpak_counter(&xstats->alarm_laser_output_power_high, xstats 3287 drivers/net/ethernet/neterion/s2io.c &xstats->xpak_regs_stat, xstats 3291 drivers/net/ethernet/neterion/s2io.c xstats->alarm_laser_output_power_low++; xstats 3299 drivers/net/ethernet/neterion/s2io.c xstats->warn_transceiver_temp_high++; xstats 3302 drivers/net/ethernet/neterion/s2io.c xstats->warn_transceiver_temp_low++; xstats 3305 drivers/net/ethernet/neterion/s2io.c xstats->warn_laser_bias_current_high++; xstats 3308 drivers/net/ethernet/neterion/s2io.c xstats->warn_laser_bias_current_low++; xstats 3311 drivers/net/ethernet/neterion/s2io.c xstats->warn_laser_output_power_high++; xstats 3314 drivers/net/ethernet/neterion/s2io.c xstats->warn_laser_output_power_low++; xstats 6235 drivers/net/ethernet/neterion/s2io.c struct xpakStat *xstats = &stats->xpak_stat; xstats 6430 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->alarm_transceiver_temp_high; xstats 6431 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->alarm_transceiver_temp_low; xstats 6432 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->alarm_laser_bias_current_high; xstats 6433 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->alarm_laser_bias_current_low; xstats 6434 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->alarm_laser_output_power_high; xstats 6435 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->alarm_laser_output_power_low; xstats 6436 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->warn_transceiver_temp_high; xstats 6437 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->warn_transceiver_temp_low; xstats 6438 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->warn_laser_bias_current_high; xstats 6439 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->warn_laser_bias_current_low; xstats 6440 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->warn_laser_output_power_high; xstats 6441 drivers/net/ethernet/neterion/s2io.c tmp_stats[i++] = xstats->warn_laser_output_power_low; xstats 235 drivers/net/ethernet/netronome/nfp/abm/ctrl.c struct nfp_alink_xstats *xstats) xstats 241 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &xstats->pdrop); xstats 247 drivers/net/ethernet/netronome/nfp/abm/ctrl.c band, queue, true, &xstats->ecn_marked); xstats 180 drivers/net/ethernet/netronome/nfp/abm/main.h struct nfp_alink_xstats xstats; xstats 266 drivers/net/ethernet/netronome/nfp/abm/main.h struct nfp_alink_xstats *xstats); xstats 63 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &qdisc->red.band[i].xstats); xstats 498 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (!stats->xstats[i]) xstats 506 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_stats_red_calculate(&qdisc->red.band[i].xstats, xstats 508 drivers/net/ethernet/netronome/nfp/abm/qdisc.c stats->xstats[i]); xstats 509 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].prev_xstats = qdisc->red.band[i].xstats; xstats 630 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_stats_red_calculate(&qdisc->red.band[0].xstats, xstats 632 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->xstats); xstats 633 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].prev_xstats = qdisc->red.band[0].xstats; xstats 999 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct xstorm_iscsi_stats_drv xstats; xstats 1002 drivers/net/ethernet/qlogic/qed/qed_iscsi.c memset(&xstats, 0, sizeof(xstats)); xstats 1005 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &xstats, xstats_addr, sizeof(xstats)); xstats 1008 drivers/net/ethernet/qlogic/qed/qed_iscsi.c HILO_64_REGPAIR(xstats.iscsi_tx_go_to_slow_start_event_cnt); xstats 1010 drivers/net/ethernet/qlogic/qed/qed_iscsi.c HILO_64_REGPAIR(xstats.iscsi_tx_fast_retransmit_event_cnt); xstats 614 drivers/net/ethernet/realtek/8139too.c struct rtl_extra_stats xstats; xstats 1679 drivers/net/ethernet/realtek/8139too.c tp->xstats.tx_timeouts++; xstats 1857 drivers/net/ethernet/realtek/8139too.c tp->xstats.rx_lost_in_ring++; xstats 1997 drivers/net/ethernet/realtek/8139too.c tp->xstats.early_rx++; xstats 2472 drivers/net/ethernet/realtek/8139too.c data[0] = tp->xstats.early_rx; xstats 2473 drivers/net/ethernet/realtek/8139too.c data[1] = tp->xstats.tx_buf_mapped; xstats 2474 drivers/net/ethernet/realtek/8139too.c data[2] = tp->xstats.tx_timeouts; xstats 2475 drivers/net/ethernet/realtek/8139too.c data[3] = tp->xstats.rx_lost_in_ring; xstats 482 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h struct sxgbe_extra_stats xstats; xstats 34 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c offsetof(struct sxgbe_priv_data, xstats.m) \ xstats 237 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c priv->xstats.eee_wakeup_error_n = val; xstats 741 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.tx_clean++; xstats 1153 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c memset(&priv->xstats, 0, sizeof(struct sxgbe_extra_stats)); xstats 1155 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.tx_threshold = priv->tx_tc; xstats 1156 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.rx_threshold = priv->rx_tc; xstats 1380 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.tx_reset_ic_bit++; xstats 1504 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c status = priv->hw->desc->rx_wbstatus(p, &priv->xstats, xstats 1554 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.napi_poll++; xstats 1596 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c status = priv->hw->mac->host_irq_status(priv->ioaddr, &priv->xstats); xstats 1599 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.tx_lpi_entry_n++; xstats 1603 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.tx_lpi_exit_n++; xstats 1607 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.rx_lpi_entry_n++; xstats 1609 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.rx_lpi_exit_n++; xstats 1628 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c &priv->xstats); xstats 1645 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.tx_threshold = priv->tx_tc; xstats 1665 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c &priv->xstats); xstats 1680 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->xstats.rx_threshold = priv->rx_tc; xstats 184 drivers/net/ethernet/stmicro/stmmac/stmmac.h struct stmmac_extra_stats xstats ____cacheline_aligned_in_smp; xstats 38 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c offsetof(struct stmmac_priv, xstats.m)} xstats 284 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if (!priv->xstats.pcs_link) { xstats 289 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c cmd->base.duplex = priv->xstats.pcs_duplex; xstats 291 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c cmd->base.speed = priv->xstats.pcs_speed; xstats 494 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c ret = stmmac_dma_diagnostic_fr(priv, &dev->stats, (void *) &priv->xstats, xstats 513 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c priv->xstats.phy_eee_wakeup_error_n = val; xstats 518 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c (void *)&priv->xstats, xstats 1840 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.threshold = SF_DMA_MODE; xstats 1878 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.tx_clean++; xstats 1892 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c &priv->xstats, p, priv->ioaddr); xstats 1911 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.tx_pkt_n++; xstats 2059 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c &priv->xstats, chan); xstats 2102 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (unlikely(priv->xstats.threshold != SF_DMA_MODE) && xstats 2115 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.threshold = tc; xstats 2666 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c memset(&priv->xstats, 0, sizeof(struct stmmac_extra_stats)); xstats 2667 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.threshold = tc; xstats 3037 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.tx_set_ic_bit++; xstats 3054 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.tx_tso_frames++; xstats 3055 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.tx_tso_nfrags += nfrags; xstats 3247 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.tx_set_ic_bit++; xstats 3511 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c &priv->xstats, p); xstats 3529 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c &priv->xstats, rx_q->dma_erx + entry); xstats 3576 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.rx_split_hdr_pkt_n++; xstats 3660 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.rx_pkt_n += count; xstats 3673 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.napi_poll++; xstats 3690 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->xstats.napi_poll++; xstats 3869 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int status = stmmac_host_irq_status(priv, priv->hw, &priv->xstats); xstats 3896 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (priv->xstats.pcs_link) xstats 443 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c memcpy(initial, &priv->xstats, sizeof(*initial)); xstats 451 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c memcpy(final, &priv->xstats, sizeof(*final)); xstats 1677 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c unsigned long cnt_end, cnt_start = priv->xstats.rx_split_hdr_pkt_n; xstats 1692 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c cnt_end = priv->xstats.rx_split_hdr_pkt_n; xstats 1706 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c cnt_end = priv->xstats.rx_split_hdr_pkt_n; xstats 164 fs/xfs/xfs_linux.h extern struct xstats xfsstats; xstats 180 fs/xfs/xfs_mount.h struct xstats m_stats; /* per-fs stats */ xstats 8 fs/xfs/xfs_stats.c struct xstats xfsstats; xstats 30 fs/xfs/xfs_stats.c } xstats[] = { xstats 59 fs/xfs/xfs_stats.c for (i = j = 0; i < ARRAY_SIZE(xstats); i++) { xstats 61 fs/xfs/xfs_stats.c xstats[i].desc); xstats 63 fs/xfs/xfs_stats.c for (; j < xstats[i].endpoint; j++) xstats 160 fs/xfs/xfs_stats.h extern struct xstats xfsstats; xstats 252 fs/xfs/xfs_sysfs.c static inline struct xstats * xstats 257 fs/xfs/xfs_sysfs.c return container_of(kobj, struct xstats, xs_kobj); xstats 265 fs/xfs/xfs_sysfs.c struct xstats *stats = to_xstats(kobject); xstats 279 fs/xfs/xfs_sysfs.c struct xstats *stats = to_xstats(kobject); xstats 26 include/net/gen_stats.h void * xstats; xstats 740 include/net/pkt_cls.h struct red_stats *xstats; xstats 776 include/net/pkt_cls.h struct red_stats *xstats[MAX_DPs]; xstats 33 net/core/gen_stats.c kfree(d->xstats); xstats 34 net/core/gen_stats.c d->xstats = NULL; xstats 373 net/core/gen_stats.c d->xstats = kmemdup(st, len, GFP_ATOMIC); xstats 374 net/core/gen_stats.c if (!d->xstats) xstats 416 net/core/gen_stats.c if (d->compat_xstats && d->xstats) { xstats 417 net/core/gen_stats.c if (gnet_stats_copy(d, d->compat_xstats, d->xstats, xstats 424 net/core/gen_stats.c kfree(d->xstats); xstats 425 net/core/gen_stats.c d->xstats = NULL; xstats 122 net/sched/sch_cbq.c struct tc_cbq_xstats xstats; xstats 417 net/sched/sch_cbq.c cl->xstats.overactions++; xstats 723 net/sched/sch_cbq.c borrow->xstats.borrows++; xstats 724 net/sched/sch_cbq.c cl->xstats.borrows++; xstats 726 net/sched/sch_cbq.c borrow->xstats.borrows += qdisc_pkt_len(skb); xstats 727 net/sched/sch_cbq.c cl->xstats.borrows += qdisc_pkt_len(skb); xstats 1342 net/sched/sch_cbq.c q->link.xstats.avgidle = q->link.avgidle; xstats 1343 net/sched/sch_cbq.c return gnet_stats_copy_app(d, &q->link.xstats, sizeof(q->link.xstats)); xstats 1380 net/sched/sch_cbq.c cl->xstats.avgidle = cl->avgidle; xstats 1381 net/sched/sch_cbq.c cl->xstats.undertime = 0; xstats 1385 net/sched/sch_cbq.c cl->xstats.undertime = cl->undertime - q->now; xstats 1393 net/sched/sch_cbq.c return gnet_stats_copy_app(d, &cl->xstats, sizeof(cl->xstats)); xstats 263 net/sched/sch_drr.c struct tc_drr_stats xstats; xstats 265 net/sched/sch_drr.c memset(&xstats, 0, sizeof(xstats)); xstats 267 net/sched/sch_drr.c xstats.deficit = cl->deficit; xstats 275 net/sched/sch_drr.c return gnet_stats_copy_app(d, &xstats, sizeof(xstats)); xstats 621 net/sched/sch_fq_codel.c struct tc_fq_codel_xstats xstats; xstats 627 net/sched/sch_fq_codel.c memset(&xstats, 0, sizeof(xstats)); xstats 628 net/sched/sch_fq_codel.c xstats.type = TCA_FQ_CODEL_XSTATS_CLASS; xstats 629 net/sched/sch_fq_codel.c xstats.class_stats.deficit = flow->deficit; xstats 630 net/sched/sch_fq_codel.c xstats.class_stats.ldelay = xstats 632 net/sched/sch_fq_codel.c xstats.class_stats.count = flow->cvars.count; xstats 633 net/sched/sch_fq_codel.c xstats.class_stats.lastcount = flow->cvars.lastcount; xstats 634 net/sched/sch_fq_codel.c xstats.class_stats.dropping = flow->cvars.dropping; xstats 639 net/sched/sch_fq_codel.c xstats.class_stats.drop_next = (delta >= 0) ? xstats 658 net/sched/sch_fq_codel.c return gnet_stats_copy_app(d, &xstats, sizeof(xstats)); xstats 369 net/sched/sch_gred.c hw_stats->stats.xstats[i] = &table->tab[i]->stats; xstats 1321 net/sched/sch_hfsc.c struct tc_hfsc_stats xstats; xstats 1325 net/sched/sch_hfsc.c xstats.level = cl->level; xstats 1326 net/sched/sch_hfsc.c xstats.period = cl->cl_vtperiod; xstats 1327 net/sched/sch_hfsc.c xstats.work = cl->cl_total; xstats 1328 net/sched/sch_hfsc.c xstats.rtwork = cl->cl_cumul; xstats 1335 net/sched/sch_hfsc.c return gnet_stats_copy_app(d, &xstats, sizeof(xstats)); xstats 117 net/sched/sch_htb.c struct tc_htb_xstats xstats; /* our special stats */ xstats 666 net/sched/sch_htb.c cl->xstats.lends++; xstats 669 net/sched/sch_htb.c cl->xstats.borrows++; xstats 1133 net/sched/sch_htb.c cl->xstats.tokens = clamp_t(s64, PSCHED_NS2TICKS(cl->tokens), xstats 1135 net/sched/sch_htb.c cl->xstats.ctokens = clamp_t(s64, PSCHED_NS2TICKS(cl->ctokens), xstats 1144 net/sched/sch_htb.c return gnet_stats_copy_app(d, &cl->xstats, sizeof(cl->xstats)); xstats 636 net/sched/sch_qfq.c struct tc_qfq_stats xstats; xstats 638 net/sched/sch_qfq.c memset(&xstats, 0, sizeof(xstats)); xstats 640 net/sched/sch_qfq.c xstats.weight = cl->agg->class_weight; xstats 641 net/sched/sch_qfq.c xstats.lmax = cl->agg->lmax; xstats 649 net/sched/sch_qfq.c return gnet_stats_copy_app(d, &xstats, sizeof(xstats)); xstats 343 net/sched/sch_red.c .xstats = &q->stats, xstats 868 net/sched/sch_sfq.c struct tc_sfq_xstats xstats = { 0 }; xstats 873 net/sched/sch_sfq.c xstats.allot = slot->allot << SFQ_ALLOT_SHIFT; xstats 879 net/sched/sch_sfq.c return gnet_stats_copy_app(d, &xstats, sizeof(xstats));