/linux-4.1.27/drivers/scsi/osd/ |
D | osd_initiator.c | 557 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.1.27/tools/testing/selftests/net/ |
D | psock_tpacket.c | 109 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.1.27/fs/btrfs/ |
D | backref.h | 62 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,
|
D | file-item.c | 435 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 …]
|
D | sysfs.c | 258 BTRFS_RAID_ATTR(total_bytes, raid_bytes_show); 272 if (&attr->attr == BTRFS_RAID_ATTR_PTR(total_bytes)) in raid_bytes_show() 282 BTRFS_RAID_ATTR_PTR(total_bytes), 318 SPACE_INFO_ATTR(total_bytes); 329 BTRFS_ATTR_PTR(total_bytes),
|
D | backref.c | 1919 struct btrfs_data_container *init_data_container(u32 total_bytes) argument 1924 alloc_bytes = max_t(size_t, total_bytes, sizeof(*data)); 1929 if (total_bytes >= sizeof(*data)) { 1930 data->bytes_left = total_bytes - sizeof(*data); 1933 data->bytes_missing = sizeof(*data) - total_bytes; 1949 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, argument 1955 fspath = init_data_container(total_bytes);
|
D | volumes.h | 87 u64 total_bytes; member 218 BTRFS_DEVICE_GETSET_FUNCS(total_bytes);
|
D | extent-tree.c | 3675 u64 total_bytes, u64 bytes_used, in update_space_info() argument 3692 found->total_bytes += total_bytes; in update_space_info() 3693 found->disk_total += total_bytes * factor; in update_space_info() 3716 found->total_bytes = total_bytes; in update_space_info() 3717 found->disk_total = total_bytes * factor; in update_space_info() 3915 if (used + bytes > data_sinfo->total_bytes) { in btrfs_check_data_free_space() 3969 used + bytes - data_sinfo->total_bytes); in btrfs_check_data_free_space() 4064 u64 num_bytes = sinfo->total_bytes - sinfo->bytes_readonly; in should_alloc_chunk() 4124 left = info->total_bytes - info->bytes_used - info->bytes_pinned - in check_system_chunk() 4269 if (used + space_size >= space_info->total_bytes) in can_overcommit() [all …]
|
D | dev-replace.c | 167 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace() 168 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace() 552 btrfs_device_set_total_bytes(tgt_device, src_device->total_bytes); in btrfs_dev_replace_finishing()
|
D | volumes.c | 986 if (start >= device->total_bytes || device->is_tgtdev_for_dev_replace) in btrfs_account_dev_extents_size() 1124 u64 search_end = device->total_bytes; in find_free_dev_extent() 2169 device->total_bytes = i_size_read(bdev->bd_inode); in btrfs_init_new_device() 2170 device->disk_total_bytes = device->total_bytes; in btrfs_init_new_device() 2171 device->commit_total_bytes = device->total_bytes; in btrfs_init_new_device() 2197 root->fs_info->fs_devices->total_rw_bytes += device->total_bytes; in btrfs_init_new_device() 2200 root->fs_info->free_chunk_space += device->total_bytes; in btrfs_init_new_device() 2208 tmp + device->total_bytes); in btrfs_init_new_device() 2373 device->total_bytes = btrfs_device_get_total_bytes(srcdev); in btrfs_init_dev_replace_tgtdev() 2473 diff = new_size - device->total_bytes; in btrfs_grow_device() [all …]
|
D | ctree.h | 241 __le64 total_bytes; member 433 __le64 total_bytes; member 469 __le64 total_bytes; member 1145 u64 total_bytes; /* total bytes in the space, member 2345 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64); 2360 total_bytes, 64); 2961 total_bytes, 64); 3071 total_bytes, 64);
|
D | extent_io.c | 1532 u64 total_bytes = 0; in find_delalloc_range() local 1567 total_bytes += state->end - state->start + 1; in find_delalloc_range() 1568 if (total_bytes >= max_bytes) in find_delalloc_range() 1819 u64 total_bytes = 0; in count_range_bits() local 1828 total_bytes = tree->dirty_bytes; in count_range_bits() 1846 total_bytes += min(search_end, state->end) + 1 - in count_range_bits() 1848 if (total_bytes >= max_bytes) in count_range_bits() 1864 return total_bytes; in count_range_bits()
|
D | ioctl.c | 380 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); in btrfs_ioctl_fitrim() local 404 if (range.start > total_bytes || in btrfs_ioctl_fitrim() 408 range.len = min(range.len, total_bytes - range.start); in btrfs_ioctl_fitrim() 2737 di_args->total_bytes = btrfs_device_get_total_bytes(dev); in btrfs_ioctl_dev_info() 3983 space->total_bytes = 0; in btrfs_get_block_group_info() 3988 space->total_bytes += block_group->key.offset; in btrfs_get_block_group_info() 4112 space.total_bytes = block_rsv->size; in btrfs_ioctl_space_info()
|
D | super.c | 1723 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space() 1739 device->total_bytes) { in btrfs_calc_avail_data_space()
|
D | disk-io.c | 3461 if (space.total_bytes == 0 || in btrfs_calc_num_tolerated_disk_barrier_failures()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 610 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local 653 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq() 669 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq() 672 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq() 1223 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local 1252 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq() 1309 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq() 1312 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq() 1346 total_packets, total_bytes); in fm10k_clean_tx_irq() 1389 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr() [all …]
|
D | fm10k.h | 156 unsigned int total_bytes; /* total bytes processed this int */ member
|
/linux-4.1.27/drivers/usb/host/ |
D | fhci-sched.c | 198 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()
|
D | fhci.h | 425 u16 total_bytes; /* total bytes submitted within this frame */ member
|
/linux-4.1.27/drivers/media/common/b2c2/ |
D | flexcop-i2c.c | 45 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()
|
D | flexcop_ibi_value_be.h | 50 u32 total_bytes : 2; member
|
D | flexcop_ibi_value_le.h | 53 u32 total_bytes : 2; member
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 218 unsigned int total_bytes = 0; in i40e_clean_tx_irq() local 244 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq() 301 tx_ring->stats.bytes += total_bytes; in i40e_clean_tx_irq() 304 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_clean_tx_irq() 344 total_packets, total_bytes); in i40e_clean_tx_irq() 410 bytes_per_int = rc->total_bytes / rc->itr; in i40e_set_new_dynamic_itr() 449 rc->total_bytes = 0; in i40e_set_new_dynamic_itr() 1169 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_ps() 1283 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_1buf()
|
D | i40e_txrx.h | 279 unsigned int total_bytes; /* total bytes processed this int */ member
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-pko.h | 244 uint64_t total_bytes:16; member 246 uint64_t total_bytes:16;
|
/linux-4.1.27/include/scsi/ |
D | osd_initiator.h | 139 unsigned total_bytes; member 144 u64 total_bytes; member
|
/linux-4.1.27/drivers/dma/ |
D | amba-pl08x.c | 876 int num_llis, size_t *total_bytes) in prep_byte_width_lli() argument 880 (*total_bytes) += len; in prep_byte_width_lli() 933 size_t max_bytes_per_lli, total_bytes; in pl08x_fill_llis_for_desc() local 958 total_bytes = 0; in pl08x_fill_llis_for_desc() 1048 num_llis++, &total_bytes); in pl08x_fill_llis_for_desc() 1106 total_bytes += lli_len; in pl08x_fill_llis_for_desc() 1117 bd.remainder, num_llis++, &total_bytes); in pl08x_fill_llis_for_desc() 1121 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc() 1124 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 699 unsigned int total_bytes = 0; in i40e_clean_tx_irq() local 725 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq() 782 tx_ring->stats.bytes += total_bytes; in i40e_clean_tx_irq() 785 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_clean_tx_irq() 832 total_packets, total_bytes); in i40e_clean_tx_irq() 898 bytes_per_int = rc->total_bytes / rc->itr; in i40e_set_new_dynamic_itr() 937 rc->total_bytes = 0; in i40e_set_new_dynamic_itr() 1701 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_ps() 1833 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq_1buf()
|
D | i40e_txrx.h | 282 unsigned int total_bytes; /* total bytes processed this int */ member
|
D | i40e_fcoe.c | 796 rx_ring->q_vector->rx.total_bytes += rc; in i40e_fcoe_handle_offload()
|
/linux-4.1.27/include/uapi/linux/ |
D | btrfs.h | 177 __u64 total_bytes; /* out */ member 356 __u64 total_bytes; member
|
/linux-4.1.27/sound/oss/ |
D | swarm_cs4297a.c | 249 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.1.27/fs/nfs/ |
D | write.c | 433 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.1.27/drivers/staging/unisys/uislib/ |
D | uislib.c | 1051 int total_bytes = 0; in info_debugfs_read() local 1066 total_bytes = info_debugfs_read_helper(&temp, &remaining_bytes); in info_debugfs_read() 1069 total_bytes = strlen(debug_buf); in info_debugfs_read() 1073 debug_buf, total_bytes); in info_debugfs_read()
|
/linux-4.1.27/tools/perf/ |
D | builtin-timechart.c | 96 u64 total_bytes; member 111 u64 total_bytes; member 814 c->total_bytes += ret; in pid_end_io_sample() 815 p->total_bytes += ret; in pid_end_io_sample() 1221 bytes = c->total_bytes; in draw_io_bars() 1434 if (c->total_bytes >= threshold) { in determine_display_io_tasks()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 275 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local 367 total_bytes += skb->len; in igbvf_clean_rx_irq() 400 adapter->total_rx_bytes += total_bytes; in igbvf_clean_rx_irq() 401 adapter->net_stats.rx_bytes += total_bytes; in igbvf_clean_rx_irq() 797 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local 834 total_bytes += bytecount; in igbvf_clean_tx_irq() 865 adapter->net_stats.tx_bytes += total_bytes; in igbvf_clean_tx_irq()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4454 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr() 4459 q_vector->tx.total_bytes / packets); in igb_update_ring_itr() 4489 q_vector->rx.total_bytes = 0; in igb_update_ring_itr() 4491 q_vector->tx.total_bytes = 0; in igb_update_ring_itr() 4515 unsigned int bytes = ring_container->total_bytes; in igb_update_itr() 4556 ring_container->total_bytes = 0; in igb_update_itr() 6409 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local 6438 total_bytes += tx_buffer->bytecount; in igb_clean_tx_irq() 6493 total_packets, total_bytes); in igb_clean_tx_irq() 6497 tx_ring->tx_stats.bytes += total_bytes; in igb_clean_tx_irq() [all …]
|
D | igb.h | 226 unsigned int total_bytes; /* total bytes processed this int */ member
|
/linux-4.1.27/drivers/crypto/ |
D | mv_cesa.c | 508 static int count_sgs(struct scatterlist *sl, unsigned int total_bytes) in count_sgs() argument 516 if (total_bytes > cur_len) in count_sgs() 517 total_bytes -= cur_len; in count_sgs()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 296 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() 993 q_vector->rx.total_bytes += total_rx_bytes; in ixgbevf_clean_rx_irq() 1186 int bytes = ring_container->total_bytes; in ixgbevf_update_itr() 1222 ring_container->total_bytes = 0; in ixgbevf_update_itr()
|
D | ixgbevf.h | 177 unsigned int total_bytes; /* total bytes processed this int */ member
|
/linux-4.1.27/block/ |
D | blk-core.c | 2446 int total_bytes; in blk_update_request() local 2501 total_bytes = 0; in blk_update_request() 2511 total_bytes += bio_bytes; in blk_update_request() 2531 req->__data_len -= total_bytes; in blk_update_request() 2535 req->__sector += total_bytes >> 9; in blk_update_request()
|
/linux-4.1.27/drivers/net/ethernet/atheros/alx/ |
D | main.c | 143 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.1.27/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 1235 uint32_t total_bytes = 0; in qla24xx_build_scsi_crc_2_iocbs() local 1350 total_bytes = data_bytes; in qla24xx_build_scsi_crc_2_iocbs() 1358 total_bytes = data_bytes + dif_bytes; in qla24xx_build_scsi_crc_2_iocbs() 1397 cmd_pkt->byte_count = cpu_to_le32(total_bytes); in qla24xx_build_scsi_crc_2_iocbs() 1400 *fcp_dl = htonl(total_bytes); in qla24xx_build_scsi_crc_2_iocbs()
|
/linux-4.1.27/drivers/staging/octeon/ |
D | ethernet-tx.c | 282 pko_command.s.total_bytes = skb->len; in cvm_oct_xmit()
|
/linux-4.1.27/include/linux/ |
D | hyperv.h | 326 u64 total_bytes; member
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 356 unsigned int total_bytes; /* total bytes processed this int */ member
|
D | ixgbe_main.c | 1084 unsigned int total_bytes = 0, total_packets = 0; in ixgbe_clean_tx_irq() local 1113 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq() 1170 tx_ring->stats.bytes += total_bytes; in ixgbe_clean_tx_irq() 1173 q_vector->tx.total_bytes += total_bytes; in ixgbe_clean_tx_irq() 1207 total_packets, total_bytes); in ixgbe_clean_tx_irq() 2098 q_vector->rx.total_bytes += total_rx_bytes; in ixgbe_clean_rx_irq() 2223 int bytes = ring_container->total_bytes; in ixgbe_update_itr() 2262 ring_container->total_bytes = 0; in ixgbe_update_itr()
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper.c | 879 pko_command.s.total_bytes = size; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 4266 u32 flash_op, num_bytes, total_bytes = img_size, bytes_sent = 0; in be_flash() local 4270 while (total_bytes) { in be_flash() 4271 num_bytes = min_t(u32, 32*1024, total_bytes); in be_flash() 4273 total_bytes -= num_bytes; in be_flash() 4275 if (!total_bytes) { in be_flash()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 562 u32 total_bytes; in dsi_perf_show() local 582 total_bytes = dsi->update_bytes; in dsi_perf_show() 591 total_bytes, in dsi_perf_show() 592 total_bytes * 1000 / total_us); in dsi_perf_show()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | sky2.c | 2732 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()
|