Searched refs:DEV_STATS_READ (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/net/ |
| H A D | netkit.c | 218 stats->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in netkit_get_stats()
|
| H A D | macsec.c | 3780 s->rx_dropped = DEV_STATS_READ(dev, rx_dropped); in macsec_get_stats64() 3781 s->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in macsec_get_stats64() 3782 s->rx_errors = DEV_STATS_READ(dev, rx_errors); in macsec_get_stats64()
|
| H A D | virtio_net.c | 3647 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats() 3648 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats() 3649 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats() 3650 tot->rx_frame_errors = DEV_STATS_READ(dev, rx_frame_errors); in virtnet_stats()
|
| /linux-6.15/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 329 s->tx_errors = DEV_STATS_READ(dev, tx_errors); in ipvlan_get_stats64()
|
| /linux-6.15/include/linux/ |
| H A D | netdevice.h | 5548 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) macro
|