| /linux-6.15/drivers/scsi/bfa/ |
| H A D | bfa_fcpim.c | 323 bfa_fcpim_add_iostats(lstats, rstats, total_ios); in bfa_fcpim_add_stats() 324 bfa_fcpim_add_iostats(lstats, rstats, qresumes); in bfa_fcpim_add_stats() 325 bfa_fcpim_add_iostats(lstats, rstats, no_iotags); in bfa_fcpim_add_stats() 326 bfa_fcpim_add_iostats(lstats, rstats, io_aborts); in bfa_fcpim_add_stats() 327 bfa_fcpim_add_iostats(lstats, rstats, no_tskims); in bfa_fcpim_add_stats() 342 bfa_fcpim_add_iostats(lstats, rstats, onlines); in bfa_fcpim_add_stats() 343 bfa_fcpim_add_iostats(lstats, rstats, offlines); in bfa_fcpim_add_stats() 344 bfa_fcpim_add_iostats(lstats, rstats, creates); in bfa_fcpim_add_stats() 345 bfa_fcpim_add_iostats(lstats, rstats, deletes); in bfa_fcpim_add_stats() 353 bfa_fcpim_add_iostats(lstats, rstats, tm_cmnds); in bfa_fcpim_add_stats() [all …]
|
| /linux-6.15/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_vf_main.c | 1173 struct rtnl_link_stats64 *lstats) in liquidio_get_stats64() argument 1195 lstats->tx_packets = pkts; in liquidio_get_stats64() 1196 lstats->tx_bytes = bytes; in liquidio_get_stats64() 1197 lstats->tx_dropped = drop; in liquidio_get_stats64() 1214 lstats->rx_bytes = bytes; in liquidio_get_stats64() 1215 lstats->rx_packets = pkts; in liquidio_get_stats64() 1216 lstats->rx_dropped = drop; in liquidio_get_stats64() 1227 lstats->rx_errors = lstats->rx_length_errors + lstats->rx_crc_errors + in liquidio_get_stats64() 1228 lstats->rx_frame_errors; in liquidio_get_stats64() 1234 lstats->tx_errors = lstats->tx_aborted_errors + in liquidio_get_stats64() [all …]
|
| H A D | lio_main.c | 2060 lstats->tx_packets = pkts; in liquidio_get_stats64() 2061 lstats->tx_bytes = bytes; in liquidio_get_stats64() 2062 lstats->tx_dropped = drop; in liquidio_get_stats64() 2079 lstats->rx_bytes = bytes; in liquidio_get_stats64() 2080 lstats->rx_packets = pkts; in liquidio_get_stats64() 2081 lstats->rx_dropped = drop; in liquidio_get_stats64() 2095 lstats->rx_errors = lstats->rx_length_errors + lstats->rx_crc_errors + in liquidio_get_stats64() 2096 lstats->rx_frame_errors + lstats->rx_fifo_errors; in liquidio_get_stats64() 2103 lstats->tx_errors = lstats->tx_aborted_errors + in liquidio_get_stats64() 2104 lstats->tx_carrier_errors + in liquidio_get_stats64() [all …]
|
| H A D | lio_ethtool.c | 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() 1734 data[i++] = lstats.rx_packets; in lio_vf_get_ethtool_stats() 1738 data[i++] = lstats.rx_bytes; in lio_vf_get_ethtool_stats() 1740 data[i++] = lstats.tx_bytes; in lio_vf_get_ethtool_stats() 1741 data[i++] = lstats.rx_errors; in lio_vf_get_ethtool_stats() [all …]
|
| /linux-6.15/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp_intf.c | 1153 struct bcmasp_intf_stats64 *lstats; in bcmasp_get_stats64() local 1156 lstats = &intf->stats64; in bcmasp_get_stats64() 1159 start = u64_stats_fetch_begin(&lstats->syncp); in bcmasp_get_stats64() 1160 stats->rx_packets = u64_stats_read(&lstats->rx_packets); in bcmasp_get_stats64() 1161 stats->rx_bytes = u64_stats_read(&lstats->rx_bytes); in bcmasp_get_stats64() 1162 stats->rx_dropped = u64_stats_read(&lstats->rx_dropped); in bcmasp_get_stats64() 1163 stats->rx_crc_errors = u64_stats_read(&lstats->rx_crc_errs); in bcmasp_get_stats64() 1164 stats->rx_frame_errors = u64_stats_read(&lstats->rx_sym_errs); in bcmasp_get_stats64() 1167 stats->tx_packets = u64_stats_read(&lstats->tx_packets); in bcmasp_get_stats64() 1168 stats->tx_bytes = u64_stats_read(&lstats->tx_bytes); in bcmasp_get_stats64() [all …]
|
| /linux-6.15/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() 1693 lp->lstats.tx_underrun++; 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() 1987 data[1] = lp->lstats.tx_ints; in tc35815_get_ethtool_stats() 1988 data[2] = lp->lstats.rx_ints; in tc35815_get_ethtool_stats() [all …]
|
| /linux-6.15/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-6.15/drivers/net/ |
| H A D | loopback.c | 108 lb_stats = per_cpu_ptr(dev->lstats, i); in dev_lstats_read()
|
| /linux-6.15/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 141 struct pcpu_lstats__percpu* lstats read_mostly …
|
| /linux-6.15/include/linux/ |
| H A D | netdevice.h | 2123 struct pcpu_lstats __percpu *lstats; member 2986 struct pcpu_lstats *lstats = this_cpu_ptr(dev->lstats); in dev_lstats_add() local 2988 u64_stats_update_begin(&lstats->syncp); in dev_lstats_add() 2989 u64_stats_add(&lstats->bytes, len); in dev_lstats_add() 2990 u64_stats_inc(&lstats->packets); in dev_lstats_add() 2991 u64_stats_update_end(&lstats->syncp); in dev_lstats_add()
|
| /linux-6.15/mm/ |
| H A D | memcontrol.c | 3932 struct lruvec_stats *lstats = pn->lruvec_stats; in mem_cgroup_css_rstat_flush() local 3942 .aggregate = lstats->state, in mem_cgroup_css_rstat_flush() 3943 .local = lstats->state_local, in mem_cgroup_css_rstat_flush() 3944 .pending = lstats->state_pending, in mem_cgroup_css_rstat_flush()
|
| /linux-6.15/net/core/ |
| H A D | dev.c | 10836 v = dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); in netdev_do_alloc_pcpu_stats() 10857 free_percpu(dev->lstats); in netdev_do_free_pcpu_stats() 12566 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, lstats); in net_dev_struct_check()
|