/openbmc/qemu/hw/misc/ |
H A D | aspeed_hace.c | 139 int i, iov_count; in reconstruct_iov() local 141 s->iov_cache[s->iov_count].iov_base = iov[id].iov_base; in reconstruct_iov() 142 s->iov_cache[s->iov_count].iov_len = *pad_offset; in reconstruct_iov() 143 ++s->iov_count; in reconstruct_iov() 145 for (i = 0; i < s->iov_count; i++) { in reconstruct_iov() 149 iov_count = s->iov_count; in reconstruct_iov() 150 s->iov_count = 0; in reconstruct_iov() 152 return iov_count; in reconstruct_iov() 236 if (s->iov_count) { in do_hash_operation() 271 s->iov_count = 0; in do_hash_operation() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sockmap.c | 148 int iov_count; member 481 int iov_count, int iov_length, in msg_alloc_iov() argument 488 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov() 492 for (i = 0; i < iov_count; i++) { in msg_alloc_iov() 496 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov() 511 msg->msg_iovlen = iov_count; in msg_alloc_iov() 628 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument 641 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx); in msg_loop() 645 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop() 700 total_bytes *= (float)iov_count; in msg_loop() [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target.c | 576 u32 iov_count = 0, tx_size = 0; in iscsit_xmit_datain_pdu() local 580 iov[iov_count].iov_base = cmd->pdu; in iscsit_xmit_datain_pdu() 581 iov[iov_count++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_datain_pdu() 598 iov_ret = iscsit_map_iovec(cmd, &cmd->iov_data[iov_count], in iscsit_xmit_datain_pdu() 599 cmd->orig_iov_data_count - (iov_count + 2), in iscsit_xmit_datain_pdu() 604 iov_count += iov_ret; in iscsit_xmit_datain_pdu() 609 iov[iov_count].iov_base = cmd->pad_bytes; in iscsit_xmit_datain_pdu() 610 iov[iov_count++].iov_len = cmd->padding; in iscsit_xmit_datain_pdu() 623 iov[iov_count].iov_base = &cmd->data_crc; in iscsit_xmit_datain_pdu() 624 iov[iov_count++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_datain_pdu() [all …]
|
H A D | iscsi_target_util.c | 1100 u32 iov_count; in iscsit_send_tx_data() local 1108 iov_count = cmd->iov_data_count; in iscsit_send_tx_data() 1111 iov_count = cmd->iov_misc_count; in iscsit_send_tx_data() 1114 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data() 1272 int iov_count, in rx_data() argument 1282 iov_iter_kvec(&msg.msg_iter, ITER_DEST, iov, iov_count, data); in rx_data() 1302 int iov_count, in tx_data() argument 1318 iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, iov, iov_count, data); in tx_data()
|
/openbmc/qemu/include/hw/misc/ |
H A D | aspeed_hace.h | 36 uint32_t iov_count; member
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_kern.c | 339 int iov_count; in vector_enqueue() local 353 iov_count = prep_msg( in vector_enqueue() 358 if (iov_count < 1) in vector_enqueue() 360 mmsg_vector->msg_hdr.msg_iovlen = iov_count; in vector_enqueue() 916 int iov_count, pkt_len = 0; in writev_tx() local 919 iov_count = prep_msg(vp, skb, (struct iovec *) &iov); in writev_tx() 921 if (iov_count < 1) in writev_tx() 927 iov_count in writev_tx()
|
/openbmc/linux/block/ |
H A D | blk-map.c | 701 bool vec, int iov_count, bool check_iter_count, int rw) in blk_rq_map_user_io() argument 710 ret = import_iovec(rw, ubuf, iov_count ? iov_count : buf_len, in blk_rq_map_user_io() 715 if (iov_count) { in blk_rq_map_user_io()
|
/openbmc/qemu/hw/scsi/ |
H A D | megasas.c | 284 int iov_count = 0; in megasas_map_sgl() local 288 iov_count = cmd->frame->header.sge_count; in megasas_map_sgl() 289 if (!iov_count || iov_count > MEGASAS_MAX_SGE) { in megasas_map_sgl() 290 trace_megasas_iovec_sgl_overflow(cmd->index, iov_count, in megasas_map_sgl() 294 pci_dma_sglist_init(&cmd->qsg, PCI_DEVICE(s), iov_count); in megasas_map_sgl() 295 for (i = 0; i < iov_count; i++) { in megasas_map_sgl() 699 int iov_count; in megasas_map_dcmd() local 702 iov_count = cmd->frame->header.sge_count; in megasas_map_dcmd() 703 if (!iov_count) { in megasas_map_dcmd() 707 } else if (iov_count > 1) { in megasas_map_dcmd() [all …]
|
/openbmc/linux/drivers/vhost/ |
H A D | vhost.c | 2500 unsigned iov_count = *in_num + *out_num; in get_indirect() local 2524 vhost32_to_cpu(vq, desc.len), iov + iov_count, in get_indirect() 2525 iov_size - iov_count, access); in get_indirect() 2628 unsigned iov_count = *in_num + *out_num; in vhost_get_vq_desc() local 2664 vhost32_to_cpu(vq, desc.len), iov + iov_count, in vhost_get_vq_desc() 2665 iov_size - iov_count, access); in vhost_get_vq_desc()
|
/openbmc/linux/drivers/scsi/ |
H A D | sg.c | 1731 unsigned int iov_count = hp->iovec_count; in sg_start_req() local 1776 dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && in sg_start_req() 1815 GFP_ATOMIC, iov_count, iov_count, 1, rw); in sg_start_req()
|