Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/sm750fb/
H 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H 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()
H A 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()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A 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 …]
H A 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 …]
H A Dspace-info.h9 u64 total_bytes; /* total bytes in the space, member
121 u64 total_bytes, u64 bytes_used,
H A 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,
/OK3568_Linux_fs/u-boot/lib/
H A Dgunzip.c104 u64 total_bytes) in gzwrite_progress() argument
107 printf("%llu/%llu\r", bytes_written, total_bytes); in gzwrite_progress()
113 u64 total_bytes, in gzwrite_progress_finish() argument
119 total_bytes, calculated_crc); in gzwrite_progress_finish()
123 bytes_written, total_bytes, in gzwrite_progress_finish()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A 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()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H 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()
/OK3568_Linux_fs/kernel/drivers/media/common/b2c2/
H 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()
/OK3568_Linux_fs/kernel/net/batman-adv/
H A Dnetlink.h21 u8 result, u32 test_time, u64 total_bytes,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/
H A 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()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h243 uint64_t total_bytes:16; member
245 uint64_t total_bytes:16;
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/zlmediakit/include/
H A Dmk_events.h153 size_t total_bytes,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_main.c1906 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local
1965 total_bytes += skb->len; in igc_clean_rx_irq()
1984 rx_ring->rx_stats.bytes += total_bytes; in igc_clean_rx_irq()
1987 q_vector->rx.total_bytes += total_bytes; in igc_clean_rx_irq()
2005 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_tx_irq() local
2037 total_bytes += tx_buffer->bytecount; in igc_clean_tx_irq()
2091 total_packets, total_bytes); in igc_clean_tx_irq()
2096 tx_ring->tx_stats.bytes += total_bytes; in igc_clean_tx_irq()
2099 q_vector->tx.total_bytes += total_bytes; in igc_clean_tx_irq()
2961 unsigned int bytes = ring_container->total_bytes; in igc_update_itr()
[all …]
/OK3568_Linux_fs/kernel/block/
H A Dblk-core.c1442 int total_bytes; in blk_update_request() local
1461 total_bytes = 0; in blk_update_request()
1473 total_bytes += bio_bytes; in blk_update_request()
1493 req->__data_len -= total_bytes; in blk_update_request()
1497 req->__sector += total_bytes >> 9; in blk_update_request()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_fsm.c197 u32 done_bytes, u32 total_bytes) in mlxfw_status_notify() argument
200 done_bytes, total_bytes); in mlxfw_status_notify()

12345