/linux-5.19.10/drivers/staging/sm750fb/ |
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-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_tcp_ca.c | 17 static const unsigned int total_bytes = 10 * 1024 * 1024; variable 52 while (bytes < total_bytes && !READ_ONCE(stop)) { in server() 54 MIN(total_bytes - bytes, sizeof(batch)), 0); in server() 64 CHECK(bytes != total_bytes, "send", "%zd != %u nr_sent:%zd errno:%d\n", in server() 65 bytes, total_bytes, nr_sent, errno); in server() 145 while (bytes < total_bytes && !READ_ONCE(stop)) { in do_test() 147 MIN(total_bytes - bytes, sizeof(batch)), 0); in do_test() 155 CHECK(bytes != total_bytes, "recv", "%zd != %u nr_recv:%zd errno:%d\n", in do_test() 156 bytes, total_bytes, nr_recv, errno); in do_test()
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
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()
|
D | i40e_xsk.c | 413 unsigned int *total_bytes) in i40e_xmit_pkt() argument 426 *total_bytes += desc->len; in i40e_xmit_pkt() 430 unsigned int *total_bytes) in i40e_xmit_pkt_batch() argument 447 *total_bytes += desc[i].len; in i40e_xmit_pkt_batch() 454 unsigned int *total_bytes) in i40e_fill_tx_hw_ring() argument 461 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 463 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 486 unsigned int total_bytes = 0; in i40e_xmit_zc() local 494 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in i40e_xmit_zc() 499 &total_bytes); in i40e_xmit_zc() [all …]
|
/linux-5.19.10/drivers/gpu/drm/i915/gt/ |
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-5.19.10/tools/testing/selftests/net/ |
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-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 863 unsigned int *total_bytes) in ice_xmit_pkt() argument 876 *total_bytes += desc->len; in ice_xmit_pkt() 886 unsigned int *total_bytes) in ice_xmit_pkt_batch() argument 904 *total_bytes += descs[i].len; in ice_xmit_pkt_batch() 925 u32 nb_pkts, unsigned int *total_bytes) in ice_fill_tx_hw_ring() argument 933 ice_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in ice_fill_tx_hw_ring() 935 ice_xmit_pkt(xdp_ring, &descs[i], total_bytes); in ice_fill_tx_hw_ring() 960 unsigned int total_bytes = 0; in ice_xmit_zc() local 973 ice_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in ice_xmit_zc() 982 &total_bytes); in ice_xmit_zc() [all …]
|
D | ice_txrx_lib.c | 229 unsigned int total_bytes = 0, total_pkts = 0; in ice_clean_xdp_irq() local 245 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq() 267 ice_update_tx_ring_stats(xdp_ring, total_pkts, total_bytes); in ice_clean_xdp_irq()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
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-5.19.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 559 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-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
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-5.19.10/drivers/usb/host/ |
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-5.19.10/fs/btrfs/ |
D | file-item.c | 647 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local 703 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio() 715 + total_bytes; in btrfs_csum_one_bio() 728 total_bytes += fs_info->sectorsize; in btrfs_csum_one_bio() 986 u64 total_bytes = 0; in btrfs_csum_file_blocks() local 1001 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks() 1087 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 1152 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 1177 ins_size = (u32)(sums->len - total_bytes) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks() 1186 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks() [all …]
|
D | space-info.h | 11 u64 total_bytes; /* total bytes in the space, member 127 u64 total_bytes, u64 bytes_used,
|
D | space-info.c | 297 u64 total_bytes, u64 bytes_used, in btrfs_update_space_info() argument 309 found->total_bytes += total_bytes; in btrfs_update_space_info() 311 found->active_total_bytes += total_bytes; in btrfs_update_space_info() 312 found->disk_total += total_bytes * factor; in btrfs_update_space_info() 317 if (total_bytes > 0) in btrfs_update_space_info() 386 return space_info->total_bytes; in writable_total_bytes() 483 (s64)(info->total_bytes - btrfs_space_info_used(info, true)), in __btrfs_dump_space_info() 487 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
|
D | backref.h | 57 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-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
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-5.19.10/drivers/media/common/b2c2/ |
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-5.19.10/net/batman-adv/ |
D | netlink.h | 21 u8 result, u32 test_time, u64 total_bytes,
|
/linux-5.19.10/drivers/gpu/drm/sprd/ |
D | sprd_dsi.c | 461 u32 total_bytes; in sprd_dsi_dpi_video() local 522 total_bytes = (vm->hactive + vm->hfront_porch) * in sprd_dsi_dpi_video() 526 if (total_bytes < bytes_per_chunk) { in sprd_dsi_dpi_video() 531 chunk_overhead = total_bytes - bytes_per_chunk; in sprd_dsi_dpi_video() 545 if (total_bytes >= (bytes_per_chunk * chunks)) { in sprd_dsi_dpi_video() 546 bytes_left = total_bytes - in sprd_dsi_dpi_video()
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 196 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() 485 bytes = rc->total_bytes; in iavf_update_itr() 636 rc->total_bytes = 0; in iavf_update_itr() 1611 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in iavf_clean_rx_irq()
|
/linux-5.19.10/arch/mips/include/asm/octeon/ |
D | cvmx-pko.h | 243 uint64_t total_bytes:16; member 245 uint64_t total_bytes:16;
|
/linux-5.19.10/fs/notify/fanotify/ |
D | fanotify_user.c | 498 int ret, total_bytes = 0, info_type = 0; in copy_info_records_to_user() local 526 total_bytes += ret; in copy_info_records_to_user() 542 total_bytes += ret; in copy_info_records_to_user() 592 total_bytes += ret; in copy_info_records_to_user() 602 total_bytes += ret; in copy_info_records_to_user() 611 total_bytes += ret; in copy_info_records_to_user() 614 return total_bytes; in copy_info_records_to_user()
|
/linux-5.19.10/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 596 float total_bytes, txmsg_pop_total; in msg_loop() local 612 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop() 614 txmsg_pop_total = txmsg_pop * (total_bytes / txmsg_apply); in msg_loop() 617 total_bytes -= txmsg_pop_total; in msg_loop() 621 while (s->bytes_recvd < total_bytes) { in msg_loop() 641 …r, "unexpected timeout: recved %zu/%f pop_total %f\n", s->bytes_recvd, total_bytes, txmsg_pop_tota… in msg_loop() 671 if (opt->check_recved_len && s->bytes_recvd > total_bytes) { in msg_loop() 674 s->bytes_recvd, total_bytes); in msg_loop()
|
/linux-5.19.10/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 226 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; in __qla_copy_purex_to_buffer() local 232 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() 263 while ((total_bytes > 0) && (entry_count_remaining > 0)) { 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() 310 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); in __qla_copy_purex_to_buffer() 1013 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; in qla27xx_copy_fpin_pkt() local [all …]
|