| /Linux-v5.4/arch/s390/appldata/ |
| D | appldata_net_sum.c | 49 u64 tx_bytes; /* total bytes transmitted */ member 68 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local 78 tx_bytes = 0; in appldata_get_net_sum_data() 94 tx_bytes += stats->tx_bytes; in appldata_get_net_sum_data() 108 net_data->tx_bytes = tx_bytes; in appldata_get_net_sum_data()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_qdisc.c | 55 u64 tx_bytes; member 201 u64 *tx_bytes) in mlxsw_sp_qdisc_bstats_per_priority_get() argument 206 *tx_bytes = 0; in mlxsw_sp_qdisc_bstats_per_priority_get() 210 *tx_bytes += xstats->tx_bytes[i]; in mlxsw_sp_qdisc_bstats_per_priority_get() 269 &stats_base->tx_bytes); in mlxsw_sp_setup_tc_qdisc_red_clean_stats() 389 u64 tx_bytes, tx_packets, overlimits, drops, backlog; in mlxsw_sp_qdisc_get_red_stats() local 399 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_get_red_stats() 400 tx_bytes = tx_bytes - stats_base->tx_bytes; in mlxsw_sp_qdisc_get_red_stats() 409 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_get_red_stats() 421 stats_base->tx_bytes += tx_bytes; in mlxsw_sp_qdisc_get_red_stats() [all …]
|
| /Linux-v5.4/include/net/ |
| D | kcm.h | 23 unsigned long long tx_bytes; member 33 unsigned long long tx_bytes; member 45 unsigned long long tx_bytes; member 174 SAVE_PSOCK_STATS(tx_bytes); in aggregate_psock_stats() 190 SAVE_MUX_STATS(tx_bytes); in aggregate_mux_stats()
|
| /Linux-v5.4/drivers/spi/ |
| D | spi-zynq-qspi.c | 142 int tx_bytes; member 276 xqspi->tx_bytes -= size; in zynq_qspi_txfifo_op() 393 len = xqspi->tx_bytes; in zynq_qspi_write_op() 419 xqspi->tx_bytes -= count * 4; in zynq_qspi_write_op() 431 len = xqspi->rx_bytes - xqspi->tx_bytes; in zynq_qspi_read_op() 480 if (xqspi->tx_bytes) { in zynq_qspi_irq() 531 xqspi->tx_bytes = sizeof(op->cmd.opcode); in zynq_qspi_exec_mem_op() 549 xqspi->tx_bytes = op->addr.nbytes; in zynq_qspi_exec_mem_op() 565 xqspi->tx_bytes = op->dummy.nbytes; in zynq_qspi_exec_mem_op() 581 xqspi->tx_bytes = op->data.nbytes; in zynq_qspi_exec_mem_op() [all …]
|
| D | spi-uniphier.c | 31 unsigned int tx_bytes; member 214 priv->tx_bytes = priv->rx_bytes = t->len; in uniphier_spi_setup_transfer() 244 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in uniphier_spi_send() 245 priv->tx_bytes -= wsize; in uniphier_spi_send() 302 fill_bytes = fifo_threshold - (priv->rx_bytes - priv->tx_bytes); in uniphier_spi_fill_tx_fifo() 364 while (priv->tx_bytes) { in uniphier_spi_transfer_one_poll() 367 while ((priv->rx_bytes - priv->tx_bytes) > 0) { in uniphier_spi_transfer_one_poll() 446 (priv->rx_bytes - priv->tx_bytes) > 0) in uniphier_spi_handler() 450 (priv->rx_bytes != priv->tx_bytes)) { in uniphier_spi_handler()
|
| D | spi-npcm-pspi.c | 25 unsigned int tx_bytes; member 173 priv->tx_bytes = t->len; in npcm_pspi_setup_transfer() 199 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in npcm_pspi_send() 200 priv->tx_bytes -= wsize; in npcm_pspi_send() 307 if (priv->tx_bytes == 0) { in npcm_pspi_handler() 315 if (priv->tx_bytes) in npcm_pspi_handler()
|
| D | spi-cadence.c | 121 int tx_bytes; member 307 (xspi->tx_bytes > 0)) { in cdns_spi_fill_tx_fifo() 321 xspi->tx_bytes--; in cdns_spi_fill_tx_fifo() 361 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq() 375 if (xspi->tx_bytes) { in cdns_spi_irq() 417 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
|
| D | spi-img-spfi.c | 234 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local 241 tx_bytes = xfer->len; in img_spfi_start_pio() 249 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio() 253 if (tx_bytes >= 4) in img_spfi_start_pio() 254 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); in img_spfi_start_pio() 256 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); in img_spfi_start_pio() 265 tx_bytes -= tx_count; in img_spfi_start_pio() 271 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
|
| /Linux-v5.4/drivers/i2c/busses/ |
| D | i2c-bcm-iproc.c | 202 unsigned int tx_bytes; member 414 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local 419 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send() 420 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send() 422 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send() 449 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send() 684 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_single_msg() local 704 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_single_msg() 706 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_single_msg() 715 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_single_msg() [all …]
|
| /Linux-v5.4/drivers/net/team/ |
| D | team_mode_loadbalance.c | 40 u64 tx_bytes; member 205 static void lb_update_tx_stats(unsigned int tx_bytes, struct lb_priv *lb_priv, in lb_update_tx_stats() argument 217 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats() 218 hash_stats->tx_bytes += tx_bytes; in lb_update_tx_stats() 228 unsigned int tx_bytes = skb->len; in lb_transmit() local 237 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit() 470 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add() 472 acc_stats->tx_bytes += tmp.tx_bytes; in __lb_one_cpu_stats_add()
|
| /Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_common.c | 333 u64 tx_bytes = 0; in fm10k_update_hw_stats_tx_q() local 344 tx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_tx_q() 346 &q->tx_bytes); in fm10k_update_hw_stats_tx_q() 360 q->tx_bytes.count += tx_bytes; in fm10k_update_hw_stats_tx_q() 365 fm10k_update_hw_base_48b(&q->tx_bytes, tx_bytes); in fm10k_update_hw_stats_tx_q()
|
| /Linux-v5.4/drivers/net/ |
| D | dummy.c | 56 u64 tx_bytes; member 73 tbytes = dstats->tx_bytes; in dummy_get_stats64() 76 stats->tx_bytes += tbytes; in dummy_get_stats64() 87 dstats->tx_bytes += skb->len; in dummy_xmit()
|
| D | ifb.c | 50 u64 tx_bytes; member 83 txp->tx_bytes += skb->len; in ifb_ri_tasklet() 147 bytes = txp->tx_bytes; in ifb_stats64() 150 stats->tx_bytes += bytes; in ifb_stats64()
|
| /Linux-v5.4/drivers/net/ethernet/qualcomm/rmnet/ |
| D | rmnet_vnd.c | 40 pcpu_ptr->stats.tx_bytes += skb->len; in rmnet_vnd_tx_fixup() 121 total_stats.tx_bytes += pcpu_ptr->stats.tx_bytes; in rmnet_get_stats64() 130 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
|
| /Linux-v5.4/drivers/atm/ |
| D | horizon.c | 1084 unsigned int tx_bytes; in tx_schedule() local 1094 tx_bytes = dev->tx_bytes; in tx_schedule() 1110 if (tx_bytes) { in tx_schedule() 1112 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule() 1116 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule() 1122 dev->tx_bytes = 0; in tx_schedule() 1125 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule() 1126 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule() 1136 tx_bytes = dev->tx_iovec->iov_len; in tx_schedule() 1140 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule() [all …]
|
| /Linux-v5.4/net/kcm/ |
| D | kcmproc.c | 118 kcm->stats.tx_bytes, in kcm_format_sock() 148 psock->stats.tx_bytes, in kcm_format_psock() 199 mux->stats.tx_bytes, in kcm_format_mux() 300 mux_stats.tx_bytes, in kcm_stats_seq_show() 332 psock_stats.tx_bytes, in kcm_stats_seq_show()
|
| /Linux-v5.4/drivers/net/ethernet/google/gve/ |
| D | gve_ethtool.c | 94 u64 rx_pkts, rx_bytes, tx_pkts, tx_bytes; in gve_get_ethtool_stats() local 113 for (tx_pkts = 0, tx_bytes = 0, ring = 0; in gve_get_ethtool_stats() 120 tx_bytes += priv->tx[ring].bytes_done; in gve_get_ethtool_stats() 130 data[i++] = tx_bytes; in gve_get_ethtool_stats()
|
| /Linux-v5.4/net/l2tp/ |
| D | l2tp_eth.c | 41 atomic_long_t tx_bytes; member 83 atomic_long_add(len, &priv->tx_bytes); in l2tp_eth_dev_xmit() 96 stats->tx_bytes = (unsigned long) atomic_long_read(&priv->tx_bytes); in l2tp_eth_get_stats64()
|
| /Linux-v5.4/net/bridge/ |
| D | br_device.c | 48 brstats->tx_bytes += skb->len; in br_dev_xmit() 211 sum.tx_bytes += tmp.tx_bytes; in br_get_stats64() 217 stats->tx_bytes = sum.tx_bytes; in br_get_stats64()
|
| /Linux-v5.4/net/mac802154/ |
| D | tx.c | 40 dev->stats.tx_bytes += skb->len; in ieee802154_xmit_worker() 88 dev->stats.tx_bytes += skb->len; in ieee802154_tx()
|
| /Linux-v5.4/net/ipv4/ |
| D | ip_tunnel_core.c | 194 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in ip_tunnel_get_stats64() local 202 tx_bytes = tstats->tx_bytes; in ip_tunnel_get_stats64() 208 tot->tx_bytes += tx_bytes; in ip_tunnel_get_stats64()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_repr.c | 42 stats->tx_bytes += len; in nfp_repr_inc_tx_stats() 65 stats->tx_bytes = readq(mem + NFP_MAC_STATS_TX_OUT_OCTETS); in nfp_repr_phy_port_get_stats64() 81 stats->tx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_RX_OCTETS); in nfp_repr_vnic_get_stats64() 137 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64() 144 stats->tx_bytes += tbytes; in nfp_repr_get_host_stats64()
|
| /Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/ |
| D | core.c | 130 u64 tx_packets, tx_bytes; in qtnf_netdev_get_stats64() local 139 tx_bytes = stats64->tx_bytes; in qtnf_netdev_get_stats64() 145 stats->tx_bytes += tx_bytes; in qtnf_netdev_get_stats64() 831 ndev->stats.tx_bytes += skb->len; in qtnf_update_tx_stats() 839 stats64->tx_bytes += skb->len; in qtnf_update_tx_stats()
|
| /Linux-v5.4/net/openvswitch/ |
| D | vport-internal_dev.c | 47 tstats->tx_bytes += len; in internal_dev_xmit() 111 stats->tx_bytes += local_stats.tx_bytes; in internal_get_stats()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | hv_vhca_stats.c | 13 u64 tx_bytes; member 29 data->tx_bytes += stats->sq[tc].bytes; in mlx5e_hv_vhca_fill_ring_stats()
|