Searched refs:netdev_stats (Results 1 – 2 of 2) sorted by relevance
9368 const struct net_device_stats *netdev_stats) in netdev_stats_to_stats64() argument9371 BUILD_BUG_ON(sizeof(*stats64) < sizeof(*netdev_stats)); in netdev_stats_to_stats64()9372 memcpy(stats64, netdev_stats, sizeof(*netdev_stats)); in netdev_stats_to_stats64()9374 memset((char *)stats64 + sizeof(*netdev_stats), 0, in netdev_stats_to_stats64()9375 sizeof(*stats64) - sizeof(*netdev_stats)); in netdev_stats_to_stats64()9377 size_t i, n = sizeof(*netdev_stats) / sizeof(unsigned long); in netdev_stats_to_stats64()9378 const unsigned long *src = (const unsigned long *)netdev_stats; in netdev_stats_to_stats64()
4230 const struct net_device_stats *netdev_stats);