Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 56 of 56) sorted by relevance

/linux-4.4.14/drivers/scsi/osd/
Dosd_initiator.c557 static int _alloc_cdb_cont(struct osd_request *or, unsigned total_bytes) in _alloc_cdb_cont() argument
559 OSD_DEBUG("total_bytes=%d\n", total_bytes); in _alloc_cdb_cont()
560 return _osd_realloc_seg(or, &or->cdb_cont, total_bytes); in _alloc_cdb_cont()
566 unsigned total_bytes = add_bytes; in _alloc_set_attr_list() local
569 total_bytes += _osd_req_alist_elem_size(or, oa->len); in _alloc_set_attr_list()
571 OSD_DEBUG("total_bytes=%d\n", total_bytes); in _alloc_set_attr_list()
572 return _osd_realloc_seg(or, &or->set_attr, total_bytes); in _alloc_set_attr_list()
583 OSD_DEBUG("total_bytes=%d\n", or->get_attr.total_bytes); in _alloc_get_attr_list()
584 return _osd_realloc_seg(or, &or->get_attr, or->get_attr.total_bytes); in _alloc_get_attr_list()
734 or->in.total_bytes = bio->bi_iter.bi_size; in _osd_req_list_objects()
[all …]
/linux-4.4.14/drivers/staging/sm750fb/
Dddk750_hwi2c.c96 unsigned int total_bytes = 0; in hw_i2c_write_data() local
135 total_bytes += (count + 1); in hw_i2c_write_data()
139 return total_bytes; in hw_i2c_write_data()
163 unsigned int total_bytes = 0; in hw_i2c_read_data() local
202 total_bytes += (count + 1); in hw_i2c_read_data()
206 return total_bytes; in hw_i2c_read_data()
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c109 static unsigned int total_packets, total_bytes; variable
260 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx()
266 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx()
289 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
404 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_tx()
414 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_tx()
530 total_bytes += bytes; in __v3_walk_block()
578 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v3_rx()
663 total_bytes = 0; in setup_ring()
/linux-4.4.14/fs/btrfs/
Dbackref.h62 struct btrfs_data_container *init_data_container(u32 total_bytes);
63 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Dfile-item.c435 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local
470 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio()
479 total_bytes; in btrfs_csum_one_bio()
494 total_bytes += bvec->bv_len; in btrfs_csum_one_bio()
694 u64 total_bytes = 0; in btrfs_csum_file_blocks() local
710 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks()
802 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
826 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks()
853 ins_size = (u32)(sums->len - total_bytes) >> in btrfs_csum_file_blocks()
862 total_bytes += ins_size * root->sectorsize; in btrfs_csum_file_blocks()
[all …]
Dsysfs.c259 BTRFS_RAID_ATTR(total_bytes, raid_bytes_show);
273 if (&attr->attr == BTRFS_RAID_ATTR_PTR(total_bytes)) in raid_bytes_show()
283 BTRFS_RAID_ATTR_PTR(total_bytes),
319 SPACE_INFO_ATTR(total_bytes);
330 BTRFS_ATTR_PTR(total_bytes),
Dbackref.c1967 struct btrfs_data_container *init_data_container(u32 total_bytes) argument
1972 alloc_bytes = max_t(size_t, total_bytes, sizeof(*data));
1977 if (total_bytes >= sizeof(*data)) {
1978 data->bytes_left = total_bytes - sizeof(*data);
1981 data->bytes_missing = sizeof(*data) - total_bytes;
1997 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, argument
2003 fspath = init_data_container(total_bytes);
Dvolumes.h87 u64 total_bytes; member
218 BTRFS_DEVICE_GETSET_FUNCS(total_bytes);
Dextent-tree.c3792 u64 total_bytes, u64 bytes_used, in update_space_info() argument
3809 found->total_bytes += total_bytes; in update_space_info()
3810 found->disk_total += total_bytes * factor; in update_space_info()
3813 if (total_bytes > 0) in update_space_info()
3834 found->total_bytes = total_bytes; in update_space_info()
3835 found->disk_total = total_bytes * factor; in update_space_info()
4026 if (used + bytes > data_sinfo->total_bytes) { in btrfs_alloc_data_chunk_ondemand()
4080 used + bytes - data_sinfo->total_bytes); in btrfs_alloc_data_chunk_ondemand()
4224 u64 num_bytes = sinfo->total_bytes - sinfo->bytes_readonly; in should_alloc_chunk()
4297 left = info->total_bytes - info->bytes_used - info->bytes_pinned - in check_system_chunk()
[all …]
Ddev-replace.c167 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace()
168 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace()
554 btrfs_device_set_total_bytes(tgt_device, src_device->total_bytes); in btrfs_dev_replace_finishing()
Dvolumes.c1100 if (start >= device->total_bytes || device->is_tgtdev_for_dev_replace) in btrfs_account_dev_extents_size()
1257 u64 search_end = device->total_bytes; in find_free_dev_extent_start()
2314 device->total_bytes = i_size_read(bdev->bd_inode); in btrfs_init_new_device()
2315 device->disk_total_bytes = device->total_bytes; in btrfs_init_new_device()
2316 device->commit_total_bytes = device->total_bytes; in btrfs_init_new_device()
2342 root->fs_info->fs_devices->total_rw_bytes += device->total_bytes; in btrfs_init_new_device()
2345 root->fs_info->free_chunk_space += device->total_bytes; in btrfs_init_new_device()
2353 tmp + device->total_bytes); in btrfs_init_new_device()
2520 device->total_bytes = btrfs_device_get_total_bytes(srcdev); in btrfs_init_dev_replace_tgtdev()
2620 diff = new_size - device->total_bytes; in btrfs_grow_device()
[all …]
Dctree.h241 __le64 total_bytes; member
433 __le64 total_bytes; member
469 __le64 total_bytes; member
1172 u64 total_bytes; /* total bytes in the space, member
2389 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64);
2404 total_bytes, 64);
3005 total_bytes, 64);
3115 total_bytes, 64);
Dextent_io.c1600 u64 total_bytes = 0; in find_delalloc_range() local
1635 total_bytes += state->end - state->start + 1; in find_delalloc_range()
1636 if (total_bytes >= max_bytes) in find_delalloc_range()
1887 u64 total_bytes = 0; in count_range_bits() local
1896 total_bytes = tree->dirty_bytes; in count_range_bits()
1914 total_bytes += min(search_end, state->end) + 1 - in count_range_bits()
1916 if (total_bytes >= max_bytes) in count_range_bits()
1932 return total_bytes; in count_range_bits()
Dioctl.c381 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_ioctl_fitrim() local
405 if (range.start > total_bytes || in btrfs_ioctl_fitrim()
409 range.len = min(range.len, total_bytes - range.start); in btrfs_ioctl_fitrim()
2763 di_args->total_bytes = btrfs_device_get_total_bytes(dev); in btrfs_ioctl_dev_info()
4148 space->total_bytes = 0; in btrfs_get_block_group_info()
4153 space->total_bytes += block_group->key.offset; in btrfs_get_block_group_info()
4277 space.total_bytes = block_rsv->size; in btrfs_ioctl_space_info()
Dsuper.c1857 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()
1873 device->total_bytes) { in btrfs_calc_avail_data_space()
Ddisk-io.c3577 if (space.total_bytes == 0 || space.used_bytes == 0) in btrfs_calc_num_tolerated_disk_barrier_failures()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c601 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
644 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq()
660 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq()
663 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq()
1210 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1239 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
1296 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq()
1299 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq()
1333 total_packets, total_bytes); in fm10k_clean_tx_irq()
1376 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
[all …]
Dfm10k.h163 unsigned int total_bytes; /* total bytes processed this int */ member
/linux-4.4.14/drivers/usb/host/
Dfhci-sched.c198 if (usb->actual_frame->total_bytes + len + PROTOCOL_OVERHEAD >= in add_packet()
201 "%d %d %d\n", usb->actual_frame->total_bytes, len, in add_packet()
235 usb->actual_frame->total_bytes += (len + PROTOCOL_OVERHEAD); in add_packet()
251 usb->actual_frame->total_bytes -= (len + PROTOCOL_OVERHEAD); in add_packet()
319 if (usb->actual_frame->total_bytes >= in scan_ed_list()
328 if (usb->actual_frame->total_bytes >= frame_part[list_type]) in scan_ed_list()
353 usb->actual_frame->total_bytes = 0; in rotate_frames()
373 if (usb->actual_frame->total_bytes == 0) { in fhci_schedule_transactions()
Dfhci.h425 u16 total_bytes; /* total bytes submitted within this frame */ member
/linux-4.4.14/drivers/media/common/b2c2/
Dflexcop-i2c.c45 int len = r100.tw_sm_c_100.total_bytes, in flexcop_i2c_read4()
90 int len = r100.tw_sm_c_100.total_bytes; /* remember total_bytes is buflen-1 */ in flexcop_i2c_write4()
144 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1; in flexcop_i2c_request()
Dflexcop_ibi_value_be.h50 u32 total_bytes : 2; member
Dflexcop_ibi_value_le.h53 u32 total_bytes : 2; member
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c159 unsigned int total_bytes = 0; in i40e_clean_tx_irq() local
185 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq()
242 tx_ring->stats.bytes += total_bytes; in i40e_clean_tx_irq()
245 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_clean_tx_irq()
260 total_packets, total_bytes); in i40e_clean_tx_irq()
355 bytes_per_int = rc->total_bytes / usecs; in i40e_set_new_dynamic_itr()
406 rc->total_bytes = 0; in i40e_set_new_dynamic_itr()
1105 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_ps()
1215 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_1buf()
Di40e_txrx.h302 unsigned int total_bytes; /* total bytes processed this int */ member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pko.h244 uint64_t total_bytes:16; member
246 uint64_t total_bytes:16;
/linux-4.4.14/include/scsi/
Dosd_initiator.h139 unsigned total_bytes; member
144 u64 total_bytes; member
/linux-4.4.14/drivers/dma/
Damba-pl08x.c878 int num_llis, size_t *total_bytes) in prep_byte_width_lli() argument
882 (*total_bytes) += len; in prep_byte_width_lli()
935 size_t max_bytes_per_lli, total_bytes; in pl08x_fill_llis_for_desc() local
960 total_bytes = 0; in pl08x_fill_llis_for_desc()
1050 num_llis++, &total_bytes); in pl08x_fill_llis_for_desc()
1108 total_bytes += lli_len; in pl08x_fill_llis_for_desc()
1119 bd.remainder, num_llis++, &total_bytes); in pl08x_fill_llis_for_desc()
1123 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc()
1126 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc()
/linux-4.4.14/include/uapi/linux/
Dbtrfs.h177 __u64 total_bytes; /* out */ member
381 __u64 total_bytes; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c641 unsigned int total_bytes = 0; in i40e_clean_tx_irq() local
667 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq()
724 tx_ring->stats.bytes += total_bytes; in i40e_clean_tx_irq()
727 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_clean_tx_irq()
749 total_packets, total_bytes); in i40e_clean_tx_irq()
852 bytes_per_int = rc->total_bytes / usecs; in i40e_set_new_dynamic_itr()
903 rc->total_bytes = 0; in i40e_set_new_dynamic_itr()
1647 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_ps()
1775 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_1buf()
Di40e_txrx.h307 unsigned int total_bytes; /* total bytes processed this int */ member
Di40e_fcoe.c796 rx_ring->q_vector->rx.total_bytes += rc; in i40e_fcoe_handle_offload()
/linux-4.4.14/sound/oss/
Dswarm_cs4297a.c249 unsigned total_bytes; // # bytes process since open. member
1005 d->total_bytes += good_diff * FRAME_SAMPLE_BYTES; in cs4297a_update_ptr()
1078 d->total_bytes, d->count)); in cs4297a_update_ptr()
1100 d->total_bytes += diff * FRAME_SAMPLE_BYTES; in cs4297a_update_ptr()
1152 d->total_bytes, d->count)); in cs4297a_update_ptr()
2022 s->dma_dac.count = s->dma_dac.total_bytes = in cs4297a_ioctl()
2031 s->dma_adc.count = s->dma_adc.total_bytes = in cs4297a_ioctl()
2249 cinfo.bytes = s->dma_adc.total_bytes; in cs4297a_ioctl()
2282 cinfo.bytes = s->dma_dac.total_bytes; in cs4297a_ioctl()
/linux-4.4.14/fs/nfs/
Dwrite.c433 unsigned int total_bytes; in nfs_lock_and_join_requests() local
437 total_bytes = 0; in nfs_lock_and_join_requests()
478 if (subreq->wb_offset == (head->wb_offset + total_bytes)) { in nfs_lock_and_join_requests()
480 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
483 (head->wb_offset + total_bytes)))) { in nfs_lock_and_join_requests()
520 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_lrc.c760 int ret, total_bytes, wait_bytes = 0; in logical_ring_prepare() local
764 total_bytes = bytes; in logical_ring_prepare()
766 total_bytes = bytes + ringbuf->reserved_size; in logical_ring_prepare()
773 wait_bytes = remain_actual + total_bytes; in logical_ring_prepare()
776 if (unlikely(total_bytes > remain_usable)) { in logical_ring_prepare()
784 } else if (total_bytes > ringbuf->space) { in logical_ring_prepare()
786 wait_bytes = total_bytes; in logical_ring_prepare()
Dintel_ringbuffer.c2341 int ret, total_bytes, wait_bytes = 0; in __intel_ring_prepare() local
2345 total_bytes = bytes; in __intel_ring_prepare()
2347 total_bytes = bytes + ringbuf->reserved_size; in __intel_ring_prepare()
2354 wait_bytes = remain_actual + total_bytes; in __intel_ring_prepare()
2357 if (unlikely(total_bytes > remain_usable)) { in __intel_ring_prepare()
2365 } else if (total_bytes > ringbuf->space) { in __intel_ring_prepare()
2367 wait_bytes = total_bytes; in __intel_ring_prepare()
/linux-4.4.14/tools/perf/
Dbuiltin-timechart.c96 u64 total_bytes; member
111 u64 total_bytes; member
815 c->total_bytes += ret; in pid_end_io_sample()
816 p->total_bytes += ret; in pid_end_io_sample()
1222 bytes = c->total_bytes; in draw_io_bars()
1435 if (c->total_bytes >= threshold) { in determine_display_io_tasks()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dnetdev.c275 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local
368 total_bytes += skb->len; in igbvf_clean_rx_irq()
401 adapter->total_rx_bytes += total_bytes; in igbvf_clean_rx_irq()
402 adapter->net_stats.rx_bytes += total_bytes; in igbvf_clean_rx_irq()
798 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local
835 total_bytes += bytecount; in igbvf_clean_tx_irq()
866 adapter->net_stats.tx_bytes += total_bytes; in igbvf_clean_tx_irq()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c4450 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr()
4455 q_vector->tx.total_bytes / packets); in igb_update_ring_itr()
4485 q_vector->rx.total_bytes = 0; in igb_update_ring_itr()
4487 q_vector->tx.total_bytes = 0; in igb_update_ring_itr()
4511 unsigned int bytes = ring_container->total_bytes; in igb_update_itr()
4552 ring_container->total_bytes = 0; in igb_update_itr()
6406 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local
6435 total_bytes += tx_buffer->bytecount; in igb_clean_tx_irq()
6490 total_packets, total_bytes); in igb_clean_tx_irq()
6494 tx_ring->tx_stats.bytes += total_bytes; in igb_clean_tx_irq()
[all …]
Digb.h226 unsigned int total_bytes; /* total bytes processed this int */ member
/linux-4.4.14/drivers/crypto/
Dmv_cesa.c513 static int count_sgs(struct scatterlist *sl, unsigned int total_bytes) in count_sgs() argument
521 if (total_bytes > cur_len) in count_sgs()
522 total_bytes -= cur_len; in count_sgs()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c296 unsigned int total_bytes = 0, total_packets = 0; in ixgbevf_clean_tx_irq() local
325 total_bytes += tx_buffer->bytecount; in ixgbevf_clean_tx_irq()
382 tx_ring->stats.bytes += total_bytes; in ixgbevf_clean_tx_irq()
385 q_vector->tx.total_bytes += total_bytes; in ixgbevf_clean_tx_irq()
992 q_vector->rx.total_bytes += total_rx_bytes; in ixgbevf_clean_rx_irq()
1187 int bytes = ring_container->total_bytes; in ixgbevf_update_itr()
1223 ring_container->total_bytes = 0; in ixgbevf_update_itr()
Dixgbevf.h179 unsigned int total_bytes; /* total bytes processed this int */ member
/linux-4.4.14/block/
Dblk-core.c2568 int total_bytes; in blk_update_request() local
2623 total_bytes = 0; in blk_update_request()
2633 total_bytes += bio_bytes; in blk_update_request()
2653 req->__data_len -= total_bytes; in blk_update_request()
2657 req->__sector += total_bytes >> 9; in blk_update_request()
/linux-4.4.14/drivers/net/ethernet/atheros/alx/
Dmain.c143 unsigned int total_bytes = 0, total_packets = 0; in alx_clean_tx_irq() local
155 total_bytes += skb->len; in alx_clean_tx_irq()
167 netdev_completed_queue(alx->dev, total_packets, total_bytes); in alx_clean_tx_irq()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_iocb.c1217 uint32_t total_bytes = 0; in qla24xx_build_scsi_crc_2_iocbs() local
1330 total_bytes = data_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1338 total_bytes = data_bytes + dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1377 cmd_pkt->byte_count = cpu_to_le32(total_bytes); in qla24xx_build_scsi_crc_2_iocbs()
1380 *fcp_dl = htonl(total_bytes); in qla24xx_build_scsi_crc_2_iocbs()
/linux-4.4.14/include/linux/
Dhyperv.h329 u64 total_bytes; member
/linux-4.4.14/drivers/staging/octeon/
Dethernet-tx.c266 pko_command.s.total_bytes = skb->len; in cvm_oct_xmit()
/linux-4.4.14/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c896 pko_command.s.total_bytes = size; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h364 unsigned int total_bytes; /* total bytes processed this int */ member
Dixgbe_main.c1098 unsigned int total_bytes = 0, total_packets = 0; in ixgbe_clean_tx_irq() local
1127 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq()
1184 tx_ring->stats.bytes += total_bytes; in ixgbe_clean_tx_irq()
1187 q_vector->tx.total_bytes += total_bytes; in ixgbe_clean_tx_irq()
1221 total_packets, total_bytes); in ixgbe_clean_tx_irq()
2138 q_vector->rx.total_bytes += total_rx_bytes; in ixgbe_clean_rx_irq()
2263 int bytes = ring_container->total_bytes; in ixgbe_update_itr()
2302 ring_container->total_bytes = 0; in ixgbe_update_itr()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1555 unsigned int total_bytes = 0, total_packets = 0; in atl1c_clean_tx_irq() local
1564 total_bytes += buffer_info->skb->len; in atl1c_clean_tx_irq()
1573 netdev_completed_queue(adapter->netdev, total_packets, total_bytes); in atl1c_clean_tx_irq()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c4568 u32 flash_op, num_bytes, total_bytes = img_size, bytes_sent = 0; in be_flash() local
4572 while (total_bytes) { in be_flash()
4573 num_bytes = min_t(u32, 32*1024, total_bytes); in be_flash()
4575 total_bytes -= num_bytes; in be_flash()
4577 if (!total_bytes) { in be_flash()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddsi.c563 u32 total_bytes; in dsi_perf_show() local
583 total_bytes = dsi->update_bytes; in dsi_perf_show()
592 total_bytes, in dsi_perf_show()
593 total_bytes * 1000 / total_us); in dsi_perf_show()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar.c3079 unsigned int total_bytes = 0, total_pkts = 0; in gfar_clean_rx_ring() local
3129 total_bytes += skb->len; in gfar_clean_rx_ring()
3145 rx_queue->stats.rx_bytes += total_bytes; in gfar_clean_rx_ring()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dsky2.c2732 unsigned int total_bytes[2] = { 0 }; in sky2_status_intr() local
2764 total_bytes[port] += length; in sky2_status_intr()
2823 sky2_rx_done(hw, 0, total_packets[0], total_bytes[0]); in sky2_status_intr()
2824 sky2_rx_done(hw, 1, total_packets[1], total_bytes[1]); in sky2_status_intr()