Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/slip/
H A Dslip.c577 struct net_device_stats *devstats = &dev->stats; local
582 stats->rx_packets = devstats->rx_packets;
583 stats->tx_packets = devstats->tx_packets;
584 stats->rx_bytes = devstats->rx_bytes;
585 stats->tx_bytes = devstats->tx_bytes;
586 stats->rx_dropped = devstats->rx_dropped;
587 stats->tx_dropped = devstats->tx_dropped;
588 stats->tx_errors = devstats->tx_errors;
589 stats->rx_errors = devstats->rx_errors;
590 stats->rx_over_errors = devstats->rx_over_errors;
/openbmc/linux/tools/power/pm-graph/
H A Dbootgraph.py568 devstats = dict()
576 devstats[dev['id']] = {'info':info}
594 devstats[dev['id']]['fstat'] = stats
659 for n in sorted(devstats):
660 statinfo += '\t"%s": [\n\t\t"%s",\n' % (n, devstats[n]['info'])
661 if 'fstat' in devstats[n]:
662 funcs = devstats[n]['fstat']