/linux-6.12.1/drivers/scsi/bfa/ |
D | bfa_fcpim.c | 320 bfa_fcpim_add_stats(struct bfa_itnim_iostats_s *lstats, in bfa_fcpim_add_stats() argument 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() 328 bfa_fcpim_add_iostats(lstats, rstats, iocomp_ok); in bfa_fcpim_add_stats() 329 bfa_fcpim_add_iostats(lstats, rstats, iocomp_underrun); in bfa_fcpim_add_stats() 330 bfa_fcpim_add_iostats(lstats, rstats, iocomp_overrun); in bfa_fcpim_add_stats() 331 bfa_fcpim_add_iostats(lstats, rstats, iocomp_aborted); in bfa_fcpim_add_stats() [all …]
|
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
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() 1218 lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; in liquidio_get_stats64() 1221 lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; in liquidio_get_stats64() 1223 lstats->rx_crc_errors = oct->link_stats.fromwire.fcs_err; in liquidio_get_stats64() [all …]
|
D | lio_main.c | 2038 struct rtnl_link_stats64 *lstats) in liquidio_get_stats64() argument 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() 2083 lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; in liquidio_get_stats64() 2084 lstats->collisions = oct->link_stats.fromhost.total_collisions; in liquidio_get_stats64() 2087 lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; in liquidio_get_stats64() [all …]
|
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-6.12.1/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp_intf.c | 1143 struct bcmasp_intf_stats64 *lstats; in bcmasp_get_stats64() local 1146 lstats = &intf->stats64; in bcmasp_get_stats64() 1149 start = u64_stats_fetch_begin(&lstats->syncp); in bcmasp_get_stats64() 1150 stats->rx_packets = u64_stats_read(&lstats->rx_packets); in bcmasp_get_stats64() 1151 stats->rx_bytes = u64_stats_read(&lstats->rx_bytes); in bcmasp_get_stats64() 1152 stats->rx_dropped = u64_stats_read(&lstats->rx_dropped); in bcmasp_get_stats64() 1153 stats->rx_crc_errors = u64_stats_read(&lstats->rx_crc_errs); in bcmasp_get_stats64() 1154 stats->rx_frame_errors = u64_stats_read(&lstats->rx_sym_errs); in bcmasp_get_stats64() 1157 stats->tx_packets = u64_stats_read(&lstats->tx_packets); in bcmasp_get_stats64() 1158 stats->tx_bytes = u64_stats_read(&lstats->tx_bytes); in bcmasp_get_stats64() [all …]
|
/linux-6.12.1/drivers/net/ethernet/toshiba/ |
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-6.12.1/drivers/target/iscsi/ |
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.12.1/drivers/net/ |
D | loopback.c | 107 lb_stats = per_cpu_ptr(dev->lstats, i); in dev_lstats_read()
|
/linux-6.12.1/Documentation/networking/net_cachelines/ |
D | net_device.rst | 140 struct_pcpu_lstats__percpu* lstats read_mostly …
|
/linux-6.12.1/include/linux/ |
D | netdevice.h | 2059 struct pcpu_lstats __percpu *lstats; member 2775 struct pcpu_lstats *lstats = this_cpu_ptr(dev->lstats); in dev_lstats_add() local 2777 u64_stats_update_begin(&lstats->syncp); in dev_lstats_add() 2778 u64_stats_add(&lstats->bytes, len); in dev_lstats_add() 2779 u64_stats_inc(&lstats->packets); in dev_lstats_add() 2780 u64_stats_update_end(&lstats->syncp); in dev_lstats_add()
|
/linux-6.12.1/mm/ |
D | memcontrol.c | 3801 struct lruvec_stats *lstats = pn->lruvec_stats; in mem_cgroup_css_rstat_flush() local 3811 delta = lstats->state_pending[i]; in mem_cgroup_css_rstat_flush() 3813 lstats->state_pending[i] = 0; in mem_cgroup_css_rstat_flush() 3824 lstats->state_local[i] += delta_cpu; in mem_cgroup_css_rstat_flush() 3827 lstats->state[i] += delta; in mem_cgroup_css_rstat_flush()
|
/linux-6.12.1/net/core/ |
D | dev.c | 10332 v = dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); in netdev_do_alloc_pcpu_stats() 10353 free_percpu(dev->lstats); in netdev_do_free_pcpu_stats() 11988 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, lstats); in net_dev_struct_check()
|