Home
last modified time | relevance | path

Searched refs:tot (Results 1 – 25 of 25) sorted by relevance

/drivers/net/
A Dveth.c450 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
457 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64()
460 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
462 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64()
463 tot->rx_packets += rx.xdp_packets; in veth_get_stats64()
471 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64()
472 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64()
475 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
476 tot->rx_dropped += rx.xdp_tx_err; in veth_get_stats64()
477 tot->tx_bytes += rx.xdp_bytes; in veth_get_stats64()
[all …]
A Dxen-netfront.c1390 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1413 tot->rx_packets += rx_packets; in xennet_get_stats64()
1414 tot->tx_packets += tx_packets; in xennet_get_stats64()
1415 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1416 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1419 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1420 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
A Dvirtio_net.c3684 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
3709 tot->rx_packets += rpackets; in virtnet_stats()
3710 tot->tx_packets += tpackets; in virtnet_stats()
3711 tot->rx_bytes += rbytes; in virtnet_stats()
3712 tot->tx_bytes += tbytes; in virtnet_stats()
3713 tot->rx_dropped += rdrops; in virtnet_stats()
3714 tot->tx_errors += terrors; in virtnet_stats()
3717 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats()
3718 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats()
3719 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats()
[all …]
/drivers/media/test-drivers/vivid/
A Dvivid-vbi-gen.c72 unsigned tot = 0; in cc_insert() local
77 tot += cc[2 * i]; in cc_insert()
79 cc[14] = cc[15] = !(tot & 1); in cc_insert()
/drivers/net/ethernet/fungible/funeth/
A Dfuneth_ethtool.c756 u64 *totals, *tot; in fun_get_ethtool_stats() local
766 *data = (cnt); *tot++ += *data++; \ in fun_get_ethtool_stats()
773 tot = totals; in fun_get_ethtool_stats()
799 tot = totals; in fun_get_ethtool_stats()
814 tot = totals; in fun_get_ethtool_stats()
/drivers/net/hyperv/
A Dnetvsc_drv.c1225 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument
1230 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats()
1246 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1247 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1248 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1249 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1250 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
/drivers/crypto/intel/qat/qat_common/
A Dadf_transport.c12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100) argument
/drivers/scsi/lpfc/
A Dlpfc_debugfs.c1036 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local
1149 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data()
1151 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data()
1159 tot); in lpfc_debugfs_nvmestat_data()
1183 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data()
1184 totin += tot; in lpfc_debugfs_nvmestat_data()
1200 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data()
1255 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local
1269 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data()
1270 totin += tot; in lpfc_debugfs_scsistat_data()
[all …]
A Dlpfc_attr.c478 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local
628 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show()
629 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show()
630 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show()
638 tot); in lpfc_nvme_info_show()
781 tot = cstat->io_cmpls; in lpfc_nvme_info_show()
782 totin += tot; in lpfc_nvme_info_show()
845 u64 tot, totin, totout; in lpfc_scsi_stat_show() local
859 tot = cstat->io_cmpls; in lpfc_scsi_stat_show()
860 totin += tot; in lpfc_scsi_stat_show()
[all …]
/drivers/net/ethernet/intel/igc/
A Digc_hw.h248 u64 tot; member
A Digc_ethtool.c276 regs_buff[71] = adapter->stats.tot; in igc_ethtool_get_regs()
A Digc_main.c5252 adapter->stats.tot += rd32(IGC_TOTH); in igc_update_stats()
/drivers/mtd/nand/raw/
A Dnandsim.c443 unsigned long deciles[10], decile_max[10], tot = 0; in ns_show() local
453 tot += wear; in ns_show()
471 avg = tot / wear_eb_count; in ns_show()
474 seq_printf(m, "Total numbers of erases: %lu\n", tot); in ns_show()
/drivers/gpu/drm/omapdrm/dss/
A Ddsi.c3580 int bl, wc, pps, tot; in print_dsi_vm() local
3585 tot = bl + pps; in print_dsi_vm()
3594 bl, pps, tot, in print_dsi_vm()
3605 TO_DSI_T(tot)); in print_dsi_vm()
3612 int hact, bl, tot; in print_dispc_vm() local
3616 tot = hact + bl; in print_dispc_vm()
3625 bl, hact, tot, in print_dispc_vm()
3632 TO_DISPC_T(tot)); in print_dispc_vm()
/drivers/video/fbdev/omap2/omapfb/dss/
A Ddsi.c4322 int bl, wc, pps, tot; in print_dsi_vm() local
4327 tot = bl + pps; in print_dsi_vm()
4336 bl, pps, tot, in print_dsi_vm()
4347 TO_DSI_T(tot)); in print_dsi_vm()
4354 int hact, bl, tot; in print_dispc_vm() local
4358 tot = hact + bl; in print_dispc_vm()
4367 bl, hact, tot, in print_dispc_vm()
4374 TO_DISPC_T(tot)); in print_dispc_vm()
/drivers/net/ethernet/intel/igb/
A De1000_hw.h209 u64 tot; member
A Digb_ethtool.c594 regs_buff[98] = adapter->stats.tot; in igb_get_regs()
A Digb_main.c6863 adapter->stats.tot += rd32(E1000_TOTH); in igb_update_stats()
/drivers/gpu/drm/bridge/
A Dtc358768.c844 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; in tc358768_bridge_atomic_pre_enable() local
846 dsi_hsw = tot / 3; in tc358768_bridge_atomic_pre_enable()
/drivers/net/ethernet/intel/e1000e/
A Dhw.h422 u64 tot; member
/drivers/net/ethernet/chelsio/cxgb3/
A Dcxgb3_main.c1654 unsigned long tot = 0; in collect_sge_port_stats() local
1657 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats()
1658 return tot; in collect_sge_port_stats()
/drivers/mmc/core/
A Dmmc_test.c587 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local
592 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()
/drivers/net/ethernet/mellanox/mlx4/
A Dresource_tracker.c2733 int tot; in qp_get_mtt_size() local
2738 tot = (total_mem + (page_offset << 6)) >> page_shift; in qp_get_mtt_size()
2739 total_pages = !tot ? 1 : roundup_pow_of_two(tot); in qp_get_mtt_size()
/drivers/net/wireless/ath/ath12k/
A Ddebugfs_htt_stats.h1394 __le32 tot; member
A Ddebugfs_htt_stats.c2943 le32_to_cpu(htt_stats_buf->tot)); in ath12k_htt_print_latency_prof_stats_tlv()

Completed in 214 milliseconds