| /linux/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/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/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/drivers/spi/ |
| H A D | spi-microchip-core-qspi.c | 399 int total_bytes, cmd_bytes, frames, ctrl; in mchp_coreqspi_config_op() local 402 total_bytes = cmd_bytes + op->data.nbytes; in mchp_coreqspi_config_op() 431 cmd_bytes = total_bytes; in mchp_coreqspi_config_op() 433 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_config_op() 435 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_config_op() 599 u32 total_bytes = 0, cmd_bytes = 0, idle_cycles = 0; in mchp_coreqspi_prepare_message() local 624 total_bytes += t->len; in mchp_coreqspi_prepare_message() 628 cmd_bytes = total_bytes; in mchp_coreqspi_prepare_message() 646 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_prepare_message() 648 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_prepare_message()
|
| /linux/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/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() 431 total_bytes += skb->len; in igb_clean_rx_irq_zc() 447 igb_update_rx_stats(q_vector, total_packets, total_bytes); in igb_clean_rx_irq_zc() 472 unsigned int total_bytes = 0; in igb_xmit_zc() local 513 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/sound/drivers/ |
| H A D | pcmtest.c | 109 size_t total_bytes; // Total bytes read/written member 145 v_iter->total_bytes += by; in inc_buf_pos() 182 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; in check_buf_block_i() 183 if (current_byte != patt_bufs[ch_num].buf[ch_pos_i(v_iter->total_bytes, in check_buf_block_i() 208 if (current_byte != patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) in check_buf_block_ni() 248 patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) in fill_block_pattern_n() 261 pos_in_ch = ch_pos_i(v_iter->total_bytes, runtime->channels, v_iter->sample_bytes); in fill_block_pattern_i() 411 v_iter->total_bytes = 0; in reset_buf_iterator()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | network_helpers.c | 727 int send_recv_data(int lfd, int fd, uint32_t total_bytes) in send_recv_data() 732 .bytes = total_bytes, in send_recv_data() 746 /* recv total_bytes */ in send_recv_data() 747 while (bytes < total_bytes && !READ_ONCE(arg.stop)) { in send_recv_data() 749 MIN(total_bytes - bytes, sizeof(batch)), 0); in send_recv_data() 759 if (bytes != total_bytes) { 760 log_err("recv %zd expected %u", bytes, total_bytes); 762 err = bytes > total_bytes ? -E2BIG : -EINTR; 704 send_recv_data(int lfd,int fd,uint32_t total_bytes) send_recv_data() argument
|
| 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 fprintf(stderr, "unexpected timeout: recved %zu/%f pop_total %f\n", s->bytes_recvd, total_bytes, txmsg_pop_total); in msg_loop() 778 if (opt->check_recved_len && s->bytes_recvd > total_bytes) { in msg_loop() [all...] |
| H A D | network_helpers.h | 101 int send_recv_data(int lfd, int fd, uint32_t total_bytes);
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_isr.c | 242 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; in __qla_copy_purex_to_buffer() local 248 total_bytes = (le16_to_cpu(purex->frame_size) & 0x0FFF) in __qla_copy_purex_to_buffer() 255 tpad = roundup(total_bytes, 4); in __qla_copy_purex_to_buffer() 265 pending_bytes = total_bytes = tpad; in __qla_copy_purex_to_buffer() 279 while ((total_bytes > 0) && (entry_count_remaining > 0)) { in __qla_copy_purex_to_buffer() 299 if ((buffer_copy_offset + no_bytes) <= total_bytes) { 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() 326 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); in __qla_copy_purex_to_buffer() 861 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; in qla27xx_copy_multiple_pkt() local [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_txrx.c | 239 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local 266 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq() 325 tx_ring->stats.bytes += total_bytes; in iavf_clean_tx_irq() 328 tx_ring->q_vector->tx.total_bytes += total_bytes; in iavf_clean_tx_irq() 348 total_packets, total_bytes); in iavf_clean_tx_irq() 509 bytes = rc->total_bytes; in iavf_update_itr() 660 rc->total_bytes = 0; in iavf_update_itr() 1484 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in iavf_clean_rx_irq()
|
| H A D | iavf_txrx.h | 301 unsigned int total_bytes; /* total bytes processed this int */ member
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pko.h | 243 uint64_t total_bytes:16; member 245 uint64_t total_bytes:16;
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_tcp_ca.c | 19 static const unsigned int total_bytes = 10 * 1024 * 1024; variable 73 ASSERT_OK(send_recv_data(lfd, fd, total_bytes), "send_recv_data"); in do_test() 172 ASSERT_OK(send_recv_data(lfd, fd, total_bytes), "send_recv_data"); in test_dctcp()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_xsk.c | 462 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local 475 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq() 500 total_bytes); in ixgbe_clean_xdp_tx_irq()
|
| /linux/include/uapi/linux/ |
| H A D | btrfs_tree.h | 528 __le64 total_bytes; member 586 __le64 total_bytes; member 689 __le64 total_bytes; member
|
| H A D | btrfs.h | 249 __u64 total_bytes; /* out */ member 693 __u64 total_bytes; member
|
| /linux/fs/btrfs/ |
| H A D | extent-io-tree.c | 990 u64 total_bytes = 0; in btrfs_find_delalloc_range() local 1022 total_bytes += state->end - state->start + 1; in btrfs_find_delalloc_range() 1023 if (total_bytes >= max_bytes) in btrfs_find_delalloc_range() 1673 u64 total_bytes = 0; in btrfs_count_range_bits() local 1723 total_bytes += min(search_end, state->end) + 1 - in btrfs_count_range_bits() 1725 if (total_bytes >= max_bytes) in btrfs_count_range_bits() 1747 return total_bytes; in btrfs_count_range_bits()
|
| /linux/drivers/dma/ |
| H A D | amba-pl08x.c | 1207 int num_llis, size_t *total_bytes) in prep_byte_width_lli() argument 1211 (*total_bytes) += len; in prep_byte_width_lli() 1264 size_t max_bytes_per_lli, total_bytes; in pl08x_fill_llis_for_desc() local 1285 total_bytes = 0; in pl08x_fill_llis_for_desc() 1382 num_llis++, &total_bytes); in pl08x_fill_llis_for_desc() 1441 total_bytes += lli_len; in pl08x_fill_llis_for_desc() 1452 bd.remainder, num_llis++, &total_bytes); in pl08x_fill_llis_for_desc() 1456 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc() 1459 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc()
|
| /linux/net/batman-adv/ |
| H A D | tp_meter.c | 221 u32 total_bytes; in batadv_tp_batctl_notify() local 226 total_bytes = total_sent; in batadv_tp_batctl_notify() 230 total_bytes = 0; in batadv_tp_batctl_notify() 234 total_bytes, cookie); in batadv_tp_batctl_notify()
|
| /linux/tools/perf/ |
| H A D | builtin-timechart.c | 101 u64 total_bytes; member 116 u64 total_bytes; member 822 c->total_bytes += ret; in pid_end_io_sample() 823 p->total_bytes += ret; in pid_end_io_sample() 1228 bytes = c->total_bytes; in draw_io_bars() 1441 if (c->total_bytes >= threshold) { in determine_display_io_tasks()
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_reqmgr.c | 171 sr->in.total_bytes += sg_dma_len(sg); in dma_map_inbufs() 455 sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes; in nitrox_process_se_request()
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 1236 unsigned int desc_flags, total_bytes; in ibmveth_start_xmit() local 1296 total_bytes = skb_headlen(skb); in ibmveth_start_xmit() 1301 memcpy(adapter->tx_ltb_ptr[queue_num] + total_bytes, in ibmveth_start_xmit() 1303 total_bytes += skb_frag_size(frag); in ibmveth_start_xmit() 1306 if (unlikely(total_bytes != skb->len)) { in ibmveth_start_xmit() 1308 skb->len, total_bytes); in ibmveth_start_xmit()
|