/linux-6.6.21/arch/s390/appldata/ |
D | appldata_net_sum.c | 44 u64 rx_bytes; /* total bytes received */ member 64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local 73 rx_bytes = 0; in appldata_get_net_sum_data() 89 rx_bytes += stats->rx_bytes; in appldata_get_net_sum_data() 103 net_data->rx_bytes = rx_bytes; in appldata_get_net_sum_data()
|
/linux-6.6.21/drivers/spi/ |
D | spi-zynq-qspi.c | 142 int rx_bytes; member 256 xqspi->rx_bytes -= size; in zynq_qspi_rxfifo_op() 257 if (xqspi->rx_bytes < 0) in zynq_qspi_rxfifo_op() 258 xqspi->rx_bytes = 0; in zynq_qspi_rxfifo_op() 443 len = xqspi->rx_bytes - xqspi->tx_bytes; in zynq_qspi_read_op() 455 xqspi->rx_bytes -= count * 4; in zynq_qspi_read_op() 501 if (!xqspi->rx_bytes) { in zynq_qspi_irq() 544 xqspi->rx_bytes = op->cmd.nbytes; in zynq_qspi_exec_mem_op() 562 xqspi->rx_bytes = op->addr.nbytes; in zynq_qspi_exec_mem_op() 581 xqspi->rx_bytes = op->dummy.nbytes; in zynq_qspi_exec_mem_op() [all …]
|
D | spi-npcm-pspi.c | 25 unsigned int rx_bytes; member 167 priv->rx_bytes = t->len; in npcm_pspi_setup_transfer() 227 rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes); in npcm_pspi_recv() 228 priv->rx_bytes -= rsize; in npcm_pspi_recv() 321 if (!priv->rx_bytes) in npcm_pspi_handler() 326 if (!priv->rx_bytes) { in npcm_pspi_handler()
|
D | spi-uniphier.c | 34 unsigned int rx_bytes; member 226 priv->tx_bytes = priv->rx_bytes = t->len; in uniphier_spi_setup_transfer() 283 rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes); in uniphier_spi_recv() 284 priv->rx_bytes -= rsize; in uniphier_spi_recv() 322 fifo_threshold = DIV_ROUND_UP(priv->rx_bytes, bpw); in uniphier_spi_fill_tx_fifo() 328 DIV_ROUND_UP(priv->rx_bytes - priv->tx_bytes, bpw); in uniphier_spi_fill_tx_fifo() 508 while ((priv->rx_bytes - priv->tx_bytes) > 0) { in uniphier_spi_transfer_one_poll() 618 (priv->rx_bytes - priv->tx_bytes) > 0) in uniphier_spi_handler() 622 (priv->rx_bytes != priv->tx_bytes)) { in uniphier_spi_handler() 625 } else if (priv->rx_bytes == 0) in uniphier_spi_handler()
|
D | spi-img-spfi.c | 229 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local 238 rx_bytes = xfer->len; in img_spfi_start_pio() 244 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio() 253 if (rx_bytes >= 4) in img_spfi_start_pio() 254 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio() 256 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio() 261 rx_bytes -= rx_count; in img_spfi_start_pio() 266 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
|
D | spi-cadence.c | 124 int rx_bytes; member 314 nrx = clamp(nrx, 0, xspi->rx_bytes); in cdns_spi_process_fifo() 317 xspi->rx_bytes -= nrx; in cdns_spi_process_fifo() 376 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq() 436 xspi->rx_bytes = transfer->len; in cdns_transfer_one()
|
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_common.c | 384 u64 rx_bytes = 0; in fm10k_update_hw_stats_rx_q() local 398 rx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_rx_q() 400 &q->rx_bytes); in fm10k_update_hw_stats_rx_q() 415 q->rx_bytes.count += rx_bytes; in fm10k_update_hw_stats_rx_q() 421 fm10k_update_hw_base_48b(&q->rx_bytes, rx_bytes); in fm10k_update_hw_stats_rx_q()
|
/linux-6.6.21/include/net/ |
D | kcm.h | 31 unsigned long long rx_bytes; member 43 unsigned long long rx_bytes; member 188 SAVE_MUX_STATS(rx_bytes); in aggregate_mux_stats()
|
/linux-6.6.21/sound/firewire/fireface/ |
D | ff-transaction.c | 28 snd_rawmidi_transmit_ack(substream, ff->rx_bytes[port]); in finish_transmit_midi_msg() 29 ff->rx_bytes[port] = 0; in finish_transmit_midi_msg() 68 if (ff->rx_bytes[port] > 0 || ff->rx_midi_error[port]) in transmit_midi_msg() 91 ff->rx_bytes[port] * 8 * (NSEC_PER_SEC / 31250)); in transmit_midi_msg()
|
/linux-6.6.21/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_vnd.c | 28 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup() 148 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64() 155 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64()
|
/linux-6.6.21/net/l2tp/ |
D | l2tp_eth.c | 43 atomic_long_t rx_bytes; member 98 stats->rx_bytes = (unsigned long)atomic_long_read(&priv->rx_bytes); in l2tp_eth_get_stats64() 150 atomic_long_add(data_len, &priv->rx_bytes); in l2tp_eth_dev_recv()
|
/linux-6.6.21/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 202 u64 tx_pkts = 0, rx_pkts = 0, tx_bytes = 0, rx_bytes = 0; in vdpasim_net_work() local 256 rx_bytes += write; in vdpasim_net_work() 278 net->rx_stats.bytes += rx_bytes; in vdpasim_net_work() 290 u64 rx_pkts, rx_bytes, rx_errors, rx_overruns, rx_drops; in vdpasim_net_get_stats() local 301 rx_bytes = net->rx_stats.bytes; in vdpasim_net_get_stats() 317 rx_bytes, VDPA_ATTR_PAD)) in vdpasim_net_get_stats()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 266 mdata->uapsd_nonagg_detect.rx_bytes += len; in iwl_mvm_rx_handle_tcm() 740 u32 rx_bytes = le32_to_cpu(rx_bytes_le[i]); in iwl_mvm_update_tcm_from_stats() local 744 mdata->uapsd_nonagg_detect.rx_bytes += rx_bytes; in iwl_mvm_update_tcm_from_stats() 749 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats() 837 __le32 rx_bytes[MAC_INDEX_AUX]; in iwl_mvm_handle_rx_statistics_tlv() local 868 rx_bytes[i] = stats->rx_bytes[i]; in iwl_mvm_handle_rx_statistics_tlv() 894 rx_bytes[i] = stats->per_mac_stats[i].rx_bytes; in iwl_mvm_handle_rx_statistics_tlv() 908 iwl_mvm_update_tcm_from_stats(mvm, air_time, rx_bytes); in iwl_mvm_handle_rx_statistics_tlv()
|
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_police.c | 173 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_add() 216 new_stats.rx_bytes - old_stats->bytes, in lan966x_police_port_stats() 222 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_stats()
|
D | lan966x_mirror.c | 115 new_stats.rx_bytes - old_stats->bytes, in lan966x_mirror_port_stats() 121 old_stats->bytes = new_stats.rx_bytes; in lan966x_mirror_port_stats()
|
/linux-6.6.21/drivers/net/can/ |
D | vcan.c | 77 stats->rx_bytes += can_skb_get_data_len(skb); in vcan_rx() 111 stats->rx_bytes += len; in vcan_tx()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 352 unsigned int *rx_bytes, in i40e_handle_xdp_result_zc() argument 359 *rx_bytes = xdp_get_buff_len(xdp_buff); in i40e_handle_xdp_result_zc() 383 *rx_bytes = 0; in i40e_handle_xdp_result_zc() 389 *rx_bytes = 0; in i40e_handle_xdp_result_zc() 459 unsigned int rx_bytes; in i40e_clean_rx_irq_zc() local 506 &rx_bytes, xdp_res, &failure); in i40e_clean_rx_irq_zc() 511 total_rx_bytes += rx_bytes; in i40e_clean_rx_irq_zc()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_tc_edt.sh | 72 cat /sys/class/net/veth_dst/statistics/rx_bytes ) 80 cat /sys/class/net/veth_dst/statistics/rx_bytes )
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-bcm-iproc.c | 202 unsigned int rx_bytes; member 362 u32 rx_bytes = 0; in bcm_iproc_i2c_slave_read() local 365 while (rx_bytes < MAX_SLAVE_RX_PER_INT) { in bcm_iproc_i2c_slave_read() 397 rx_bytes++; in bcm_iproc_i2c_slave_read() 548 while (iproc_i2c->rx_bytes < msg->len) { in bcm_iproc_i2c_read_valid_bytes() 555 msg->buf[iproc_i2c->rx_bytes] = in bcm_iproc_i2c_read_valid_bytes() 557 iproc_i2c->rx_bytes++; in bcm_iproc_i2c_read_valid_bytes() 608 bytes_left = msg->len - iproc_i2c->rx_bytes; in bcm_iproc_i2c_read() 929 iproc_i2c->rx_bytes = 0; in bcm_iproc_i2c_xfer_internal()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 54 stats->rx_bytes += len; in nfp_repr_inc_rx_stats() 69 stats->rx_bytes = readq(mem + NFP_MAC_STATS_RX_IN_OCTETS); in nfp_repr_phy_port_get_stats64() 85 stats->rx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_TX_OCTETS); in nfp_repr_vnic_get_stats64() 141 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64() 148 stats->rx_bytes += rbytes; in nfp_repr_get_host_stats64()
|
/linux-6.6.21/drivers/net/ |
D | mhi_net.c | 21 u64_stats_t rx_bytes; member 109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64() 226 u64_stats_add(&mhi_netdev->stats.rx_bytes, skb->len); in mhi_net_dl_callback()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ethtool.c | 137 u64 rx_packets, rx_bytes; in octep_get_ethtool_stats() local 143 rx_bytes = 0; in octep_get_ethtool_stats() 151 rx_bytes = 0; in octep_get_ethtool_stats() 169 rx_bytes += oq->stats.bytes; in octep_get_ethtool_stats() 175 data[i++] = rx_bytes; in octep_get_ethtool_stats()
|
D | octep_rx.c | 358 u32 pkt, rx_bytes, desc_used; in __octep_oq_process_rx() local 364 rx_bytes = 0; in __octep_oq_process_rx() 393 rx_bytes += buff_info->len; in __octep_oq_process_rx() 458 oq->stats.bytes += rx_bytes; in __octep_oq_process_rx()
|
/linux-6.6.21/tools/testing/selftests/wireguard/ |
D | netns.sh | 167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev … 168 (( rx_bytes == 1372 && (tx_bytes == 1428 || tx_bytes == 1460) )) 169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev … 170 (( tx_bytes == 1372 && (rx_bytes == 1428 || rx_bytes == 1460) )) 171 read _ rx_bytes tx_bytes < <(n2 wg show wg0 transfer) 172 (( rx_bytes == 1372 && (tx_bytes == 1428 || tx_bytes == 1460) )) 173 read _ rx_bytes tx_bytes < <(n1 wg show wg0 transfer) 174 (( tx_bytes == 1372 && (rx_bytes == 1428 || rx_bytes == 1460) ))
|
/linux-6.6.21/drivers/net/ethernet/ti/icssg/ |
D | icssg_stats.h | 55 u32 rx_bytes; member 133 ICSSG_STATS(rx_bytes, true),
|