lstats 1431 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c struct rtnl_link_stats64 lstats; lstats 1437 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c netdev->netdev_ops->ndo_get_stats64(netdev, &lstats); lstats 1439 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_packets; lstats 1441 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_packets; lstats 1443 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_bytes; lstats 1445 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_bytes; lstats 1446 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_errors + lstats 1451 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_errors; lstats 1457 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_dropped + lstats 1465 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_dropped + lstats 1718 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c struct rtnl_link_stats64 lstats; lstats 1726 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c netdev->netdev_ops->ndo_get_stats64(netdev, &lstats); lstats 1728 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_packets; lstats 1730 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_packets; lstats 1732 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_bytes; lstats 1734 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_bytes; lstats 1735 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_errors; lstats 1736 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_errors; lstats 1742 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.rx_dropped; lstats 1744 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c data[i++] = lstats.tx_dropped + lstats 2063 drivers/net/ethernet/cavium/liquidio/lio_main.c struct rtnl_link_stats64 *lstats) lstats 2085 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_packets = pkts; lstats 2086 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_bytes = bytes; lstats 2087 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_dropped = drop; lstats 2104 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_bytes = bytes; lstats 2105 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_packets = pkts; lstats 2106 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_dropped = drop; lstats 2108 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; lstats 2109 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->collisions = oct->link_stats.fromhost.total_collisions; lstats 2112 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; lstats 2114 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_crc_errors = oct->link_stats.fromwire.fcs_err; lstats 2116 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_frame_errors = oct->link_stats.fromwire.frame_err; lstats 2118 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_fifo_errors = oct->link_stats.fromwire.fifo_err; lstats 2120 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_errors = lstats->rx_length_errors + lstats->rx_crc_errors + lstats 2121 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->rx_frame_errors + lstats->rx_fifo_errors; lstats 2124 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_aborted_errors = oct->link_stats.fromhost.fw_err_pko; lstats 2125 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_carrier_errors = oct->link_stats.fromhost.fw_err_link; lstats 2126 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_fifo_errors = oct->link_stats.fromhost.fifo_err; lstats 2128 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_errors = lstats->tx_aborted_errors + lstats 2129 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_carrier_errors + lstats 2130 drivers/net/ethernet/cavium/liquidio/lio_main.c lstats->tx_fifo_errors; lstats 1168 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c struct rtnl_link_stats64 *lstats) lstats 1190 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_packets = pkts; lstats 1191 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_bytes = bytes; lstats 1192 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_dropped = drop; lstats 1209 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_bytes = bytes; lstats 1210 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_packets = pkts; lstats 1211 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_dropped = drop; lstats 1213 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->multicast = oct->link_stats.fromwire.fw_total_mcast; lstats 1216 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_length_errors = oct->link_stats.fromwire.l2_err; lstats 1218 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_crc_errors = oct->link_stats.fromwire.fcs_err; lstats 1220 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_frame_errors = oct->link_stats.fromwire.frame_err; lstats 1222 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_errors = lstats->rx_length_errors + lstats->rx_crc_errors + lstats 1223 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->rx_frame_errors; lstats 1226 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_aborted_errors = oct->link_stats.fromhost.fw_err_pko; lstats 1227 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_carrier_errors = oct->link_stats.fromhost.fw_err_link; lstats 1229 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_errors = lstats->tx_aborted_errors + lstats 1230 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lstats->tx_carrier_errors; lstats 397 drivers/net/ethernet/toshiba/tc35815.c } lstats; lstats 1404 drivers/net/ethernet/toshiba/tc35815.c lp->lstats.rx_ints++; lstats 1408 drivers/net/ethernet/toshiba/tc35815.c lp->lstats.tx_ints++; lstats 1690 drivers/net/ethernet/toshiba/tc35815.c if (lp->lstats.tx_underrun < TX_THRESHOLD_KEEP_LIMIT) { lstats 1691 drivers/net/ethernet/toshiba/tc35815.c lp->lstats.tx_underrun++; lstats 1692 drivers/net/ethernet/toshiba/tc35815.c if (lp->lstats.tx_underrun >= TX_THRESHOLD_KEEP_LIMIT) { lstats 1792 drivers/net/ethernet/toshiba/tc35815.c if (lp->lstats.max_tx_qlen < qlen) lstats 1793 drivers/net/ethernet/toshiba/tc35815.c lp->lstats.max_tx_qlen = qlen; lstats 1971 drivers/net/ethernet/toshiba/tc35815.c return sizeof(lp->lstats) / sizeof(int); lstats 1980 drivers/net/ethernet/toshiba/tc35815.c data[0] = lp->lstats.max_tx_qlen; lstats 1981 drivers/net/ethernet/toshiba/tc35815.c data[1] = lp->lstats.tx_ints; lstats 1982 drivers/net/ethernet/toshiba/tc35815.c data[2] = lp->lstats.rx_ints; lstats 1983 drivers/net/ethernet/toshiba/tc35815.c data[3] = lp->lstats.tx_underrun; lstats 89 drivers/net/loopback.c lb_stats = this_cpu_ptr(dev->lstats); lstats 114 drivers/net/loopback.c lb_stats = per_cpu_ptr(dev->lstats, i); lstats 141 drivers/net/loopback.c dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); lstats 142 drivers/net/loopback.c if (!dev->lstats) lstats 150 drivers/net/loopback.c free_percpu(dev->lstats); lstats 13 drivers/net/nlmon.c struct pcpu_lstats *stats = this_cpu_ptr(dev->lstats); lstats 27 drivers/net/nlmon.c dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); lstats 28 drivers/net/nlmon.c return dev->lstats == NULL ? -ENOMEM : 0; lstats 33 drivers/net/nlmon.c free_percpu(dev->lstats); lstats 67 drivers/net/nlmon.c nl_stats = per_cpu_ptr(dev->lstats, i); lstats 264 drivers/net/veth.c struct pcpu_lstats *stats = this_cpu_ptr(dev->lstats); lstats 292 drivers/net/veth.c struct pcpu_lstats *stats = per_cpu_ptr(dev->lstats, cpu); lstats 977 drivers/net/veth.c dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); lstats 978 drivers/net/veth.c if (!dev->lstats) lstats 983 drivers/net/veth.c free_percpu(dev->lstats); lstats 993 drivers/net/veth.c free_percpu(dev->lstats); lstats 17 drivers/net/vsockmon.c dev->lstats = netdev_alloc_pcpu_stats(struct pcpu_lstats); lstats 18 drivers/net/vsockmon.c if (!dev->lstats) lstats 25 drivers/net/vsockmon.c free_percpu(dev->lstats); lstats 51 drivers/net/vsockmon.c struct pcpu_lstats *stats = this_cpu_ptr(dev->lstats); lstats 74 drivers/net/vsockmon.c vstats = per_cpu_ptr(dev->lstats, i); lstats 371 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_stats(struct bfa_itnim_iostats_s *lstats, lstats 374 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, total_ios); lstats 375 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, qresumes); lstats 376 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, no_iotags); lstats 377 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, io_aborts); lstats 378 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, no_tskims); lstats 379 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocomp_ok); lstats 380 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocomp_underrun); lstats 381 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocomp_overrun); lstats 382 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocomp_aborted); lstats 383 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocomp_timedout); lstats 384 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_nexus_abort); lstats 385 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_proto_err); lstats 386 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_dif_err); lstats 387 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_sqer_needed); lstats 388 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_res_free); lstats 389 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_hostabrts); lstats 390 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, iocom_utags); lstats 391 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, io_cleanups); lstats 392 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, io_tmaborts); lstats 393 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, onlines); lstats 394 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, offlines); lstats 395 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, creates); lstats 396 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, deletes); lstats 397 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, create_comps); lstats 398 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, delete_comps); lstats 399 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, sler_events); lstats 400 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, fw_create); lstats 401 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, fw_delete); lstats 402 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, ioc_disabled); lstats 403 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, cleanup_comps); lstats 404 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_cmnds); lstats 405 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_fw_rsps); lstats 406 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_success); lstats 407 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_failures); lstats 408 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_io_comps); lstats 409 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_qresumes); lstats 410 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_iocdowns); lstats 411 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_cleanups); lstats 412 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, tm_cleanup_comps); lstats 413 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, io_comps); lstats 414 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, input_reqs); lstats 415 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, output_reqs); lstats 416 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, rd_throughput); lstats 417 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_add_iostats(lstats, rstats, wr_throughput); lstats 547 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_logout_stats *lstats = &tiqn->logout_stats; lstats 549 drivers/target/iscsi/iscsi_target_stat.c return snprintf(page, PAGE_SIZE, "%u\n", lstats->normal_logouts); lstats 556 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_logout_stats *lstats = &tiqn->logout_stats; lstats 558 drivers/target/iscsi/iscsi_target_stat.c return snprintf(page, PAGE_SIZE, "%u\n", lstats->abnormal_logouts); lstats 2024 include/linux/netdevice.h struct pcpu_lstats __percpu *lstats;