Searched refs:netdev_stats (Results 1 – 1 of 1) sorted by relevance
10675 const struct net_device_stats *netdev_stats) in netdev_stats_to_stats64() argument10678 BUILD_BUG_ON(sizeof(*stats64) < sizeof(*netdev_stats)); in netdev_stats_to_stats64()10679 memcpy(stats64, netdev_stats, sizeof(*netdev_stats)); in netdev_stats_to_stats64()10681 memset((char *)stats64 + sizeof(*netdev_stats), 0, in netdev_stats_to_stats64()10682 sizeof(*stats64) - sizeof(*netdev_stats)); in netdev_stats_to_stats64()10684 size_t i, n = sizeof(*netdev_stats) / sizeof(unsigned long); in netdev_stats_to_stats64()10685 const unsigned long *src = (const unsigned long *)netdev_stats; in netdev_stats_to_stats64()