Home
last modified time | relevance | path

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

12345678910>>...26

/Linux-v4.19/arch/s390/appldata/
Dappldata_net_sum.c49 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-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c55 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-v4.19/drivers/i2c/busses/
Di2c-bcm-iproc.c104 unsigned int tx_bytes; member
125 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_isr() local
130 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_isr()
131 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_isr()
133 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_isr()
156 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_isr()
257 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_single_msg() local
278 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_single_msg()
280 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_single_msg()
289 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_single_msg()
[all …]
/Linux-v4.19/sound/soc/intel/common/
Dsst-ipc.c85 void *tx_data, size_t tx_bytes, void *rx_data, in ipc_tx_message() argument
100 msg->tx_size = tx_bytes; in ipc_tx_message()
107 if ((tx_bytes) && (ipc->ops.tx_data_copy != NULL)) in ipc_tx_message()
108 ipc->ops.tx_data_copy(msg, tx_data, tx_bytes); in ipc_tx_message()
186 void *tx_data, size_t tx_bytes, void *rx_data, size_t rx_bytes) in sst_ipc_tx_message_wait() argument
199 ret = ipc_tx_message(ipc, header, tx_data, tx_bytes, in sst_ipc_tx_message_wait()
211 void *tx_data, size_t tx_bytes) in sst_ipc_tx_message_nowait() argument
213 return ipc_tx_message(ipc, header, tx_data, tx_bytes, in sst_ipc_tx_message_nowait()
219 void *tx_data, size_t tx_bytes, void *rx_data, size_t rx_bytes) in sst_ipc_tx_message_nopm() argument
221 return ipc_tx_message(ipc, header, tx_data, tx_bytes, in sst_ipc_tx_message_nopm()
Dsst-ipc.h78 void *tx_data, size_t tx_bytes, void *rx_data, size_t rx_bytes);
81 void *tx_data, size_t tx_bytes);
84 void *tx_data, size_t tx_bytes, void *rx_data, size_t rx_bytes);
/Linux-v4.19/include/net/
Dkcm.h26 unsigned long long tx_bytes; member
36 unsigned long long tx_bytes; member
48 unsigned long long tx_bytes; member
177 SAVE_PSOCK_STATS(tx_bytes); in aggregate_psock_stats()
193 SAVE_MUX_STATS(tx_bytes); in aggregate_mux_stats()
/Linux-v4.19/drivers/net/team/
Dteam_mode_loadbalance.c44 u64 tx_bytes; member
209 static void lb_update_tx_stats(unsigned int tx_bytes, struct lb_priv *lb_priv, in lb_update_tx_stats() argument
221 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
222 hash_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
232 unsigned int tx_bytes = skb->len; in lb_transmit() local
241 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit()
460 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add()
462 acc_stats->tx_bytes += tmp.tx_bytes; in __lb_one_cpu_stats_add()
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c333 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-v4.19/drivers/net/
Ddummy.c54 u64 tx_bytes; member
71 tbytes = dstats->tx_bytes; in dummy_get_stats64()
74 stats->tx_bytes += tbytes; in dummy_get_stats64()
85 dstats->tx_bytes += skb->len; in dummy_xmit()
Difb.c53 u64 tx_bytes; member
86 txp->tx_bytes += skb->len; in ifb_ri_tasklet()
150 bytes = txp->tx_bytes; in ifb_stats64()
153 stats->tx_bytes += bytes; in ifb_stats64()
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c50 pcpu_ptr->stats.tx_bytes += skb->len; in rmnet_vnd_tx_fixup()
131 total_stats.tx_bytes += pcpu_ptr->stats.tx_bytes; in rmnet_get_stats64()
140 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
/Linux-v4.19/drivers/atm/
Dhorizon.c1099 unsigned int tx_bytes; in tx_schedule() local
1109 tx_bytes = dev->tx_bytes; in tx_schedule()
1125 if (tx_bytes) { in tx_schedule()
1127 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1131 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1137 dev->tx_bytes = 0; in tx_schedule()
1140 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1141 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule()
1151 tx_bytes = dev->tx_iovec->iov_len; in tx_schedule()
1155 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
[all …]
/Linux-v4.19/drivers/spi/
Dspi-uniphier.c29 unsigned int tx_bytes; member
212 priv->tx_bytes = priv->rx_bytes = t->len; in uniphier_spi_setup_transfer()
242 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in uniphier_spi_send()
243 priv->tx_bytes -= wsize; in uniphier_spi_send()
296 tx_count = DIV_ROUND_UP(priv->tx_bytes, in uniphier_spi_fill_tx_fifo()
388 (priv->rx_bytes - priv->tx_bytes) > 0) in uniphier_spi_handler()
392 (priv->rx_bytes != priv->tx_bytes)) { in uniphier_spi_handler()
Dspi-cadence.c125 int tx_bytes; member
315 (xspi->tx_bytes > 0)) { in cdns_spi_fill_tx_fifo()
329 xspi->tx_bytes--; in cdns_spi_fill_tx_fifo()
369 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
383 if (xspi->tx_bytes) { in cdns_spi_irq()
425 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
Dspi-img-spfi.c237 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local
244 tx_bytes = xfer->len; in img_spfi_start_pio()
252 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio()
256 if (tx_bytes >= 4) in img_spfi_start_pio()
257 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
259 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
268 tx_bytes -= tx_count; in img_spfi_start_pio()
274 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
/Linux-v4.19/net/kcm/
Dkcmproc.c118 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-v4.19/net/l2tp/
Dl2tp_eth.c45 atomic_long_t tx_bytes; member
88 atomic_long_add(len, &priv->tx_bytes); in l2tp_eth_dev_xmit()
101 stats->tx_bytes = (unsigned long) atomic_long_read(&priv->tx_bytes); in l2tp_eth_get_stats64()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c72 stats->tx_bytes += len; in nfp_repr_inc_tx_stats()
95 stats->tx_bytes = readq(mem + NFP_MAC_STATS_TX_OUT_OCTETS); in nfp_repr_phy_port_get_stats64()
111 stats->tx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_RX_OCTETS); in nfp_repr_vnic_get_stats64()
167 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
174 stats->tx_bytes += tbytes; in nfp_repr_get_host_stats64()
/Linux-v4.19/net/bridge/
Dbr_device.c54 brstats->tx_bytes += skb->len; in br_dev_xmit()
212 sum.tx_bytes += tmp.tx_bytes; in br_get_stats64()
218 stats->tx_bytes = sum.tx_bytes; in br_get_stats64()
/Linux-v4.19/net/ipv4/
Dip_tunnel_core.c203 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in ip_tunnel_get_stats64() local
211 tx_bytes = tstats->tx_bytes; in ip_tunnel_get_stats64()
217 tot->tx_bytes += tx_bytes; in ip_tunnel_get_stats64()
/Linux-v4.19/net/mac802154/
Dtx.c48 dev->stats.tx_bytes += skb->len; in ieee802154_xmit_worker()
96 dev->stats.tx_bytes += skb->len; in ieee802154_tx()
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c137 u64 tx_packets, tx_bytes; in qtnf_netdev_get_stats64() local
146 tx_bytes = stats64->tx_bytes; in qtnf_netdev_get_stats64()
152 stats->tx_bytes += tx_bytes; in qtnf_netdev_get_stats64()
785 ndev->stats.tx_bytes += skb->len; in qtnf_update_tx_stats()
793 stats64->tx_bytes += skb->len; in qtnf_update_tx_stats()
/Linux-v4.19/net/openvswitch/
Dvport-internal_dev.c59 tstats->tx_bytes += len; in internal_dev_xmit()
123 stats->tx_bytes += local_stats.tx_bytes; in internal_get_stats()
/Linux-v4.19/arch/s390/include/asm/
Dpci.h45 u64 tx_bytes; member
55 u64 tx_bytes; member
/Linux-v4.19/net/sched/
Dsch_teql.c61 unsigned long tx_bytes; member
322 master->tx_bytes += length; in teql_master_xmit()
411 stats->tx_bytes = m->tx_bytes; in teql_master_stats64()

12345678910>>...26