Home
last modified time | relevance | path

Searched refs:devstats (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/slip/
Dslip.c576 struct net_device_stats *devstats = &dev->stats; local
581 stats->rx_packets = devstats->rx_packets;
582 stats->tx_packets = devstats->tx_packets;
583 stats->rx_bytes = devstats->rx_bytes;
584 stats->tx_bytes = devstats->tx_bytes;
585 stats->rx_dropped = devstats->rx_dropped;
586 stats->tx_dropped = devstats->tx_dropped;
587 stats->tx_errors = devstats->tx_errors;
588 stats->rx_errors = devstats->rx_errors;
589 stats->rx_over_errors = devstats->rx_over_errors;
/Linux-v5.10/tools/power/pm-graph/
Dbootgraph.py566 devstats = dict()
574 devstats[dev['id']] = {'info':info}
592 devstats[dev['id']]['fstat'] = stats
657 for n in sorted(devstats):
658 statinfo += '\t"%s": [\n\t\t"%s",\n' % (n, devstats[n]['info'])
659 if 'fstat' in devstats[n]:
660 funcs = devstats[n]['fstat']