Home
last modified time | relevance | path

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

12

/drivers/scsi/osd/
Dosd_initiator.c554 static int _alloc_cdb_cont(struct osd_request *or, unsigned total_bytes) in _alloc_cdb_cont() argument
556 OSD_DEBUG("total_bytes=%d\n", total_bytes); in _alloc_cdb_cont()
557 return _osd_realloc_seg(or, &or->cdb_cont, total_bytes); in _alloc_cdb_cont()
563 unsigned total_bytes = add_bytes; in _alloc_set_attr_list() local
566 total_bytes += _osd_req_alist_elem_size(or, oa->len); in _alloc_set_attr_list()
568 OSD_DEBUG("total_bytes=%d\n", total_bytes); in _alloc_set_attr_list()
569 return _osd_realloc_seg(or, &or->set_attr, total_bytes); in _alloc_set_attr_list()
580 OSD_DEBUG("total_bytes=%d\n", or->get_attr.total_bytes); in _alloc_get_attr_list()
581 return _osd_realloc_seg(or, &or->get_attr, or->get_attr.total_bytes); in _alloc_get_attr_list()
731 or->in.total_bytes = bio->bi_iter.bi_size; in _osd_req_list_objects()
[all …]
/drivers/staging/sm750fb/
Dddk750_hwi2c.c90 unsigned int total_bytes = 0; in hw_i2c_write_data() local
128 total_bytes += (count + 1); in hw_i2c_write_data()
132 return total_bytes; in hw_i2c_write_data()
156 unsigned int total_bytes = 0; in hw_i2c_read_data() local
194 total_bytes += (count + 1); in hw_i2c_read_data()
198 return total_bytes; in hw_i2c_read_data()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c584 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
627 total_bytes += fm10k_process_skb_fields(rx_ring, rx_desc, skb); in fm10k_clean_rx_irq()
643 rx_ring->stats.bytes += total_bytes; in fm10k_clean_rx_irq()
646 q_vector->rx.total_bytes += total_bytes; in fm10k_clean_rx_irq()
1209 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1238 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
1295 tx_ring->stats.bytes += total_bytes; in fm10k_clean_tx_irq()
1298 q_vector->tx.total_bytes += total_bytes; in fm10k_clean_tx_irq()
1332 total_packets, total_bytes); in fm10k_clean_tx_irq()
1375 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
[all …]
Dfm10k.h162 unsigned int total_bytes; /* total bytes processed this int */ member
/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
/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_le.h53 u32 total_bytes : 2; member
Dflexcop_ibi_value_be.h50 u32 total_bytes : 2; member
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c170 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
197 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq()
254 tx_ring->stats.bytes += total_bytes; in i40e_clean_tx_irq()
257 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_clean_tx_irq()
277 total_packets, total_bytes); in i40e_clean_tx_irq()
382 bytes_per_int = rc->total_bytes / usecs; in i40e_set_new_dynamic_itr()
433 rc->total_bytes = 0; in i40e_set_new_dynamic_itr()
1293 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq()
Di40e_txrx.h345 unsigned int total_bytes; /* total bytes processed this int */ member
/drivers/dma/
Damba-pl08x.c882 int num_llis, size_t *total_bytes) in prep_byte_width_lli() argument
886 (*total_bytes) += len; in prep_byte_width_lli()
939 size_t max_bytes_per_lli, total_bytes; in pl08x_fill_llis_for_desc() local
964 total_bytes = 0; in pl08x_fill_llis_for_desc()
1054 num_llis++, &total_bytes); in pl08x_fill_llis_for_desc()
1112 total_bytes += lli_len; in pl08x_fill_llis_for_desc()
1123 bd.remainder, num_llis++, &total_bytes); in pl08x_fill_llis_for_desc()
1127 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc()
1130 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c665 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
692 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq()
749 tx_ring->stats.bytes += total_bytes; in i40e_clean_tx_irq()
752 tx_ring->q_vector->tx.total_bytes += total_bytes; in i40e_clean_tx_irq()
772 total_packets, total_bytes); in i40e_clean_tx_irq()
894 bytes_per_int = rc->total_bytes / usecs; in i40e_set_new_dynamic_itr()
945 rc->total_bytes = 0; in i40e_set_new_dynamic_itr()
1859 rx_ring->q_vector->rx.total_bytes += total_rx_bytes; in i40e_clean_rx_irq()
Di40e_txrx.h348 unsigned int total_bytes; /* total bytes processed this int */ member
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c276 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local
369 total_bytes += skb->len; in igbvf_clean_rx_irq()
402 adapter->total_rx_bytes += total_bytes; in igbvf_clean_rx_irq()
403 adapter->net_stats.rx_bytes += total_bytes; in igbvf_clean_rx_irq()
799 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local
836 total_bytes += bytecount; in igbvf_clean_tx_irq()
867 adapter->net_stats.tx_bytes += total_bytes; in igbvf_clean_tx_irq()
/drivers/net/ethernet/intel/igb/
Digb_main.c4709 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr()
4714 q_vector->tx.total_bytes / packets); in igb_update_ring_itr()
4744 q_vector->rx.total_bytes = 0; in igb_update_ring_itr()
4746 q_vector->tx.total_bytes = 0; in igb_update_ring_itr()
4770 unsigned int bytes = ring_container->total_bytes; in igb_update_itr()
4811 ring_container->total_bytes = 0; in igb_update_itr()
6646 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local
6675 total_bytes += tx_buffer->bytecount; in igb_clean_tx_irq()
6730 total_packets, total_bytes); in igb_clean_tx_irq()
6734 tx_ring->tx_stats.bytes += total_bytes; in igb_clean_tx_irq()
[all …]
Digb.h233 unsigned int total_bytes; /* total bytes processed this int */ member
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c309 unsigned int total_bytes = 0, total_packets = 0; in ixgbevf_clean_tx_irq() local
338 total_bytes += tx_buffer->bytecount; in ixgbevf_clean_tx_irq()
395 tx_ring->stats.bytes += total_bytes; in ixgbevf_clean_tx_irq()
398 q_vector->tx.total_bytes += total_bytes; in ixgbevf_clean_tx_irq()
1005 q_vector->rx.total_bytes += total_rx_bytes; in ixgbevf_clean_rx_irq()
1205 int bytes = ring_container->total_bytes; in ixgbevf_update_itr()
1241 ring_container->total_bytes = 0; in ixgbevf_update_itr()
Dixgbevf.h179 unsigned int total_bytes; /* total bytes processed this int */ member
/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()
/drivers/gpu/drm/i915/
Dintel_ringbuffer.c2255 int total_bytes, wait_bytes; in intel_ring_begin() local
2258 total_bytes = bytes + req->reserved_space; in intel_ring_begin()
2265 wait_bytes = remain_actual + total_bytes; in intel_ring_begin()
2267 } else if (unlikely(total_bytes > remain_usable)) { in intel_ring_begin()
2277 wait_bytes = total_bytes; in intel_ring_begin()
/drivers/net/ethernet/atheros/alx/
Dmain.c159 unsigned int total_bytes = 0, total_packets = 0; in alx_clean_tx_irq() local
171 total_bytes += skb->len; in alx_clean_tx_irq()
183 netdev_completed_queue(alx->dev, total_packets, total_bytes); in alx_clean_tx_irq()
/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()
/drivers/staging/octeon/
Dethernet-tx.c266 pko_command.s.total_bytes = skb->len; in cvm_oct_xmit()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h366 unsigned int total_bytes; /* total bytes processed this int */ member

12