/qemu/tests/unit/ |
H A D | test-iov.c | 9 struct iovec *iov = g_malloc(niov * sizeof(*iov)); in iov_random() local 19 static void iov_free(struct iovec *iov, unsigned niov) in iov_free() 34 static void test_iov_bytes(struct iovec *iov, unsigned niov, in test_iov_bytes() 63 struct iovec *iov; in test_to_from_buf_1() local 163 struct iovec *iov, *siov; in test_io() local 265 struct iovec *iov; in test_discard_front() local 345 struct iovec *iov; in test_discard_front_undo() local 425 struct iovec *iov; in test_discard_back() local 495 struct iovec *iov; in test_discard_back_undo() local
|
/qemu/crypto/ |
H A D | hash.c | 42 const struct iovec *iov, in qcrypto_hash_bytesv() 75 struct iovec iov = { .iov_base = (char *)buf, in qcrypto_hash_bytes() local 83 const struct iovec *iov, in qcrypto_hash_digestv() 112 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_digest() local 118 const struct iovec *iov, in qcrypto_hash_base64v() 141 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_base64() local
|
H A D | hmac.c | 19 const struct iovec *iov, in qcrypto_hmac_bytesv() 37 struct iovec iov = { in qcrypto_hmac_bytes() local 46 const struct iovec *iov, in qcrypto_hmac_digestv() 78 struct iovec iov = { in qcrypto_hmac_digest() local
|
H A D | hash-afalg.c | 119 const struct iovec *iov, in qcrypto_afalg_hash_hmac_bytesv() 177 const struct iovec *iov, in qcrypto_afalg_hash_bytesv() 188 const struct iovec *iov, in qcrypto_afalg_hmac_bytesv()
|
H A D | hash-glib.c | 49 const struct iovec *iov, in qcrypto_glib_hash_bytesv()
|
H A D | hash-gcrypt.c | 50 const struct iovec *iov, in qcrypto_gcrypt_hash_bytesv()
|
H A D | hash-gnutls.c | 58 const struct iovec *iov, in qcrypto_gnutls_hash_bytesv()
|
/qemu/util/ |
H A D | iov.c | 24 size_t iov_from_buf_full(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf_full() 62 size_t iov_memset(const struct iovec *iov, const unsigned int iov_cnt, in iov_memset() 81 size_t iov_size(const struct iovec *iov, const unsigned int iov_cnt) in iov_size() 152 struct iovec *local_iov, *iov; in iov_send_recv() local 232 void iov_hexdump(const struct iovec *iov, const unsigned int iov_cnt, in iov_hexdump() 250 const struct iovec *iov, unsigned int iov_cnt, in iov_copy() 391 struct iovec *iov, *end_iov; in qemu_iovec_slice() local 424 struct iovec *iov; in qemu_iovec_is_zero() local 616 size_t iov_discard_front_undoable(struct iovec **iov, in iov_discard_front_undoable() 656 size_t iov_discard_back_undoable(struct iovec *iov, in iov_discard_back_undoable() [all …]
|
H A D | qemu-coroutine-io.c | 32 qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, in qemu_co_sendv_recvv() 64 struct iovec iov = { .iov_base = buf, .iov_len = bytes }; in qemu_co_send_recv() local
|
H A D | crc32c.c | 116 uint32_t iov_crc32c(uint32_t crc, const struct iovec *iov, size_t iov_cnt) in iov_crc32c()
|
/qemu/io/ |
H A D | channel.c | 52 const struct iovec *iov, in qio_channel_readv_full() 80 const struct iovec *iov, in qio_channel_writev_full() 122 const struct iovec *iov, in qio_channel_readv_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() local 334 struct iovec iov = { .iov_base = buf, .iov_len = buflen }; in qio_channel_read_all_eof() local 344 struct iovec iov = { .iov_base = buf, .iov_len = buflen }; in qio_channel_read_all() local 478 struct iovec iov = { in qio_channel_pwrite() local 486 ssize_t qio_channel_preadv(QIOChannel *ioc, const struct iovec *iov, in qio_channel_preadv() [all …]
|
H A D | channel-file.c | 106 const struct iovec *iov, in qio_channel_file_readv() 135 const struct iovec *iov, in qio_channel_file_writev() 163 const struct iovec *iov, in qio_channel_file_preadv() 189 const struct iovec *iov, in qio_channel_file_pwritev()
|
/qemu/include/qemu/ |
H A D | iov.h | 41 iov_from_buf(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf() 54 iov_to_buf(const struct iovec *iov, const unsigned int iov_cnt, in iov_to_buf() 98 #define iov_recv(sockfd, iov, iov_cnt, offset, bytes) \ argument 100 #define iov_send(sockfd, iov, iov_cnt, offset, bytes) \ argument 157 struct iovec *iov; member
|
/qemu/net/ |
H A D | queue.c | 119 const struct iovec *iov, in qemu_net_queue_append_iov() 158 struct iovec iov = { in qemu_net_queue_deliver() local 173 const struct iovec *iov, in qemu_net_queue_deliver_iov() 197 const struct iovec *iov, in qemu_net_queue_receive_iov() 235 const struct iovec *iov, in qemu_net_queue_send_iov()
|
H A D | eth.c | 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()
|
/qemu/tests/qtest/ |
H A D | test-filter-redirector.c | 100 struct iovec iov[] = { in test_redirector_tx() local 164 struct iovec iov[] = { in test_redirector_rx() local
|
H A D | test-filter-mirror.c | 41 struct iovec iov[] = { in test_mirror() local
|
/qemu/replay/ |
H A D | replay-net.c | 54 const struct iovec *iov, int iovcnt) in replay_net_packet_event() 69 struct iovec iov = { in replay_event_net_run() local
|
/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 56 static size_t vub_iov_size(const struct iovec *iov, in vub_iov_size() 69 static size_t vub_iov_to_buf(const struct iovec *iov, in vub_iov_to_buf() 133 vub_readv(VubReq *req, struct iovec *iov, uint32_t iovcnt) in vub_readv() 156 vub_writev(VubReq *req, struct iovec *iov, uint32_t iovcnt) in vub_writev() 179 vub_discard_write_zeroes(VubReq *req, struct iovec *iov, uint32_t iovcnt, in vub_discard_write_zeroes()
|
/qemu/hw/misc/ |
H A D | aspeed_hace.c | 106 static bool has_padding(AspeedHACEState *s, struct iovec *iov, in has_padding() 135 static int reconstruct_iov(AspeedHACEState *s, struct iovec *iov, int id, in reconstruct_iov() 164 static int gen_acc_mode_iov(AspeedHACEState *s, struct iovec *iov, int id, in gen_acc_mode_iov() 191 struct iovec iov[ASPEED_HACE_MAX_SG]; in do_hash_operation() local
|
/qemu/migration/ |
H A D | channel-block.c | 52 const struct iovec *iov, in qio_channel_block_readv() 77 const struct iovec *iov, in qio_channel_block_writev()
|
H A D | channel.c | 114 struct iovec iov = { .iov_base = (char *)buf, .iov_len = buflen }; in migration_channel_read_peek() local
|
/qemu/hw/net/ |
H A D | net_rx_pkt.c | 88 const struct iovec *iov, int iovcnt, in net_rx_pkt_pull_data() 119 const struct iovec *iov, int iovcnt, in net_rx_pkt_attach_iovec() 139 const struct iovec *iov, int iovcnt, in net_rx_pkt_attach_iovec_ex() 191 const struct iovec *iov, size_t iovcnt, in net_rx_pkt_set_protocols() 446 const struct iovec *iov, int iovcnt) in net_rx_pkt_set_vhdr_iovec()
|
/qemu/hw/net/rocker/ |
H A D | rocker_fp.c | 120 int fp_port_eg(FpPort *port, const struct iovec *iov, int iovcnt) in fp_port_eg() 131 static ssize_t fp_port_receive_iov(NetClientState *nc, const struct iovec *iov, in fp_port_receive_iov() 152 const struct iovec iov = { in fp_port_receive() local
|
/qemu/tests/bench/ |
H A D | benchmark-crypto-hmac.c | 27 struct iovec iov; in test_hmac_speed() local
|