Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/staging/sm750fb/
Dddk750_hwi2c.c88 unsigned int total_bytes = 0; in hw_i2c_write_data() local
127 total_bytes += (count + 1); in hw_i2c_write_data()
131 return total_bytes; in hw_i2c_write_data()
153 unsigned int total_bytes = 0; in hw_i2c_read_data() local
192 total_bytes += (count + 1); in hw_i2c_read_data()
196 return total_bytes; in hw_i2c_read_data()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h46 unsigned int total_bytes) in i40e_update_tx_stats() argument
49 tx_ring->stats.bytes += total_bytes; in i40e_update_tx_stats()
52 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_update_tx_stats()
Di40e_xsk.c538 unsigned int *total_bytes) in i40e_xmit_pkt() argument
551 *total_bytes += desc->len; in i40e_xmit_pkt()
555 unsigned int *total_bytes) in i40e_xmit_pkt_batch() argument
572 *total_bytes += desc[i].len; in i40e_xmit_pkt_batch()
579 unsigned int *total_bytes) in i40e_fill_tx_hw_ring() argument
586 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring()
588 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring()
611 unsigned int total_bytes = 0; in i40e_xmit_zc() local
619 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in i40e_xmit_zc()
624 &total_bytes); in i40e_xmit_zc()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_ring.c236 unsigned int total_bytes; in intel_ring_begin() local
242 total_bytes = bytes + rq->reserved_space; in intel_ring_begin()
243 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin()
245 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin()
254 total_bytes += remain_actual; in intel_ring_begin()
263 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin()
267 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin()
283 total_bytes); in intel_ring_begin()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c21 static const unsigned int total_bytes = 10 * 1024 * 1024; variable
56 while (bytes < total_bytes && !READ_ONCE(stop)) { in server()
58 MIN(total_bytes - bytes, sizeof(batch)), 0); in server()
68 CHECK(bytes != total_bytes, "send", "%zd != %u nr_sent:%zd errno:%d\n", in server()
69 bytes, total_bytes, nr_sent, errno); in server()
149 while (bytes < total_bytes && !READ_ONCE(stop)) { in do_test()
151 MIN(total_bytes - bytes, sizeof(batch)), 0); in do_test()
159 CHECK(bytes != total_bytes, "recv", "%zd != %u nr_recv:%zd errno:%d\n", in do_test()
160 bytes, total_bytes, nr_recv, errno); in do_test()
/linux-6.6.21/tools/testing/selftests/net/
Dpsock_tpacket.c97 static unsigned int total_packets, total_bytes; variable
247 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx()
253 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx()
276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
433 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_tx()
443 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_tx()
455 total_bytes += tx->tp_snaplen; in walk_tx()
572 total_bytes += bytes; in __v3_walk_block()
619 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v3_rx()
705 total_bytes = 0; in setup_ring()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_xsk.c990 unsigned int *total_bytes) in ice_xmit_pkt() argument
1003 *total_bytes += desc->len; in ice_xmit_pkt()
1013 unsigned int *total_bytes) in ice_xmit_pkt_batch() argument
1030 *total_bytes += descs[i].len; in ice_xmit_pkt_batch()
1044 u32 nb_pkts, unsigned int *total_bytes) in ice_fill_tx_hw_ring() argument
1051 ice_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in ice_fill_tx_hw_ring()
1053 ice_xmit_pkt(xdp_ring, &descs[i], total_bytes); in ice_fill_tx_hw_ring()
1066 unsigned int total_bytes = 0; in ice_xmit_zc() local
1080 ice_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in ice_xmit_zc()
1085 &total_bytes); in ice_xmit_zc()
[all …]
Dice_txrx_lib.c255 int total_bytes = 0, total_pkts = 0; in ice_clean_xdp_irq() local
288 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq()
317 ice_update_tx_ring_stats(xdp_ring, total_pkts, total_bytes); in ice_clean_xdp_irq()
/linux-6.6.21/sound/drivers/
Dpcmtest.c108 size_t total_bytes; // Total bytes read/written member
144 v_iter->total_bytes += by; in inc_buf_pos()
181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; in check_buf_block_i()
182 if (current_byte != patt_bufs[ch_num].buf[ch_pos_i(v_iter->total_bytes, in check_buf_block_i()
207 if (current_byte != patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) in check_buf_block_ni()
247 patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) in fill_block_pattern_n()
260 pos_in_ch = ch_pos_i(v_iter->total_bytes, runtime->channels, v_iter->sample_bytes); in fill_block_pattern_i()
410 v_iter->total_bytes = 0; in reset_buf_iterator()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c367 q_vector->rx.total_bytes += total_rx_bytes; in ixgbe_clean_rx_irq_zc()
465 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
478 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq()
504 tx_ring->stats.bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
507 q_vector->tx.total_bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
/linux-6.6.21/fs/btrfs/
Dspace-info.c310 found->total_bytes += block_group->length; in btrfs_add_bg_to_space_info()
394 if (used + bytes < space_info->total_bytes + avail) in btrfs_can_overcommit()
430 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets()
495 (s64)(info->total_bytes - btrfs_space_info_used(info, true)), in __btrfs_dump_space_info()
499 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
831 if (space_info->total_bytes + avail < used) in btrfs_calc_reclaim_metadata_size()
832 to_reclaim += used - (space_info->total_bytes + avail); in btrfs_calc_reclaim_metadata_size()
845 thresh = mult_perc(space_info->total_bytes, 90); in need_preemptive_reclaim()
908 if (used < space_info->total_bytes) in need_preemptive_reclaim()
909 thresh += space_info->total_bytes - used; in need_preemptive_reclaim()
[all …]
Dfile-item.c1051 u64 total_bytes = 0; in btrfs_csum_file_blocks() local
1066 bytenr = sums->logical + total_bytes; in btrfs_csum_file_blocks()
1152 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
1217 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
1242 ins_size = (u32)(sums->len - total_bytes) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
1251 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks()
1254 if (total_bytes < sums->len) { in btrfs_csum_file_blocks()
Daccessors.h116 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); in btrfs_device_total_bytes()
117 return btrfs_get_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes)); in btrfs_device_total_bytes()
123 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); in btrfs_set_device_total_bytes()
125 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); in btrfs_set_device_total_bytes()
142 total_bytes, 64);
782 total_bytes, 64);
892 total_bytes, 64);
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c567 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
610 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq()
626 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq()
629 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq()
1185 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1214 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
1271 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq()
1274 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq()
1308 total_packets, total_bytes); in fm10k_clean_tx_irq()
1351 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c46 unsigned int total_bytes = aligned_width * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_horicoef_vmem_encode() local
52 assert(total_bytes <= size); in ia_css_sdis2_horicoef_vmem_encode()
71 unsigned int total_bytes = aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_vertcoef_vmem_encode() local
77 assert(total_bytes <= size); in ia_css_sdis2_vertcoef_vmem_encode()
/linux-6.6.21/drivers/usb/host/
Dfhci-sched.c194 if (usb->actual_frame->total_bytes + len + PROTOCOL_OVERHEAD >= in add_packet()
197 "%d %d %d\n", usb->actual_frame->total_bytes, len, in add_packet()
231 usb->actual_frame->total_bytes += (len + PROTOCOL_OVERHEAD); in add_packet()
247 usb->actual_frame->total_bytes -= (len + PROTOCOL_OVERHEAD); in add_packet()
315 if (usb->actual_frame->total_bytes >= in scan_ed_list()
324 if (usb->actual_frame->total_bytes >= frame_part[list_type]) in scan_ed_list()
349 usb->actual_frame->total_bytes = 0; in rotate_frames()
369 if (usb->actual_frame->total_bytes == 0) { in fhci_schedule_transactions()
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
Dia_css_sdis.host.c50 unsigned int total_bytes = aligned_width * IA_CSS_DVS_NUM_COEF_TYPES * sizeof( in ia_css_sdis_horicoef_vmem_encode() local
58 assert(total_bytes <= size); in ia_css_sdis_horicoef_vmem_encode()
77 unsigned int total_bytes = aligned_height * IA_CSS_DVS_NUM_COEF_TYPES * in ia_css_sdis_vertcoef_vmem_encode() local
85 assert(total_bytes <= size); in ia_css_sdis_vertcoef_vmem_encode()
/linux-6.6.21/drivers/spi/
Dspi-microchip-core-qspi.c316 int total_bytes, cmd_bytes, frames, ctrl; in mchp_coreqspi_config_op() local
319 total_bytes = cmd_bytes + op->data.nbytes; in mchp_coreqspi_config_op()
348 cmd_bytes = total_bytes; in mchp_coreqspi_config_op()
350 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_config_op()
352 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_config_op()
/linux-6.6.21/net/batman-adv/
Dnetlink.h21 u8 result, u32 test_time, u64 total_bytes,
/linux-6.6.21/drivers/media/common/b2c2/
Dflexcop-i2c.c46 int len = r100.tw_sm_c_100.total_bytes, in flexcop_i2c_read4()
91 int len = r100.tw_sm_c_100.total_bytes; /* remember total_bytes is buflen-1 */ in flexcop_i2c_write4()
141 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1; in flexcop_i2c_request()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dtestmode.c399 u16 chunk_len, total_bytes, num_segments; in ath11k_tm_cmd_wmi_ftm() local
427 total_bytes = buf_len; in ath11k_tm_cmd_wmi_ftm()
428 num_segments = total_bytes / MAX_WMI_UTF_LEN; in ath11k_tm_cmd_wmi_ftm()
448 ftm_cmd->seg_hdr.len = total_bytes; in ath11k_tm_cmd_wmi_ftm()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_isr.c242 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; in __qla_copy_purex_to_buffer() local
248 total_bytes = (le16_to_cpu(purex->frame_size) & 0x0FFF) in __qla_copy_purex_to_buffer()
255 tpad = roundup(total_bytes, 4); in __qla_copy_purex_to_buffer()
265 pending_bytes = total_bytes = tpad; in __qla_copy_purex_to_buffer()
279 while ((total_bytes > 0) && (entry_count_remaining > 0)) { in __qla_copy_purex_to_buffer()
299 if ((buffer_copy_offset + no_bytes) <= total_bytes) { in __qla_copy_purex_to_buffer()
310 total_bytes - buffer_copy_offset); in __qla_copy_purex_to_buffer()
321 total_bytes, entry_count_remaining); in __qla_copy_purex_to_buffer()
326 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); in __qla_copy_purex_to_buffer()
861 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; in qla27xx_copy_multiple_pkt() local
[all …]
/linux-6.6.21/drivers/gpu/drm/sprd/
Dsprd_dsi.c458 u32 total_bytes; in sprd_dsi_dpi_video() local
519 total_bytes = (vm->hactive + vm->hfront_porch) * in sprd_dsi_dpi_video()
523 if (total_bytes < bytes_per_chunk) { in sprd_dsi_dpi_video()
528 chunk_overhead = total_bytes - bytes_per_chunk; in sprd_dsi_dpi_video()
542 if (total_bytes >= (bytes_per_chunk * chunks)) { in sprd_dsi_dpi_video()
543 bytes_left = total_bytes - in sprd_dsi_dpi_video()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c217 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
244 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq()
303 tx_ring->stats.bytes += total_bytes; in iavf_clean_tx_irq()
306 tx_ring->q_vector->tx.total_bytes += total_bytes; in iavf_clean_tx_irq()
326 total_packets, total_bytes); in iavf_clean_tx_irq()
487 bytes = rc->total_bytes; in iavf_update_itr()
638 rc->total_bytes = 0; in iavf_update_itr()
1613 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in iavf_clean_rx_irq()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-pko.h243 uint64_t total_bytes:16; member
245 uint64_t total_bytes:16;

12345