/Linux-v5.15/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-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_tcp_ca.c | 19 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-v5.15/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx_common.h | 45 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()
|
D | i40e_xsk.c | 401 unsigned int *total_bytes) in i40e_xmit_pkt() argument 414 *total_bytes += desc->len; in i40e_xmit_pkt() 418 unsigned int *total_bytes) in i40e_xmit_pkt_batch() argument 435 *total_bytes += desc[i].len; in i40e_xmit_pkt_batch() 442 unsigned int *total_bytes) in i40e_fill_tx_hw_ring() argument 449 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 451 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 474 unsigned int total_bytes = 0; in i40e_xmit_zc() local 482 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in i40e_xmit_zc() 487 &total_bytes); in i40e_xmit_zc() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_ring.c | 232 unsigned int total_bytes; in intel_ring_begin() local 238 total_bytes = bytes + rq->reserved_space; in intel_ring_begin() 239 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin() 241 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin() 250 total_bytes += remain_actual; in intel_ring_begin() 259 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin() 263 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() 279 total_bytes); in intel_ring_begin()
|
/Linux-v5.15/fs/btrfs/ |
D | space-info.c | 255 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() 420 (s64)(info->total_bytes - btrfs_space_info_used(info, true)), in __btrfs_dump_space_info() 424 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info() 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() [all …]
|
D | file-item.c | 635 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local 696 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio() 708 + total_bytes; in btrfs_csum_one_bio() 721 total_bytes += fs_info->sectorsize; in btrfs_csum_one_bio() 979 u64 total_bytes = 0; in btrfs_csum_file_blocks() local 994 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks() 1080 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 1145 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 1170 ins_size = (u32)(sums->len - total_bytes) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks() 1179 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks() [all …]
|
D | space-info.h | 9 u64 total_bytes; /* total bytes in the space, member 115 u64 total_bytes, u64 bytes_used,
|
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-v5.15/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-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 351 q_vector->rx.total_bytes += total_rx_bytes; in ixgbe_clean_rx_irq_zc() 447 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local 460 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq() 486 tx_ring->stats.bytes += total_bytes; in ixgbe_clean_xdp_tx_irq() 489 q_vector->tx.total_bytes += total_bytes; in ixgbe_clean_xdp_tx_irq()
|
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/net/batman-adv/ |
D | netlink.h | 21 u8 result, u32 test_time, u64 total_bytes,
|
/Linux-v5.15/drivers/cxl/ |
D | cxlmem.h | 98 u64 total_bytes; member
|
/Linux-v5.15/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() 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-v5.15/arch/mips/include/asm/octeon/ |
D | cvmx-pko.h | 243 uint64_t total_bytes:16; member 245 uint64_t total_bytes:16;
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_fsm.c | 197 u32 done_bytes, u32 total_bytes) in mlxfw_status_notify() argument 200 done_bytes, total_bytes); in mlxfw_status_notify()
|
/Linux-v5.15/block/ |
D | blk-core.c | 1404 int total_bytes; in blk_update_request() local 1423 total_bytes = 0; in blk_update_request() 1435 total_bytes += bio_bytes; in blk_update_request() 1455 req->__data_len -= total_bytes; in blk_update_request() 1459 req->__sector += total_bytes >> 9; in blk_update_request()
|
/Linux-v5.15/fs/notify/fanotify/ |
D | fanotify_user.c | 440 int ret, total_bytes = 0, info_type = 0; in copy_info_records_to_user() local 460 total_bytes += ret; in copy_info_records_to_user() 510 total_bytes += ret; in copy_info_records_to_user() 520 total_bytes += ret; in copy_info_records_to_user() 523 return total_bytes; in copy_info_records_to_user()
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 689 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()
|