Home
last modified time | relevance | path

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

1234

/linux/drivers/staging/sm750fb/
A 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/tools/testing/selftests/bpf/prog_tests/
A Dbpf_tcp_ca.c19 static const unsigned int total_bytes = 10 * 1024 * 1024; variable
54 while (bytes < total_bytes && !READ_ONCE(stop)) { in server()
56 min(total_bytes - bytes, sizeof(batch)), 0); in server()
66 CHECK(bytes != total_bytes, "send", "%zd != %u nr_sent:%zd errno:%d\n", in server()
67 bytes, total_bytes, nr_sent, errno); in server()
147 while (bytes < total_bytes && !READ_ONCE(stop)) { in do_test()
149 min(total_bytes - bytes, sizeof(batch)), 0); in do_test()
157 CHECK(bytes != total_bytes, "recv", "%zd != %u nr_recv:%zd errno:%d\n", in do_test()
158 bytes, total_bytes, nr_recv, errno); in do_test()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_ring.c233 unsigned int total_bytes; in intel_ring_begin() local
239 total_bytes = bytes + rq->reserved_space; in intel_ring_begin()
240 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin()
242 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin()
251 total_bytes += remain_actual; in intel_ring_begin()
260 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin()
264 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin()
280 total_bytes); in intel_ring_begin()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_txrx_common.h45 unsigned int total_bytes) in i40e_update_tx_stats() argument
48 tx_ring->stats.bytes += total_bytes; in i40e_update_tx_stats()
51 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_update_tx_stats()
A Di40e_xsk.c399 unsigned int *total_bytes) in i40e_xmit_pkt() argument
412 *total_bytes += desc->len; in i40e_xmit_pkt()
416 unsigned int *total_bytes) in i40e_xmit_pkt_batch() argument
433 *total_bytes += desc[i].len; in i40e_xmit_pkt_batch()
440 unsigned int *total_bytes) in i40e_fill_tx_hw_ring() argument
447 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring()
449 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring()
472 unsigned int total_bytes = 0; in i40e_xmit_zc() local
480 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in i40e_xmit_zc()
485 &total_bytes); in i40e_xmit_zc()
[all …]
/linux/tools/testing/selftests/net/
A 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/fs/btrfs/
A Dspace-info.c255 u64 total_bytes, u64 bytes_used, in btrfs_update_space_info() argument
267 found->total_bytes += total_bytes; in btrfs_update_space_info()
268 found->disk_total += total_bytes * factor; in btrfs_update_space_info()
273 if (total_bytes > 0) in btrfs_update_space_info()
345 if (used + bytes < space_info->total_bytes + avail) in btrfs_can_overcommit()
381 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets()
726 if (space_info->total_bytes + avail < used) in btrfs_calc_reclaim_metadata_size()
727 to_reclaim += used - (space_info->total_bytes + avail); in btrfs_calc_reclaim_metadata_size()
799 if (used < space_info->total_bytes) in need_preemptive_reclaim()
800 thresh += space_info->total_bytes - used; in need_preemptive_reclaim()
[all …]
A Dfile-item.c634 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local
695 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio()
707 + total_bytes; in btrfs_csum_one_bio()
720 total_bytes += fs_info->sectorsize; in btrfs_csum_one_bio()
978 u64 total_bytes = 0; in btrfs_csum_file_blocks() local
993 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks()
1079 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
1144 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
1169 ins_size = (u32)(sums->len - total_bytes) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
1178 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks()
[all …]
A Dspace-info.h9 u64 total_bytes; /* total bytes in the space, member
115 u64 total_bytes, u64 bytes_used,
A Dbackref.h57 struct btrfs_data_container *init_data_container(u32 total_bytes);
58 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
/linux/drivers/net/ethernet/intel/fm10k/
A Dfm10k_main.c559 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
602 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq()
618 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq()
621 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq()
1177 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1206 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
1263 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq()
1266 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq()
1300 total_packets, total_bytes); in fm10k_clean_tx_irq()
1343 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c353 q_vector->rx.total_bytes += total_rx_bytes; in ixgbe_clean_rx_irq_zc()
449 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
462 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq()
488 tx_ring->stats.bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
491 q_vector->tx.total_bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
/linux/drivers/usb/host/
A 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/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
A 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/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
A 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/drivers/net/ethernet/intel/ice/
A Dice_txrx_lib.c223 unsigned int total_bytes = 0, total_pkts = 0; in ice_clean_xdp_irq() local
238 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq()
260 ice_update_tx_ring_stats(xdp_ring, total_pkts, total_bytes); in ice_clean_xdp_irq()
A Dice_xsk.c689 int total_packets = 0, total_bytes = 0; in ice_clean_tx_irq_zc() local
705 total_bytes += tx_buf->bytecount; in ice_clean_tx_irq_zc()
739 ice_update_tx_ring_stats(xdp_ring, total_packets, total_bytes); in ice_clean_tx_irq_zc()
/linux/drivers/media/common/b2c2/
A 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/net/batman-adv/
A Dnetlink.h21 u8 result, u32 test_time, u64 total_bytes,
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.c196 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
223 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq()
282 tx_ring->stats.bytes += total_bytes; in iavf_clean_tx_irq()
285 tx_ring->q_vector->tx.total_bytes += total_bytes; in iavf_clean_tx_irq()
305 total_packets, total_bytes); in iavf_clean_tx_irq()
454 bytes = rc->total_bytes; in iavf_update_itr()
604 rc->total_bytes = 0; in iavf_update_itr()
1573 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in iavf_clean_rx_irq()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-pko.h243 uint64_t total_bytes:16; member
245 uint64_t total_bytes:16;
/linux/tools/testing/selftests/bpf/
A Dtest_sockmap.c598 float total_bytes, txmsg_pop_total; in msg_loop() local
614 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
616 txmsg_pop_total = txmsg_pop * (total_bytes / txmsg_apply); in msg_loop()
619 total_bytes -= txmsg_pop_total; in msg_loop()
623 while (s->bytes_recvd < total_bytes) { in msg_loop()
643 …r, "unexpected timeout: recved %zu/%f pop_total %f\n", s->bytes_recvd, total_bytes, txmsg_pop_tota… in msg_loop()
673 if (opt->check_recved_len && s->bytes_recvd > total_bytes) { in msg_loop()
676 s->bytes_recvd, total_bytes); in msg_loop()
/linux/fs/notify/fanotify/
A Dfanotify_user.c477 int ret, total_bytes = 0, info_type = 0; in copy_info_records_to_user() local
497 total_bytes += ret; in copy_info_records_to_user()
547 total_bytes += ret; in copy_info_records_to_user()
557 total_bytes += ret; in copy_info_records_to_user()
566 total_bytes += ret; in copy_info_records_to_user()
569 return total_bytes; in copy_info_records_to_user()
/linux/drivers/scsi/qla2xxx/
A Dqla_isr.c232 total_bytes = (le16_to_cpu(purex->frame_size) & 0x0FFF) in __qla_copy_purex_to_buffer()
239 tpad = roundup(total_bytes, 4); in __qla_copy_purex_to_buffer()
249 pending_bytes = total_bytes = tpad; in __qla_copy_purex_to_buffer()
283 if ((buffer_copy_offset + no_bytes) <= total_bytes) { in __qla_copy_purex_to_buffer()
294 total_bytes - buffer_copy_offset); in __qla_copy_purex_to_buffer()
305 total_bytes, entry_count_remaining); in __qla_copy_purex_to_buffer()
1021 pending_bytes = total_bytes; in qla27xx_copy_fpin_pkt()
1027 total_bytes, entry_count); in qla27xx_copy_fpin_pkt()
1029 item = qla24xx_alloc_purex_item(vha, total_bytes); in qla27xx_copy_fpin_pkt()
1085 total_bytes - buffer_copy_offset); in qla27xx_copy_fpin_pkt()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxfw/
A Dmlxfw_fsm.c197 u32 done_bytes, u32 total_bytes) in mlxfw_status_notify() argument
200 done_bytes, total_bytes); in mlxfw_status_notify()

Completed in 83 milliseconds

1234