Searched refs:lstats (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp_intf.c | 1152 struct bcmasp_intf_stats64 *lstats; in bcmasp_get_stats64() local 1155 lstats = &intf->stats64; in bcmasp_get_stats64() 1158 start = u64_stats_fetch_begin(&lstats->syncp); in bcmasp_get_stats64() 1159 stats->rx_packets = u64_stats_read(&lstats->rx_packets); in bcmasp_get_stats64() 1160 stats->rx_bytes = u64_stats_read(&lstats->rx_bytes); in bcmasp_get_stats64() 1161 stats->rx_dropped = u64_stats_read(&lstats->rx_dropped); in bcmasp_get_stats64() 1162 stats->rx_crc_errors = u64_stats_read(&lstats->rx_crc_errs); in bcmasp_get_stats64() 1163 stats->rx_frame_errors = u64_stats_read(&lstats->rx_sym_errs); in bcmasp_get_stats64() 1166 stats->tx_packets = u64_stats_read(&lstats->tx_packets); in bcmasp_get_stats64() 1167 stats->tx_bytes = u64_stats_read(&lstats->tx_bytes); in bcmasp_get_stats64() [all …]
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 1437 struct rtnl_link_stats64 lstats; in lio_get_ethtool_stats() local 1443 netdev->netdev_ops->ndo_get_stats64(netdev, &lstats); in lio_get_ethtool_stats() 1445 data[i++] = lstats.rx_packets; in lio_get_ethtool_stats() 1447 data[i++] = lstats.tx_packets; in lio_get_ethtool_stats() 1449 data[i++] = lstats.rx_bytes; in lio_get_ethtool_stats() 1451 data[i++] = lstats.tx_bytes; in lio_get_ethtool_stats() 1452 data[i++] = lstats.rx_errors + in lio_get_ethtool_stats() 1457 data[i++] = lstats.tx_errors; in lio_get_ethtool_stats() 1463 data[i++] = lstats.rx_dropped + in lio_get_ethtool_stats() 1471 data[i++] = lstats.tx_dropped + in lio_get_ethtool_stats() [all …]
|
| /linux/drivers/net/ethernet/toshiba/ |
| H A D | tc35815.c | 397 } lstats; member 1410 lp->lstats.rx_ints++; in tc35815_do_interrupt() 1414 lp->lstats.tx_ints++; in tc35815_do_interrupt() 1692 if (lp->lstats.tx_underrun < TX_THRESHOLD_KEEP_LIMIT) { in tc35815_check_tx_stat() 1693 lp->lstats.tx_underrun++; in tc35815_check_tx_stat() 1694 if (lp->lstats.tx_underrun >= TX_THRESHOLD_KEEP_LIMIT) { in tc35815_check_tx_stat() 1796 if (lp->lstats.max_tx_qlen < qlen) in tc35815_txdone() 1797 lp->lstats.max_tx_qlen = qlen; in tc35815_txdone() 1977 return sizeof(lp->lstats) / sizeof(int); in tc35815_get_sset_count() 1986 data[0] = lp->lstats.max_tx_qlen; in tc35815_get_ethtool_stats() [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_stat.c | 546 struct iscsi_logout_stats *lstats = &tiqn->logout_stats; in iscsi_stat_logout_normal_logouts_show() local 548 return snprintf(page, PAGE_SIZE, "%u\n", lstats->normal_logouts); in iscsi_stat_logout_normal_logouts_show() 555 struct iscsi_logout_stats *lstats = &tiqn->logout_stats; in iscsi_stat_logout_abnormal_logouts_show() local 557 return snprintf(page, PAGE_SIZE, "%u\n", lstats->abnormal_logouts); in iscsi_stat_logout_abnormal_logouts_show()
|
| /linux/drivers/net/ |
| H A D | loopback.c | 108 lb_stats = per_cpu_ptr(dev->lstats, i); in dev_lstats_read()
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 143 struct pcpu_lstats__percpu* lstats read_mostly …
|
| /linux/mm/ |
| H A D | memcontrol.c | 4059 struct lruvec_stats *lstats = pn->lruvec_stats; in flush_nmi_stats() local 4069 lstats->state[index] += slab; in flush_nmi_stats() 4077 lstats->state[index] += slab; in flush_nmi_stats() 4125 struct lruvec_stats *lstats = pn->lruvec_stats; in mem_cgroup_css_rstat_flush() local 4135 .aggregate = lstats->state, in mem_cgroup_css_rstat_flush() 4136 .local = lstats->state_local, in mem_cgroup_css_rstat_flush() 4137 .pending = lstats->state_pending, in mem_cgroup_css_rstat_flush()
|
| /linux/net/core/ |
| H A D | dev.c | 11230 v = dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); in netdev_do_alloc_pcpu_stats() 11251 free_percpu(dev->lstats); in netdev_do_free_pcpu_stats() 13074 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, lstats); in net_dev_struct_check()
|