/linux-6.3-rc2/drivers/staging/sm750fb/ |
A D | ddk750_hwi2c.c | 88 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.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | bpf_tcp_ca.c | 20 static const unsigned int total_bytes = 10 * 1024 * 1024; variable 55 while (bytes < total_bytes && !READ_ONCE(stop)) { in server() 57 MIN(total_bytes - bytes, sizeof(batch)), 0); in server() 67 CHECK(bytes != total_bytes, "send", "%zd != %u nr_sent:%zd errno:%d\n", in server() 68 bytes, total_bytes, nr_sent, errno); in server() 148 while (bytes < total_bytes && !READ_ONCE(stop)) { in do_test() 150 MIN(total_bytes - bytes, sizeof(batch)), 0); in do_test() 158 CHECK(bytes != total_bytes, "recv", "%zd != %u nr_recv:%zd errno:%d\n", in do_test() 159 bytes, total_bytes, nr_recv, errno); in do_test()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_txrx_common.h | 46 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()
|
A D | i40e_xsk.c | 467 unsigned int *total_bytes) in i40e_xmit_pkt() argument 480 *total_bytes += desc->len; in i40e_xmit_pkt() 484 unsigned int *total_bytes) in i40e_xmit_pkt_batch() argument 501 *total_bytes += desc[i].len; in i40e_xmit_pkt_batch() 508 unsigned int *total_bytes) in i40e_fill_tx_hw_ring() argument 515 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 517 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 540 unsigned int total_bytes = 0; in i40e_xmit_zc() local 548 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in i40e_xmit_zc() 553 &total_bytes); in i40e_xmit_zc() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_ring.c | 235 unsigned int total_bytes; in intel_ring_begin() local 241 total_bytes = bytes + rq->reserved_space; in intel_ring_begin() 242 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin() 244 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin() 253 total_bytes += remain_actual; in intel_ring_begin() 262 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin() 266 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() 282 total_bytes); in intel_ring_begin()
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | psock_tpacket.c | 97 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.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_xsk.c | 891 unsigned int *total_bytes) in ice_xmit_pkt() argument 904 *total_bytes += desc->len; in ice_xmit_pkt() 914 unsigned int *total_bytes) in ice_xmit_pkt_batch() argument 931 *total_bytes += descs[i].len; in ice_xmit_pkt_batch() 945 u32 nb_pkts, unsigned int *total_bytes) in ice_fill_tx_hw_ring() argument 952 ice_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in ice_fill_tx_hw_ring() 954 ice_xmit_pkt(xdp_ring, &descs[i], total_bytes); in ice_fill_tx_hw_ring() 967 unsigned int total_bytes = 0; in ice_xmit_zc() local 981 ice_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in ice_xmit_zc() 986 &total_bytes); in ice_xmit_zc() [all …]
|
A D | ice_txrx_lib.c | 255 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.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_xsk.c | 367 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.3-rc2/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_main.c | 567 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.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
A D | ia_css_sdis2.host.c | 46 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.3-rc2/drivers/usb/host/ |
A D | fhci-sched.c | 194 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.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
A D | ia_css_sdis.host.c | 50 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.3-rc2/drivers/spi/ |
A D | spi-microchip-core-qspi.c | 316 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.3-rc2/fs/btrfs/ |
A D | file-item.c | 790 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local 843 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio() 855 + total_bytes; in btrfs_csum_one_bio() 868 total_bytes += fs_info->sectorsize; in btrfs_csum_one_bio() 1126 u64 total_bytes = 0; in btrfs_csum_file_blocks() local 1141 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks() 1227 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 1292 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 1317 ins_size = (u32)(sums->len - total_bytes) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks() 1326 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks() [all …]
|
A D | accessors.h | 115 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_device_total_bytes() 117 total_bytes)); in btrfs_device_total_bytes() 124 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_set_device_total_bytes() 126 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); in btrfs_set_device_total_bytes() 143 total_bytes, 64); 783 total_bytes, 64); 893 total_bytes, 64);
|
A D | extent-io-tree.c | 912 u64 total_bytes = 0; in btrfs_find_delalloc_range() local 944 total_bytes += state->end - state->start + 1; in btrfs_find_delalloc_range() 945 if (total_bytes >= max_bytes) in btrfs_find_delalloc_range() 1550 u64 total_bytes = 0; in count_range_bits() local 1600 total_bytes += min(search_end, state->end) + 1 - in count_range_bits() 1602 if (total_bytes >= max_bytes) in count_range_bits() 1624 return total_bytes; in count_range_bits()
|
A D | backref.h | 224 struct btrfs_data_container *init_data_container(u32 total_bytes); 225 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
|
/linux-6.3-rc2/drivers/media/common/b2c2/ |
A D | flexcop-i2c.c | 46 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.3-rc2/net/batman-adv/ |
A D | netlink.h | 21 u8 result, u32 test_time, u64 total_bytes,
|
/linux-6.3-rc2/drivers/gpu/drm/sprd/ |
A D | sprd_dsi.c | 460 u32 total_bytes; in sprd_dsi_dpi_video() local 521 total_bytes = (vm->hactive + vm->hfront_porch) * in sprd_dsi_dpi_video() 525 if (total_bytes < bytes_per_chunk) { in sprd_dsi_dpi_video() 530 chunk_overhead = total_bytes - bytes_per_chunk; in sprd_dsi_dpi_video() 544 if (total_bytes >= (bytes_per_chunk * chunks)) { in sprd_dsi_dpi_video() 545 bytes_left = total_bytes - in sprd_dsi_dpi_video()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.c | 199 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() 488 bytes = rc->total_bytes; in iavf_update_itr() 639 rc->total_bytes = 0; in iavf_update_itr() 1614 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in iavf_clean_rx_irq()
|
/linux-6.3-rc2/arch/mips/include/asm/octeon/ |
A D | cvmx-pko.h | 243 uint64_t total_bytes:16; member 245 uint64_t total_bytes:16;
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | btrfs_tree.h | 503 __le64 total_bytes; member 561 __le64 total_bytes; member 664 __le64 total_bytes; member
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_sockmap.c | 601 float total_bytes, txmsg_pop_total; in msg_loop() local 617 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop() 619 txmsg_pop_total = txmsg_pop * (total_bytes / txmsg_apply); in msg_loop() 622 total_bytes -= txmsg_pop_total; in msg_loop() 626 while (s->bytes_recvd < total_bytes) { in msg_loop() 646 …r, "unexpected timeout: recved %zu/%f pop_total %f\n", s->bytes_recvd, total_bytes, txmsg_pop_tota… in msg_loop() 685 if (opt->check_recved_len && s->bytes_recvd > total_bytes) { in msg_loop() 688 s->bytes_recvd, total_bytes); in msg_loop()
|