Searched refs:DEV_STATS_READ (Results 1 - 6 of 6) sorted by relevance

/linux-master/net/l2tp/
H A Dl2tp_eth.c87 stats->tx_bytes = DEV_STATS_READ(dev, tx_bytes);
88 stats->tx_packets = DEV_STATS_READ(dev, tx_packets);
89 stats->tx_dropped = DEV_STATS_READ(dev, tx_dropped);
90 stats->rx_bytes = DEV_STATS_READ(dev, rx_bytes);
91 stats->rx_packets = DEV_STATS_READ(dev, rx_packets);
92 stats->rx_errors = DEV_STATS_READ(dev, rx_errors);
/linux-master/drivers/net/ipvlan/
H A Dipvlan_main.c327 s->tx_errors = DEV_STATS_READ(dev, tx_errors);
/linux-master/drivers/net/
H A Dnetkit.c190 stats->tx_dropped = DEV_STATS_READ(dev, tx_dropped);
H A Dvirtio_net.c2658 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped);
2659 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors);
2660 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors);
2661 tot->rx_frame_errors = DEV_STATS_READ(dev, rx_frame_errors);
H A Dmacsec.c3769 s->rx_dropped = DEV_STATS_READ(dev, rx_dropped);
3770 s->tx_dropped = DEV_STATS_READ(dev, tx_dropped);
3771 s->rx_errors = DEV_STATS_READ(dev, rx_errors);
/linux-master/include/linux/
H A Dnetdevice.h5232 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) macro

Completed in 203 milliseconds