Searched refs:storage (Results 1 – 1 of 1) sorted by relevance
6574 struct rtnl_link_stats64 *storage) in dev_get_stats() argument6579 memset(storage, 0, sizeof(*storage)); in dev_get_stats()6580 ops->ndo_get_stats64(dev, storage); in dev_get_stats()6582 netdev_stats_to_stats64(storage, ops->ndo_get_stats(dev)); in dev_get_stats()6584 netdev_stats_to_stats64(storage, &dev->stats); in dev_get_stats()6586 storage->rx_dropped += (unsigned long)atomic_long_read(&dev->rx_dropped); in dev_get_stats()6587 storage->tx_dropped += (unsigned long)atomic_long_read(&dev->tx_dropped); in dev_get_stats()6588 return storage; in dev_get_stats()