/linux-master/net/batman-adv/ |
H A D | netlink.h | 21 u8 result, u32 test_time, u64 total_bytes,
|
/linux-master/drivers/staging/sm750fb/ |
H A D | ddk750_hwi2c.c | 88 unsigned int total_bytes = 0; local 127 total_bytes += (count + 1); 131 return total_bytes; 153 unsigned int total_bytes = 0; local 192 total_bytes += (count + 1); 196 return total_bytes;
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx_common.h | 44 * @total_bytes: total bytes sent 48 unsigned int total_bytes) 51 tx_ring->stats.bytes += total_bytes; 54 tx_ring->q_vector->tx.total_bytes += total_bytes; 46 i40e_update_tx_stats(struct i40e_ring *tx_ring, unsigned int total_packets, unsigned int total_bytes) argument
|
H A D | i40e_xsk.c | 533 unsigned int *total_bytes) 546 *total_bytes += desc->len; 550 unsigned int *total_bytes) 567 *total_bytes += desc[i].len; 574 unsigned int *total_bytes) 581 i40e_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); 583 i40e_xmit_pkt(xdp_ring, &descs[i], total_bytes); 606 unsigned int total_bytes = 0; local 614 i40e_fill_tx_hw_ring(xdp_ring, descs, nb_processed, &total_bytes); 619 &total_bytes); 532 i40e_xmit_pkt(struct i40e_ring *xdp_ring, struct xdp_desc *desc, unsigned int *total_bytes) argument 549 i40e_xmit_pkt_batch(struct i40e_ring *xdp_ring, struct xdp_desc *desc, unsigned int *total_bytes) argument 573 i40e_fill_tx_hw_ring(struct i40e_ring *xdp_ring, struct xdp_desc *descs, u32 nb_pkts, unsigned int *total_bytes) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring.c | 236 unsigned int total_bytes; local 242 total_bytes = bytes + rq->reserved_space; 243 GEM_BUG_ON(total_bytes > ring->effective_size); 245 if (unlikely(total_bytes > remain_usable)) { 254 total_bytes += remain_actual; 263 total_bytes = rq->reserved_space + remain_actual; 267 if (unlikely(total_bytes > ring->space)) { 283 total_bytes);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | memory-alloc.c | 91 size_t total_bytes = memory_stats.kmalloc_bytes + memory_stats.vmalloc_bytes; local 93 if (total_bytes > memory_stats.peak_bytes) 94 memory_stats.peak_bytes = total_bytes; 419 u64 total_bytes; local 428 total_bytes = kmalloc_bytes + vmalloc_bytes; 437 (unsigned long long) total_bytes, (unsigned long long) peak_usage);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_tcp_ca.c | 21 static const unsigned int total_bytes = 10 * 1024 * 1024; variable 55 while (bytes < total_bytes && !READ_ONCE(stop)) { 57 MIN(total_bytes - bytes, sizeof(batch)), 0); 67 ASSERT_EQ(bytes, total_bytes, "send"); 147 /* recv total_bytes */ 148 while (bytes < total_bytes && !READ_ONCE(stop)) { 150 MIN(total_bytes - bytes, sizeof(batch)), 0); 158 ASSERT_EQ(bytes, total_bytes, "recv");
|
/linux-master/sound/drivers/ |
H A D | pcmtest.c | 108 size_t total_bytes; // Total bytes read/written member in struct:pcmtst_buf_iter 144 v_iter->total_bytes += by; 181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; 182 if (current_byte != patt_bufs[ch_num].buf[ch_pos_i(v_iter->total_bytes, 207 if (current_byte != patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) 247 patt_bufs[ch_num].buf[(v_iter->total_bytes / channels) 260 pos_in_ch = ch_pos_i(v_iter->total_bytes, runtime->channels, v_iter->sample_bytes); 410 v_iter->total_bytes = 0;
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
H A D | ia_css_sdis2.host.c | 46 unsigned int total_bytes = aligned_width * IA_CSS_DVS2_NUM_COEF_TYPES * local 52 assert(total_bytes <= size); 71 unsigned int total_bytes = aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES * local 77 assert(total_bytes <= size);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_xsk.c | 969 * @total_bytes: bytes accumulator that will be used for stats update 972 unsigned int *total_bytes) 985 *total_bytes += desc->len; 992 * @total_bytes: bytes accumulator that will be used for stats update 995 unsigned int *total_bytes) 1012 *total_bytes += descs[i].len; 1023 * @total_bytes: bytes accumulator that will be used for stats update 1026 u32 nb_pkts, unsigned int *total_bytes) 1033 ice_xmit_pkt_batch(xdp_ring, &descs[i], total_bytes); 1035 ice_xmit_pkt(xdp_ring, &descs[i], total_bytes); 971 ice_xmit_pkt(struct ice_tx_ring *xdp_ring, struct xdp_desc *desc, unsigned int *total_bytes) argument 994 ice_xmit_pkt_batch(struct ice_tx_ring *xdp_ring, struct xdp_desc *descs, unsigned int *total_bytes) argument 1025 ice_fill_tx_hw_ring(struct ice_tx_ring *xdp_ring, struct xdp_desc *descs, u32 nb_pkts, unsigned int *total_bytes) argument 1048 unsigned int total_bytes = 0; local [all...] |
H A D | ice_txrx_lib.c | 298 int total_bytes = 0, total_pkts = 0; local 331 total_bytes += tx_buf->bytecount; 360 ice_update_tx_ring_stats(xdp_ring, total_pkts, total_bytes);
|
/linux-master/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; 253 total_bytes += ppd.v2->tp_h.tp_snaplen; 276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); 433 total_bytes += ppd.v1->tp_h.tp_snaplen; 443 total_bytes += ppd.v2->tp_h.tp_snaplen; 455 total_bytes += tx->tp_snaplen; 572 total_bytes += bytes; 619 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); 705 total_bytes [all...] |
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 567 unsigned int total_bytes = 0, total_packets = 0; local 610 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); 626 rx_ring->stats.bytes += total_bytes; 629 q_vector->rx.total_bytes += total_bytes; 1185 unsigned int total_bytes = 0, total_packets = 0; local 1214 total_bytes += tx_buffer->bytecount; 1271 tx_ring->stats.bytes += total_bytes; 1274 q_vector->tx.total_bytes += total_bytes; 1308 total_packets, total_bytes); local [all...] |
/linux-master/drivers/media/common/b2c2/ |
H A D | flexcop-i2c.c | 46 int len = r100.tw_sm_c_100.total_bytes, 47 /* remember total_bytes is buflen-1 */ 91 int len = r100.tw_sm_c_100.total_bytes; /* remember total_bytes is buflen-1 */ 141 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1;
|
/linux-master/fs/btrfs/ |
H A D | space-info.c | 28 * reservations we care about total_bytes - SUM(space_info->bytes_) when 81 * space_info->total_bytes. This loops through the ->priority_tickets and 309 found->total_bytes += block_group->length; 425 if (used + bytes < space_info->total_bytes + avail) 461 if ((used + ticket->bytes <= space_info->total_bytes) || 526 (s64)(info->total_bytes - btrfs_space_info_used(info, true)), 530 info->total_bytes, info->bytes_used, info->bytes_pinned, 849 if (space_info->total_bytes + avail < used) 850 to_reclaim += used - (space_info->total_bytes + avail); 863 thresh = mult_perc(space_info->total_bytes, 9 [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,
|
H A D | space-info.h | 72 * if (num_bytes < (space_info->total_bytes - 99 u64 total_bytes; /* total bytes in the space, member in struct:btrfs_space_info
|
H A D | accessors.h | 126 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); 127 return btrfs_get_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes)); 133 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); 135 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); 152 total_bytes, 64); 805 total_bytes, 64); 876 total_bytes, 64);
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
H A D | ia_css_sdis.host.c | 50 unsigned int total_bytes = aligned_width * IA_CSS_DVS_NUM_COEF_TYPES * sizeof( local 58 assert(total_bytes <= size); 77 unsigned int total_bytes = aligned_height * IA_CSS_DVS_NUM_COEF_TYPES * local 85 assert(total_bytes <= size);
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | testmode.c | 399 u16 chunk_len, total_bytes, num_segments; local 427 total_bytes = buf_len; 428 num_segments = total_bytes / MAX_WMI_UTF_LEN; 448 ftm_cmd->seg_hdr.len = total_bytes;
|
/linux-master/drivers/usb/host/ |
H A D | fhci-sched.c | 194 if (usb->actual_frame->total_bytes + len + PROTOCOL_OVERHEAD >= 197 "%d %d %d\n", usb->actual_frame->total_bytes, len, 231 usb->actual_frame->total_bytes += (len + PROTOCOL_OVERHEAD); 247 usb->actual_frame->total_bytes -= (len + PROTOCOL_OVERHEAD); 315 if (usb->actual_frame->total_bytes >= 324 if (usb->actual_frame->total_bytes >= frame_part[list_type]) 349 usb->actual_frame->total_bytes = 0; 369 if (usb->actual_frame->total_bytes == 0) {
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko.h | 243 uint64_t total_bytes:16; member in struct:cvmx_pko_command_word0::__anon23 245 uint64_t total_bytes:16;
|
/linux-master/drivers/spi/ |
H A D | spi-microchip-core-qspi.c | 316 int total_bytes, cmd_bytes, frames, ctrl; local 319 total_bytes = cmd_bytes + op->data.nbytes; 348 cmd_bytes = total_bytes; 350 frames = total_bytes & BYTESUPPER_MASK; 352 frames = total_bytes & BYTESLOWER_MASK;
|
/linux-master/drivers/gpu/drm/sprd/ |
H A D | sprd_dsi.c | 458 u32 total_bytes; local 519 total_bytes = (vm->hactive + vm->hfront_porch) * 523 if (total_bytes < bytes_per_chunk) { 528 chunk_overhead = total_bytes - bytes_per_chunk; 542 if (total_bytes >= (bytes_per_chunk * chunks)) { 543 bytes_left = total_bytes -
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_isr.c | 242 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; local 248 total_bytes = (le16_to_cpu(purex->frame_size) & 0x0FFF) 255 tpad = roundup(total_bytes, 4); 265 pending_bytes = total_bytes = tpad; 279 while ((total_bytes > 0) && (entry_count_remaining > 0)) { 299 if ((buffer_copy_offset + no_bytes) <= total_bytes) { 310 total_bytes - buffer_copy_offset); 321 total_bytes, entry_count_remaining); 326 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); 861 uint16_t no_bytes = 0, total_bytes local 1158 uint16_t no_bytes = 0, total_bytes = 0, pending_bytes = 0; local [all...] |