Home
last modified time | relevance | path

Searched defs:iov (Results 1 – 25 of 132) sorted by relevance

123456

/qemu/tests/unit/
H A Dtest-iov.c9 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
H A Dtest-crypto-hash.c179 struct iovec iov[3] = { in test_hash_iov() local
268 struct iovec iov[] = { in test_hash_accumulate() local
/qemu/crypto/
H A Dhash.c48 const struct iovec *iov, in qcrypto_hash_bytesv()
76 struct iovec iov = { .iov_base = (char *)buf, in qcrypto_hash_bytes() local
82 const struct iovec *iov, in qcrypto_hash_updatev()
96 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_update() local
189 const struct iovec *iov, in qcrypto_hash_digestv()
214 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_digest() local
220 const struct iovec *iov, in qcrypto_hash_base64v()
245 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_base64() local
H A Dhmac.c19 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 Dhash-afalg.c163 const struct iovec *iov, in qcrypto_afalg_send_to_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/util/
H A Diov.c25 size_t iov_from_buf_full(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf_full()
43 size_t iov_to_buf_full(const struct iovec *iov, const unsigned int iov_cnt, in iov_to_buf_full()
61 size_t iov_memset(const struct iovec *iov, const unsigned int iov_cnt, in iov_memset()
79 size_t iov_size(const struct iovec *iov, const unsigned int iov_cnt) in iov_size()
93 do_send_recv(int sockfd, int flags, struct iovec *iov, unsigned iov_cnt, in do_send_recv()
160 struct iovec *local_iov, *iov; in iov_send_recv_with_flags() local
240 void iov_hexdump(const struct iovec *iov, const unsigned int iov_cnt, in iov_hexdump()
258 const struct iovec *iov, unsigned int iov_cnt, in iov_copy()
290 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov) in qemu_iovec_init_external()
374 static struct iovec *iov_skip_offset(struct iovec *iov, size_t offset, in iov_skip_offset()
[all …]
H A Dqemu-coroutine-io.c32 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 Dcrc32c.c116 uint32_t iov_crc32c(uint32_t crc, const struct iovec *iov, size_t iov_cnt) in iov_crc32c()
/qemu/io/
H A Dchannel.c52 const struct iovec *iov, in qio_channel_readv_full()
80 const struct iovec *iov, in qio_channel_writev_full()
114 const struct iovec *iov, in qio_channel_readv_all_eof()
123 const struct iovec *iov, in qio_channel_readv_all()
131 const struct iovec *iov, in qio_channel_readv_full_all_eof()
222 const struct iovec *iov, in qio_channel_readv_full_all()
242 const struct iovec *iov, in qio_channel_writev_all()
250 const struct iovec *iov, in qio_channel_writev_full_all()
295 const struct iovec *iov, in qio_channel_readv()
304 const struct iovec *iov, in qio_channel_writev()
[all …]
H A Dchannel-file.c108 const struct iovec *iov, in qio_channel_file_readv()
137 const struct iovec *iov, in qio_channel_file_writev()
165 const struct iovec *iov, in qio_channel_file_preadv()
191 const struct iovec *iov, in qio_channel_file_pwritev()
/qemu/include/qemu/
H A Diov.h42 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()
126 #define iov_recv(sockfd, iov, iov_cnt, offset, bytes) \ argument
128 #define iov_send(sockfd, iov, iov_cnt, offset, bytes) \ argument
185 struct iovec *iov; member
/qemu/hw/misc/
H A Daspeed_hace.c107 static void hace_iov_hexdump(const char *desc, const struct iovec *iov, in hace_iov_hexdump()
153 static bool has_padding(AspeedHACEState *s, struct iovec *iov, in has_padding()
200 static int hash_prepare_direct_iov(AspeedHACEState *s, struct iovec *iov, in hash_prepare_direct_iov()
244 static int hash_prepare_sg_iov(AspeedHACEState *s, struct iovec *iov, in hash_prepare_sg_iov()
326 struct iovec *iov, in hash_write_digest_and_unmap_iov()
355 struct iovec *iov, int iov_idx) in hash_execute_non_acc_mode()
374 struct iovec *iov, int iov_idx, in hash_execute_acc_mode()
422 QEMU_UNINITIALIZED struct iovec iov[ASPEED_HACE_MAX_SG]; in do_hash_operation() local
/qemu/tests/qtest/
H A Dtest-filter-redirector.c100 struct iovec iov[] = { in test_redirector_tx() local
164 struct iovec iov[] = { in test_redirector_rx() local
H A Dtest-filter-mirror.c41 struct iovec iov[] = { in test_mirror() local
/qemu/net/
H A Dqueue.c119 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()
224 const struct iovec *iov, in qemu_net_queue_send_iov()
H A Deth.c91 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/replay/
H A Dreplay-net.c54 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 Dvhost-user-blk.c57 static size_t vub_iov_size(const struct iovec *iov, in vub_iov_size()
70 static size_t vub_iov_to_buf(const struct iovec *iov, in vub_iov_to_buf()
134 vub_readv(VubReq *req, struct iovec *iov, uint32_t iovcnt) in vub_readv()
157 vub_writev(VubReq *req, struct iovec *iov, uint32_t iovcnt) in vub_writev()
180 vub_discard_write_zeroes(VubReq *req, struct iovec *iov, uint32_t iovcnt, in vub_discard_write_zeroes()
/qemu/migration/
H A Dchannel-block.c52 const struct iovec *iov, in qio_channel_block_readv()
77 const struct iovec *iov, in qio_channel_block_writev()
H A Dchannel.c119 struct iovec iov = { .iov_base = (char *)buf, .iov_len = buflen }; in migration_channel_read_peek() local
/qemu/hw/net/
H A Dnet_rx_pkt.c88 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()
432 const struct iovec *iov, int iovcnt) in net_rx_pkt_set_vhdr_iovec()
H A Dnet_rx_pkt.h245 const struct iovec iov = { in net_rx_pkt_attach_data() local
/qemu/hw/net/rocker/
H A Drocker_fp.c120 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 Dbenchmark-crypto-hmac.c27 struct iovec iov; in test_hmac_speed() local
/qemu/fsdev/
H A Dqemu-fsdev-throttle.c99 struct iovec *iov, int iovcnt) in fsdev_co_throttle_request()

123456