Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c11 static const unsigned int total_bytes = 10 * 1024 * 1024; variable
67 while (bytes < total_bytes && !READ_ONCE(stop)) { in server()
69 min(total_bytes - bytes, sizeof(batch)), 0); in server()
79 CHECK(bytes != total_bytes, "send", "%zd != %u nr_sent:%zd errno:%d\n", in server()
80 bytes, total_bytes, nr_sent, errno); in server()
160 while (bytes < total_bytes && !READ_ONCE(stop)) { in do_test()
162 min(total_bytes - bytes, sizeof(batch)), 0); in do_test()
170 CHECK(bytes != total_bytes, "recv", "%zd != %u nr_recv:%zd errno:%d\n", in do_test()
171 bytes, total_bytes, nr_recv, errno); in do_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
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()
Di40e_xsk.c458 unsigned int sent_frames = 0, total_bytes = 0; in i40e_xmit_zc() local
483 total_bytes += tx_bi->bytecount; in i40e_xmit_zc()
497 i40e_update_tx_stats(xdp_ring, sent_frames, total_bytes); in i40e_xmit_zc()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ring.c227 unsigned int total_bytes; in intel_ring_begin() local
233 total_bytes = bytes + rq->reserved_space; in intel_ring_begin()
234 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin()
236 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin()
245 total_bytes += remain_actual; in intel_ring_begin()
254 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin()
258 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin()
274 total_bytes); in intel_ring_begin()
/kernel/linux/linux-5.10/fs/btrfs/
Dspace-info.c259 u64 total_bytes, u64 bytes_used, in btrfs_update_space_info() argument
271 found->total_bytes += total_bytes; in btrfs_update_space_info()
272 found->disk_total += total_bytes * factor; in btrfs_update_space_info()
276 if (total_bytes > 0) in btrfs_update_space_info()
348 if (used + bytes < space_info->total_bytes + avail) in btrfs_can_overcommit()
384 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets()
423 (s64)(info->total_bytes - btrfs_space_info_used(info, true)), in __btrfs_dump_space_info()
427 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
591 if (cur_free_bytes < space_info->total_bytes) in may_commit_transaction()
592 cur_free_bytes = space_info->total_bytes - cur_free_bytes; in may_commit_transaction()
[all …]
Dfile-item.c537 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local
599 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio()
611 + total_bytes; in btrfs_csum_one_bio()
624 total_bytes += fs_info->sectorsize; in btrfs_csum_one_bio()
852 u64 total_bytes = 0; in btrfs_csum_file_blocks() local
868 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks()
969 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
994 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
1021 ins_size = (u32)(sums->len - total_bytes) >> in btrfs_csum_file_blocks()
1031 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks()
[all …]
Dspace-info.h9 u64 total_bytes; /* total bytes in the space, member
121 u64 total_bytes, u64 bytes_used,
Dbackref.h55 struct btrfs_data_container *init_data_container(u32 total_bytes);
56 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Dvolumes.h82 u64 total_bytes; member
207 BTRFS_DEVICE_GETSET_FUNCS(total_bytes);
Ddev-replace.c202 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace()
203 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace()
302 device->total_bytes = btrfs_device_get_total_bytes(srcdev); in btrfs_init_dev_replace_tgtdev()
796 btrfs_device_set_total_bytes(tgt_device, src_device->total_bytes); in btrfs_dev_replace_finishing()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c354 q_vector->rx.total_bytes += total_rx_bytes; in ixgbe_clean_rx_irq_zc()
452 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
465 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq()
491 tx_ring->stats.bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
494 q_vector->tx.total_bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c572 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
615 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq()
631 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq()
634 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq()
1190 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1219 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
1276 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq()
1279 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq()
1313 total_packets, total_bytes); in fm10k_clean_tx_irq()
1356 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/batman-adv/
Dnetlink.h21 u8 result, u32 test_time, u64 total_bytes,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c199 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
226 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq()
285 tx_ring->stats.bytes += total_bytes; in iavf_clean_tx_irq()
288 tx_ring->q_vector->tx.total_bytes += total_bytes; in iavf_clean_tx_irq()
308 total_packets, total_bytes); in iavf_clean_tx_irq()
457 bytes = rc->total_bytes; in iavf_update_itr()
607 rc->total_bytes = 0; in iavf_update_itr()
1588 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in iavf_clean_rx_irq()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pko.h243 uint64_t total_bytes:16; member
245 uint64_t total_bytes:16;
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c800 u64 total_bytes = 0; in ionic_tx_tso() local
872 total_bytes += start ? len : len + hdrlen; in ionic_tx_tso()
909 total_bytes += start ? len : len + hdrlen; in ionic_tx_tso()
932 total_bytes += start ? len : len + hdrlen; in ionic_tx_tso()
940 stats->bytes += total_bytes; in ionic_tx_tso()
942 stats->tso_bytes += total_bytes; in ionic_tx_tso()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_fsm.c197 u32 done_bytes, u32 total_bytes) in mlxfw_status_notify() argument
200 done_bytes, total_bytes); in mlxfw_status_notify()
/kernel/linux/linux-5.10/block/
Dblk-core.c1425 int total_bytes; in blk_update_request() local
1451 total_bytes = 0; in blk_update_request()
1463 total_bytes += bio_bytes; in blk_update_request()
1483 req->__data_len -= total_bytes; in blk_update_request()
1487 req->__sector += total_bytes >> 9; in blk_update_request()
/kernel/linux/linux-5.10/drivers/dma/
Damba-pl08x.c1207 int num_llis, size_t *total_bytes) in prep_byte_width_lli() argument
1211 (*total_bytes) += len; in prep_byte_width_lli()
1264 size_t max_bytes_per_lli, total_bytes; in pl08x_fill_llis_for_desc() local
1285 total_bytes = 0; in pl08x_fill_llis_for_desc()
1382 num_llis++, &total_bytes); in pl08x_fill_llis_for_desc()
1441 total_bytes += lli_len; in pl08x_fill_llis_for_desc()
1452 bd.remainder, num_llis++, &total_bytes); in pl08x_fill_llis_for_desc()
1456 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc()
1459 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc()

1234