Searched refs:stats64 (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_generic.c | 150 struct ppp_link_stats stats64; /* 64 bit network stats */ member 1059 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) in ppp_get_stats64() argument 1064 stats64->rx_packets = ppp->stats64.rx_packets; in ppp_get_stats64() 1065 stats64->rx_bytes = ppp->stats64.rx_bytes; in ppp_get_stats64() 1069 stats64->tx_packets = ppp->stats64.tx_packets; in ppp_get_stats64() 1070 stats64->tx_bytes = ppp->stats64.tx_bytes; in ppp_get_stats64() 1073 stats64->rx_errors = dev->stats.rx_errors; in ppp_get_stats64() 1074 stats64->tx_errors = dev->stats.tx_errors; in ppp_get_stats64() 1075 stats64->rx_dropped = dev->stats.rx_dropped; in ppp_get_stats64() 1076 stats64->tx_dropped = dev->stats.tx_dropped; in ppp_get_stats64() [all …]
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 856 u64 *stats64; in bnad_get_ethtool_stats() local 883 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats() 885 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 888 stats64 = (u64 *) &bnad->stats.bna_stats->hw_stats; in bnad_get_ethtool_stats() 893 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 899 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 903 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() 912 stats64 = (u64 *)&bnad->stats.bna_stats-> in bnad_get_ethtool_stats() 916 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb.h | 403 struct rtnl_link_stats64 stats64; member
|
D | igb_main.c | 1812 igb_update_stats(adapter, &adapter->stats64); in igb_down() 4362 igb_update_stats(adapter, &adapter->stats64); in igb_watchdog_task() 5152 igb_update_stats(adapter, &adapter->stats64); in igb_get_stats64() 5153 memcpy(stats, &adapter->stats64, sizeof(*stats)); in igb_get_stats64()
|
D | igb_ethtool.c | 2256 struct rtnl_link_stats64 *net_stats = &adapter->stats64; in igb_get_ethtool_stats()
|
/linux-4.1.27/net/core/ |
D | dev.c | 6686 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, in netdev_stats_to_stats64() argument 6690 BUILD_BUG_ON(sizeof(*stats64) != sizeof(*netdev_stats)); in netdev_stats_to_stats64() 6691 memcpy(stats64, netdev_stats, sizeof(*stats64)); in netdev_stats_to_stats64() 6693 size_t i, n = sizeof(*stats64) / sizeof(u64); in netdev_stats_to_stats64() 6695 u64 *dst = (u64 *)stats64; in netdev_stats_to_stats64() 6698 sizeof(*stats64) / sizeof(u64)); in netdev_stats_to_stats64()
|
/linux-4.1.27/include/linux/ |
D | netdevice.h | 3474 void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64,
|