| /qemu/include/qemu/ |
| A D | iov.h | 22 size_t iov_size(const struct iovec *iov, const unsigned int iov_cnt); 42 iov_from_buf(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf() 55 iov_to_buf(const struct iovec *iov, const unsigned int iov_cnt, in iov_to_buf() 100 const struct iovec *iov, 144 const struct iovec *iov, unsigned int iov_cnt, 157 size_t iov_discard_back(struct iovec *iov, unsigned int *iov_cnt, 162 struct iovec *modified_iov; 163 struct iovec orig; 184 struct iovec *iov; 204 struct iovec local_iov; [all …]
|
| /qemu/include/io/ |
| A D | channel.h | 112 const struct iovec *iov, 119 const struct iovec *iov, 135 const struct iovec *iov, 140 const struct iovec *iov, 245 const struct iovec *iov, 289 const struct iovec *iov, 349 const struct iovec *iov, 389 const struct iovec *iov, 404 const struct iovec *iov, 562 ssize_t qio_channel_pwritev(QIOChannel *ioc, const struct iovec *iov, [all …]
|
| /qemu/util/ |
| A D | iov.c | 163 struct iovec *local_iov, *iov; in iov_send_recv_with_flags() 169 local_iov = g_new0(struct iovec, iov_cnt); in iov_send_recv_with_flags() 288 qiov->iov = g_new(struct iovec, alloc_hint); in qemu_iovec_init() 379 static struct iovec *iov_skip_offset(struct iovec *iov, size_t offset, in iov_skip_offset() 402 struct iovec *iov, *end_iov; in qemu_iovec_slice() 435 struct iovec *iov; in qemu_iovec_is_zero() 461 struct iovec *slice_iov; in qemu_iovec_init_slice() 550 struct iovec *src_iov; 599 struct iovec *cur = sortelems[i].src_iov; in qemu_iovec_clone() 633 struct iovec *cur; in iov_discard_front_undoable() [all …]
|
| /qemu/io/ |
| A D | channel.c | 52 const struct iovec *iov, in qio_channel_readv_full() 80 const struct iovec *iov, in qio_channel_writev_full() 136 struct iovec *local_iov = g_new(struct iovec, niov); in qio_channel_readv_full_all_eof() 137 struct iovec *local_iov_head = local_iov; in qio_channel_readv_full_all_eof() 253 struct iovec *local_iov = g_new(struct iovec, niov); in qio_channel_writev_full_all() 254 struct iovec *local_iov_head = local_iov; in qio_channel_writev_full_all() 292 const struct iovec *iov, in qio_channel_readv() 301 const struct iovec *iov, in qio_channel_writev() 314 struct iovec iov = { .iov_base = buf, .iov_len = buflen }; in qio_channel_read() 478 struct iovec iov = { in qio_channel_pwrite() [all …]
|
| /qemu/fsdev/ |
| A D | 9p-iov-marshal.h | 7 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset, 9 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset, 11 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset, 14 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset, 16 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset,
|
| A D | 9p-iov-marshal.c | 21 static ssize_t v9fs_packunpack(void *addr, struct iovec *sg, int sg_count, in v9fs_packunpack() 60 static ssize_t v9fs_unpack(void *dst, struct iovec *out_sg, int out_num, in v9fs_unpack() 66 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset, in v9fs_pack() 72 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_vunmarshal() 191 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_unmarshal() 204 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_vmarshal() 304 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_marshal()
|
| /qemu/hw/net/ |
| A D | net_rx_pkt.h | 64 const struct iovec *iov, size_t iovcnt, 211 const struct iovec *iov, 228 const struct iovec *iov, int iovcnt, 245 const struct iovec iov = { in net_rx_pkt_attach_data() 260 struct iovec *net_rx_pkt_get_iovec(struct NetRxPkt *pkt); 289 const struct iovec *iov, int iovcnt);
|
| A D | net_tx_pkt.c | 38 struct iovec *raw; 42 struct iovec *vec; 70 p->raw = g_new(struct iovec, max_frags); in net_tx_pkt_init() 168 struct iovec *l2_hdr, *l3_hdr; in net_tx_pkt_parse_headers() 404 struct iovec *ventry; in net_tx_pkt_add_raw_fragment() 543 struct iovec *dst, int *dst_idx) in net_tx_pkt_fetch_fragment() 546 struct iovec *src = pkt->vec; in net_tx_pkt_fetch_fragment() 580 void *opaque, const struct iovec *iov, int iov_cnt, in net_tx_pkt_sendv() 581 const struct iovec *virt_iov, int virt_iov_cnt) in net_tx_pkt_sendv() 728 struct iovec fragment[NET_MAX_FRAG_SG_LIST]; in net_tx_pkt_do_sw_fragmentation() [all …]
|
| /qemu/crypto/ |
| A D | hash.c | 48 const struct iovec *iov, in qcrypto_hash_bytesv() 76 struct iovec iov = { .iov_base = (char *)buf, in qcrypto_hash_bytes() 82 const struct iovec *iov, in qcrypto_hash_updatev() 96 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_update() 189 const struct iovec *iov, in qcrypto_hash_digestv() 214 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_digest() 220 const struct iovec *iov, in qcrypto_hash_base64v() 245 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_base64()
|
| A D | hmac.c | 19 const struct iovec *iov, in qcrypto_hmac_bytesv() 37 struct iovec iov = { in qcrypto_hmac_bytes() 46 const struct iovec *iov, in qcrypto_hmac_digestv() 78 struct iovec iov = { in qcrypto_hmac_digest()
|
| A D | hash-afalg.c | 163 const struct iovec *iov, in qcrypto_afalg_send_to_kernel() 192 struct iovec outv; in qcrypto_afalg_recv_from_kernel() 221 const struct iovec *iov, in qcrypto_afalg_hash_update() 242 const struct iovec *iov, in qcrypto_afalg_hash_hmac_bytesv() 260 const struct iovec *iov, in qcrypto_afalg_hmac_bytesv()
|
| /qemu/net/ |
| A D | vhost-vdpa.c | 718 struct iovec out, in; in vhost_vdpa_net_load_cmd() 775 const struct iovec data = { in vhost_vdpa_net_load_mac() 814 const struct iovec data[] = { in vhost_vdpa_net_load_mac() 906 const struct iovec data[] = { in vhost_vdpa_net_load_rss() 952 const struct iovec data = { in vhost_vdpa_net_load_mq() 1012 const struct iovec data = { in vhost_vdpa_net_load_offloads() 1033 const struct iovec data = { in vhost_vdpa_net_load_rx_mode() 1195 const struct iovec data = { in vhost_vdpa_net_load_single_vlan() 1485 struct iovec out = { in vhost_vdpa_net_handle_ctrl_avail() 1489 const struct iovec model_in = { in vhost_vdpa_net_handle_ctrl_avail() [all …]
|
| A D | eth.c | 72 eth_get_l3_proto(const struct iovec *l2hdr_iov, int iovcnt, size_t l2hdr_len) in eth_get_l3_proto() 91 const struct iovec *iov, int iovcnt, in _eth_copy_chunk() 129 void eth_get_protocols(const struct iovec *iov, size_t iovcnt, size_t iovoff, in eth_get_protocols() 222 eth_strip_vlan(const struct iovec *iov, int iovcnt, size_t iovoff, in eth_strip_vlan() 272 eth_strip_vlan_ex(const struct iovec *iov, int iovcnt, size_t iovoff, int index, in eth_strip_vlan_ex() 376 _eth_get_rss_ex_dst_addr(const struct iovec *pkt, int pkt_frags, in _eth_get_rss_ex_dst_addr() 403 _eth_get_rss_ex_src_addr(const struct iovec *pkt, int pkt_frags, in _eth_get_rss_ex_src_addr() 453 bool eth_parse_ipv6_hdr(const struct iovec *pkt, int pkt_frags, in eth_parse_ipv6_hdr()
|
| A D | l2tpv3.c | 70 struct iovec *vec; 217 const struct iovec *iov, in net_l2tpv3_receive_dgram_iov() 233 memcpy(s->vec + 1, iov, iovcnt * sizeof(struct iovec)); in net_l2tpv3_receive_dgram_iov() 268 struct iovec *vec; in net_l2tpv3_receive_dgram() 346 struct iovec *vec; in net_l2tpv3_process_queue() 451 struct iovec *iov; in destroy_vector() 472 struct iovec *iov; in build_l2tpv3_vector() 480 iov = g_new(struct iovec, IOVSIZE); in build_l2tpv3_vector() 709 s->vec = g_new(struct iovec, MAX_L2TPV3_IOVCNT); in net_init_l2tpv3()
|
| /qemu/tests/unit/ |
| A D | test-iov.c | 28 static bool iov_equals(const struct iovec *a, const struct iovec *b, in iov_equals() 63 struct iovec *iov; in test_to_from_buf_1() 163 struct iovec *iov, *siov; in test_io() 265 struct iovec *iov; in test_discard_front() 266 struct iovec *iov_tmp; in test_discard_front() 345 struct iovec *iov; in test_discard_front_undo() 346 struct iovec *iov_tmp; in test_discard_front_undo() 347 struct iovec *iov_orig; in test_discard_front_undo() 425 struct iovec *iov; in test_discard_back() 495 struct iovec *iov; in test_discard_back_undo() [all …]
|
| A D | io-channel-helpers.c | 31 struct iovec *inputv; 33 struct iovec *outputv; 89 data->inputv = g_new0(struct iovec, data->niov); in qio_channel_test_new() 90 data->outputv = g_new0(struct iovec, data->niov); in qio_channel_test_new()
|
| /qemu/include/crypto/ |
| A D | hash.h | 93 const struct iovec *iov, 149 const struct iovec *iov, 167 const struct iovec *iov, 315 const struct iovec *iov,
|
| /qemu/hw/virtio/ |
| A D | vhost-shadow-virtqueue.c | 83 hwaddr *addrs, const struct iovec *iovec, in vhost_svq_translate_addr() argument 92 .translated_addr = (hwaddr)(uintptr_t)iovec[i].iov_base, in vhost_svq_translate_addr() 93 .size = iovec[i].iov_len, in vhost_svq_translate_addr() 114 int128_makes64(iovec[i].iov_len - 1)); in vhost_svq_translate_addr() 139 const struct iovec *iovec, size_t num, in vhost_svq_vring_write_descs() argument 152 ok = vhost_svq_translate_addr(svq, sg, iovec, num); in vhost_svq_vring_write_descs() 165 descs[i].len = cpu_to_le32(iovec[n].iov_len); in vhost_svq_vring_write_descs() 176 const struct iovec *out_sg, size_t out_num, in vhost_svq_add_split() 177 const struct iovec *in_sg, size_t in_num, in vhost_svq_add_split() 249 int vhost_svq_add(VhostShadowVirtqueue *svq, const struct iovec *out_sg, in vhost_svq_add() [all …]
|
| A D | virtio-nsm.c | 137 static bool handle_get_random(VirtIONSM *vnsm, struct iovec *request, in handle_get_random() 138 struct iovec *response, Error **errp) in handle_get_random() 209 struct iovec *response, Error **errp) in handle_describe_nsm() 551 struct iovec *response, Error **errp) in handle_extend_pcr() 703 struct iovec *response, Error **errp) in handle_lock_pcr() 838 struct iovec *response, Error **errp) in handle_lock_pcrs() 1443 bool (*response_fn)(VirtIONSM *vnsm, struct iovec *request, 1444 struct iovec *response, Error **errp); 1538 struct iovec req = {.iov_base = NULL, .iov_len = 0}; in handle_input() 1539 struct iovec res = {.iov_base = NULL, .iov_len = 0}; in handle_input() [all …]
|
| /qemu/include/net/ |
| A D | queue.h | 43 const struct iovec *iov, 52 const struct iovec *iov, 72 const struct iovec *iov,
|
| A D | filter.h | 30 const struct iovec *iov, 69 const struct iovec *iov, 76 const struct iovec *iov,
|
| A D | eth.h | 318 eth_get_l2_hdr_length_iov(const struct iovec *iov, size_t iovcnt, size_t iovoff) in eth_get_l2_hdr_length_iov() 345 eth_strip_vlan(const struct iovec *iov, int iovcnt, size_t iovoff, 350 eth_strip_vlan_ex(const struct iovec *iov, int iovcnt, size_t iovoff, int index, 355 eth_get_l3_proto(const struct iovec *l2hdr_iov, int iovcnt, size_t l2hdr_len); 397 void eth_get_protocols(const struct iovec *iov, size_t iovcnt, size_t iovoff, 421 eth_parse_ipv6_hdr(const struct iovec *pkt, int pkt_frags,
|
| /qemu/migration/ |
| A D | channel-block.c | 52 const struct iovec *iov, in qio_channel_block_readv() 63 qemu_iovec_init_external(&qiov, (struct iovec *)iov, niov); in qio_channel_block_readv() 77 const struct iovec *iov, in qio_channel_block_writev() 88 qemu_iovec_init_external(&qiov, (struct iovec *)iov, niov); in qio_channel_block_writev()
|
| /qemu/block/export/ |
| A D | virtio-blk-handler.h | 32 struct iovec *in_iov, 33 struct iovec *out_iov,
|
| /qemu/hw/9pfs/ |
| A D | xen-9p-backend.c | 46 struct iovec *sg; 72 struct iovec *in_sg, in xen_9pfs_in_sg() 99 struct iovec *out_sg, in xen_9pfs_out_sg() 140 struct iovec in_sg[2]; in xen_9pfs_pdu_vmarshal() 164 struct iovec out_sg[2]; in xen_9pfs_pdu_vunmarshal() 182 struct iovec **piov, in xen_9pfs_init_out_iov_from_pdu() 192 ring->sg = g_new0(struct iovec, 2); in xen_9pfs_init_out_iov_from_pdu() 199 struct iovec **piov, in xen_9pfs_init_in_iov_from_pdu() 210 ring->sg = g_new0(struct iovec, 2); in xen_9pfs_init_in_iov_from_pdu()
|