/linux-2.6.39/net/core/ ! |
D | ethtool.c | 620 info.n_stats = rc; in ethtool_get_drvinfo() 1636 int ret, n_stats; in ethtool_get_stats() local 1641 n_stats = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_stats() 1642 if (n_stats < 0) in ethtool_get_stats() 1643 return n_stats; in ethtool_get_stats() 1644 WARN_ON(n_stats == 0); in ethtool_get_stats() 1649 stats.n_stats = n_stats; in ethtool_get_stats() 1650 data = kmalloc(n_stats * sizeof(u64), GFP_USER); in ethtool_get_stats() 1660 if (copy_to_user(useraddr, data, stats.n_stats * sizeof(u64))) in ethtool_get_stats()
|
/linux-2.6.39/include/linux/ ! |
D | ethtool.h | 76 __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */ member 296 __u32 n_stats; /* number of u64's being returned */ member
|
/linux-2.6.39/drivers/net/atl1c/ ! |
D | atl1c_ethtool.c | 242 drvinfo->n_stats = 0; in atl1c_get_drvinfo()
|
/linux-2.6.39/drivers/net/stmmac/ ! |
D | stmmac_ethtool.c | 104 info->n_stats = STMMAC_STATS_LEN; in stmmac_ethtool_getdrvinfo()
|
/linux-2.6.39/drivers/net/atl1e/ ! |
D | atl1e_ethtool.c | 317 drvinfo->n_stats = 0; in atl1e_get_drvinfo()
|
/linux-2.6.39/drivers/net/bna/ ! |
D | bnad_ethtool.c | 1164 if (bnad_get_stats_count_locked(netdev) != stats->n_stats) { in bnad_get_ethtool_stats() 1175 memset(buf, 0, stats->n_stats * sizeof(u64)); in bnad_get_ethtool_stats()
|
/linux-2.6.39/drivers/net/mlx4/ ! |
D | en_ethtool.c | 55 drvinfo->n_stats = 0; in mlx4_en_get_drvinfo()
|
/linux-2.6.39/drivers/net/qlge/ ! |
D | qlge_ethtool.c | 376 drvinfo->n_stats = 0; in ql_get_drvinfo()
|
/linux-2.6.39/drivers/net/vmxnet3/ ! |
D | vmxnet3_ethtool.c | 250 drvinfo->n_stats = vmxnet3_get_sset_count(netdev, ETH_SS_STATS); in vmxnet3_get_drvinfo()
|
/linux-2.6.39/drivers/net/ixgb/ ! |
D | ixgb_ethtool.c | 530 drvinfo->n_stats = IXGB_STATS_LEN; in ixgb_get_drvinfo()
|
/linux-2.6.39/drivers/net/ ! |
D | ksz884x.c | 6532 int n_stats = stats->n_stats; in netdev_get_ethtool_stats() local 6578 if (n > n_stats) in netdev_get_ethtool_stats() 6579 n = n_stats; in netdev_get_ethtool_stats() 6580 n_stats -= n; in netdev_get_ethtool_stats()
|
D | bcm63xx_enet.c | 1233 drvinfo->n_stats = BCM_ENET_STATS_LEN; in bcm_enet_get_drvinfo()
|
D | tehuti.c | 2184 drvinfo->n_stats = ((priv->stats_flag) ? ARRAY_SIZE(bdx_stat_names) : 0); in bdx_get_drvinfo()
|
D | mv643xx_eth.c | 1504 drvinfo->n_stats = ARRAY_SIZE(mv643xx_eth_stats); in mv643xx_eth_get_drvinfo()
|
D | cassini.c | 4541 info->n_stats = CAS_NUM_STAT_KEYS; in cas_get_drvinfo()
|
/linux-2.6.39/drivers/net/sfc/ ! |
D | ethtool.c | 486 EFX_BUG_ON_PARANOID(stats->n_stats != EFX_ETHTOOL_NUM_STATS); in efx_ethtool_get_stats()
|
/linux-2.6.39/drivers/net/octeon/ ! |
D | octeon_mgmt.c | 1018 info->n_stats = 0; in octeon_mgmt_get_drvinfo()
|
/linux-2.6.39/drivers/net/vxge/ ! |
D | vxge-ethtool.c | 91 info->n_stats = STAT_LEN; in vxge_ethtool_gdrvinfo()
|
/linux-2.6.39/drivers/net/bnx2x/ ! |
D | bnx2x_ethtool.c | 632 info->n_stats = BNX2X_NUM_STATS; in bnx2x_get_drvinfo()
|
/linux-2.6.39/drivers/infiniband/hw/nes/ ! |
D | nes_nic.c | 1165 target_ethtool_stats->n_stats = NES_ETHTOOL_STAT_COUNT; in nes_netdev_get_ethtool_stats()
|
/linux-2.6.39/drivers/net/igb/ ! |
D | igb_ethtool.c | 753 drvinfo->n_stats = IGB_STATS_LEN; in igb_get_drvinfo()
|
/linux-2.6.39/drivers/net/atlx/ ! |
D | atl2.c | 2045 drvinfo->n_stats = 0;
|
/linux-2.6.39/drivers/net/ixgbe/ ! |
D | ixgbe_ethtool.c | 885 drvinfo->n_stats = IXGBE_STATS_LEN; in ixgbe_get_drvinfo()
|