| /linux-6.15/drivers/staging/sm750fb/ |
| H 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.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ring.c | 236 unsigned int total_bytes; in intel_ring_begin() local 242 total_bytes = bytes + rq->reserved_space; in intel_ring_begin() 243 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin() 245 if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin() 254 total_bytes += remain_actual; in intel_ring_begin() 263 total_bytes = rq->reserved_space + remain_actual; in intel_ring_begin() 267 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() 283 total_bytes); in intel_ring_begin()
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_txrx_common.h | 48 unsigned int total_bytes) in i40e_update_tx_stats() argument 51 tx_ring->stats.bytes += total_bytes; in i40e_update_tx_stats() 54 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_update_tx_stats()
|
| H A D | i40e_xsk.c | 509 unsigned int *total_bytes) in i40e_xmit_pkt() argument 522 *total_bytes += desc->len; in i40e_xmit_pkt() 526 unsigned int *total_bytes) in i40e_xmit_pkt_batch() argument 544 *total_bytes += desc[i].len; in i40e_xmit_pkt_batch() 551 unsigned int *total_bytes) in i40e_fill_tx_hw_ring() argument 558 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 560 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); in i40e_fill_tx_hw_ring() 583 unsigned int total_bytes = 0; in i40e_xmit_zc() local 591 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); in i40e_xmit_zc() 596 &total_bytes); in i40e_xmit_zc() [all …]
|
| /linux-6.15/drivers/md/dm-vdo/ |
| H A D | memory-alloc.c | 91 size_t total_bytes = memory_stats.kmalloc_bytes + memory_stats.vmalloc_bytes; in update_peak_usage() local 93 if (total_bytes > memory_stats.peak_bytes) in update_peak_usage() 94 memory_stats.peak_bytes = total_bytes; in update_peak_usage() 419 u64 total_bytes; in vdo_report_memory_usage() local 428 total_bytes = kmalloc_bytes + vmalloc_bytes; in vdo_report_memory_usage() 437 (unsigned long long) total_bytes, (unsigned long long) peak_usage); in vdo_report_memory_usage()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H 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.15/drivers/net/ethernet/intel/igb/ |
| H A D | igb_xsk.c | 345 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_rx_irq_zc() local 406 total_bytes += size; in igb_clean_rx_irq_zc() 430 total_bytes += skb->len; in igb_clean_rx_irq_zc() 446 igb_update_rx_stats(q_vector, total_packets, total_bytes); in igb_clean_rx_irq_zc() 471 unsigned int total_bytes = 0; in igb_xmit_zc() local 512 total_bytes += descs[i].len; in igb_xmit_zc() 521 netdev_tx_sent_queue(txring_txq(tx_ring), total_bytes); in igb_xmit_zc()
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_xsk.c | 961 unsigned int *total_bytes) in ice_xmit_pkt() argument 974 *total_bytes += desc->len; in ice_xmit_pkt() 987 unsigned int *total_bytes) in ice_xmit_pkt_batch() argument 1005 *total_bytes += descs[i].len; in ice_xmit_pkt_batch() 1022 unsigned int *total_bytes) in ice_fill_tx_hw_ring() argument 1029 ice_xmit_pkt_batch(xdp_ring, xsk_pool, &descs[i], total_bytes); in ice_fill_tx_hw_ring() 1031 ice_xmit_pkt(xdp_ring, xsk_pool, &descs[i], total_bytes); in ice_fill_tx_hw_ring() 1045 unsigned int total_bytes = 0; in ice_xmit_zc() local 1064 &total_bytes); in ice_xmit_zc() 1069 nb_pkts - nb_processed, &total_bytes); in ice_xmit_zc() [all …]
|
| H A D | ice_txrx_lib.c | 295 int total_bytes = 0, total_pkts = 0; in ice_clean_xdp_irq() local 328 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq() 357 ice_update_tx_ring_stats(xdp_ring, total_pkts, total_bytes); in ice_clean_xdp_irq()
|
| /linux-6.15/sound/drivers/ |
| H A D | pcmtest.c | 108 size_t total_bytes; // Total bytes read/written member 144 v_iter->total_bytes += by; in inc_buf_pos() 181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; in check_buf_block_i() 182 if (current_byte != patt_bufs[ch_num].buf[ch_pos_i(v_iter->total_bytes, in check_buf_block_i() 207 if (current_byte != patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) in check_buf_block_ni() 247 patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) in fill_block_pattern_n() 260 pos_in_ch = ch_pos_i(v_iter->total_bytes, runtime->channels, v_iter->sample_bytes); in fill_block_pattern_i() 410 v_iter->total_bytes = 0; in reset_buf_iterator()
|
| /linux-6.15/fs/btrfs/ |
| H A D | space-info.c | 323 found->total_bytes += block_group->length; in btrfs_add_bg_to_space_info() 462 if (used + bytes < space_info->total_bytes + avail) in btrfs_can_overcommit() 498 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets() 876 if (space_info->total_bytes + avail < used) in btrfs_calc_reclaim_metadata_size() 877 to_reclaim += used - (space_info->total_bytes + avail); in btrfs_calc_reclaim_metadata_size() 890 thresh = mult_perc(space_info->total_bytes, 90); in need_preemptive_reclaim() 953 if (used < space_info->total_bytes) in need_preemptive_reclaim() 954 thresh += space_info->total_bytes - used; in need_preemptive_reclaim() 1713 ((used + orig_bytes <= space_info->total_bytes) || in __reserve_bytes() 1726 if (used + orig_bytes <= space_info->total_bytes) { in __reserve_bytes() [all …]
|
| H A D | backref.h | 242 struct btrfs_data_container *init_data_container(u32 total_bytes); 243 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
|
| /linux-6.15/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_main.c | 566 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local 609 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq() 625 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq() 628 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq() 1184 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local 1213 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq() 1270 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq() 1273 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq() 1307 total_packets, total_bytes); in fm10k_clean_tx_irq() 1350 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
| H A D | ia_css_sdis2.host.c | 37 unsigned int total_bytes = aligned_width * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_horicoef_vmem_encode() local 43 assert(total_bytes <= size); in ia_css_sdis2_horicoef_vmem_encode() 62 unsigned int total_bytes = aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_vertcoef_vmem_encode() local 68 assert(total_bytes <= size); in ia_css_sdis2_vertcoef_vmem_encode()
|
| /linux-6.15/drivers/usb/host/ |
| H 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.15/drivers/net/wireless/ath/ath12k/ |
| H A D | testmode.c | 216 u16 chunk_len, total_bytes, num_segments; in ath12k_tm_cmd_process_ftm() local 234 total_bytes = buf_len; in ath12k_tm_cmd_process_ftm() 235 num_segments = total_bytes / MAX_WMI_UTF_LEN; in ath12k_tm_cmd_process_ftm() 255 ftm_cmd->seg_hdr.len = cpu_to_le32(total_bytes); in ath12k_tm_cmd_process_ftm()
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
| H A D | ia_css_sdis.host.c | 41 unsigned int total_bytes = aligned_width * IA_CSS_DVS_NUM_COEF_TYPES * sizeof( in ia_css_sdis_horicoef_vmem_encode() local 49 assert(total_bytes <= size); in ia_css_sdis_horicoef_vmem_encode() 68 unsigned int total_bytes = aligned_height * IA_CSS_DVS_NUM_COEF_TYPES * in ia_css_sdis_vertcoef_vmem_encode() local 76 assert(total_bytes <= size); in ia_css_sdis_vertcoef_vmem_encode()
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-microchip-core-qspi.c | 318 int total_bytes, cmd_bytes, frames, ctrl; in mchp_coreqspi_config_op() local 321 total_bytes = cmd_bytes + op->data.nbytes; in mchp_coreqspi_config_op() 350 cmd_bytes = total_bytes; in mchp_coreqspi_config_op() 352 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_config_op() 354 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_config_op()
|
| /linux-6.15/drivers/media/common/b2c2/ |
| H 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.15/drivers/net/wireless/ath/ath11k/ |
| H A D | testmode.c | 399 u16 chunk_len, total_bytes, num_segments; in ath11k_tm_cmd_wmi_ftm() local 427 total_bytes = buf_len; in ath11k_tm_cmd_wmi_ftm() 428 num_segments = total_bytes / MAX_WMI_UTF_LEN; in ath11k_tm_cmd_wmi_ftm() 448 ftm_cmd->seg_hdr.len = total_bytes; in ath11k_tm_cmd_wmi_ftm()
|
| /linux-6.15/net/batman-adv/ |
| H A D | netlink.h | 24 u8 result, u32 test_time, u64 total_bytes,
|
| /linux-6.15/drivers/scsi/qla2xxx/ |
| H A D | qla_isr.c | 255 tpad = roundup(total_bytes, 4); in __qla_copy_purex_to_buffer() 265 pending_bytes = total_bytes = tpad; in __qla_copy_purex_to_buffer() 310 total_bytes - buffer_copy_offset); in __qla_copy_purex_to_buffer() 321 total_bytes, entry_count_remaining); in __qla_copy_purex_to_buffer() 881 pending_bytes = total_bytes; in qla27xx_copy_multiple_pkt() 949 total_bytes - buffer_copy_offset); in qla27xx_copy_multiple_pkt() 959 total_bytes, entry_count_remaining); in qla27xx_copy_multiple_pkt() 1166 pending_bytes = total_bytes; in qla27xx_copy_fpin_pkt() 1172 total_bytes, entry_count); in qla27xx_copy_fpin_pkt() 1230 total_bytes - buffer_copy_offset); in qla27xx_copy_fpin_pkt() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | network_helpers.c | 721 int send_recv_data(int lfd, int fd, uint32_t total_bytes) in send_recv_data() argument 726 .bytes = total_bytes, in send_recv_data() 741 while (bytes < total_bytes && !READ_ONCE(arg.stop)) { in send_recv_data() 743 MIN(total_bytes - bytes, sizeof(batch)), 0); in send_recv_data() 753 if (bytes != total_bytes) { in send_recv_data() 754 log_err("recv %zd expected %u", bytes, total_bytes); in send_recv_data() 756 err = bytes > total_bytes ? -E2BIG : -EINTR; in send_recv_data()
|
| H A D | test_sockmap.c | 678 float total_bytes, txmsg_pop_total, txmsg_push_total; in msg_loop() local 699 total_bytes = (float)iov_length * (float)cnt; in msg_loop() 701 total_bytes *= (float)iov_count; in msg_loop() 703 txmsg_push_total = txmsg_end_push * (total_bytes / txmsg_apply); in msg_loop() 704 txmsg_pop_total = txmsg_pop * (total_bytes / txmsg_apply); in msg_loop() 709 total_bytes += txmsg_push_total; in msg_loop() 710 total_bytes -= txmsg_pop_total; in msg_loop() 718 while (s->bytes_recvd < total_bytes) { in msg_loop() 738 …r, "unexpected timeout: recved %zu/%f pop_total %f\n", s->bytes_recvd, total_bytes, txmsg_pop_tota… in msg_loop() 778 if (opt->check_recved_len && s->bytes_recvd > total_bytes) { in msg_loop() [all …]
|
| /linux-6.15/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 602 int ret, total_bytes = 0, info_type = 0; in copy_info_records_to_user() local 630 total_bytes += ret; in copy_info_records_to_user() 646 total_bytes += ret; in copy_info_records_to_user() 696 total_bytes += ret; in copy_info_records_to_user() 706 total_bytes += ret; in copy_info_records_to_user() 715 total_bytes += ret; in copy_info_records_to_user() 724 total_bytes += ret; in copy_info_records_to_user() 733 total_bytes += ret; in copy_info_records_to_user() 736 return total_bytes; in copy_info_records_to_user()
|