/openbmc/qemu/hw/net/ |
H A D | net_rx_pkt.c | 577 if (!iov_from_buf(vec, vec_len, csum_off, in _net_rx_pkt_validate_sctp_sum() 586 iov_from_buf(vec, vec_len, csum_off, &original, sizeof(original)); in _net_rx_pkt_validate_sctp_sum() 661 iov_from_buf(pkt->vec, pkt->vec_len, in net_rx_pkt_fix_l4_csum() 669 iov_from_buf(pkt->vec, pkt->vec_len, in net_rx_pkt_fix_l4_csum()
|
H A D | net_tx_pkt.c | 135 iov_from_buf(&pkt->vec[NET_TX_PKT_PL_START_FRAG], pkt->payload_frags, in net_tx_pkt_update_ip_checksums() 148 if (iov_from_buf(pl_start_frag, pkt->payload_frags, 8, &csum, sizeof(csum)) < sizeof(csum)) { in net_tx_pkt_update_sctp_checksum() 153 if (iov_from_buf(pl_start_frag, pkt->payload_frags, 8, &csum, sizeof(csum)) < sizeof(csum)) { in net_tx_pkt_update_sctp_checksum() 514 iov_from_buf(iov, iov_len, csum_offset, &csum, sizeof csum); in net_tx_pkt_do_sw_csum() 536 iov_from_buf(iov, iov_len, csum_offset, &csum, sizeof csum); in net_tx_pkt_do_sw_csum()
|
H A D | virtio-net.c | 1579 s = iov_from_buf(in_sg, in_num, 0, &status, sizeof(status)); in virtio_net_handle_ctrl_iov() 1717 iov_from_buf(iov, iov_cnt, 0, buf, sizeof(struct virtio_net_hdr)); in receive_header() 1723 iov_from_buf(iov, iov_cnt, 0, &hdr, sizeof hdr); in receive_header() 1979 iov_from_buf(sg, elem->in_num, offset, in virtio_net_receive_rcu() 1992 len = iov_from_buf(sg, elem->in_num, guest_offset, in virtio_net_receive_rcu() 2013 iov_from_buf(mhdr_sg, mhdr_cnt, in virtio_net_receive_rcu()
|
H A D | e1000.c | 924 iov_from_buf(iov, iovcnt, 4, filter_buf, 12); in e1000_receive_iov()
|
/openbmc/qemu/hw/audio/ |
H A D | virtio-snd.c | 225 iov_from_buf(cmd->elem->in_sg, in virtio_snd_handle_pcm_info() 723 iov_from_buf(cmd->elem->in_sg, in process_cmd() 826 iov_from_buf(buffer->elem->in_sg, in empty_invalid_queue() 1123 iov_from_buf(buffer->elem->in_sg, in return_tx_buffer() 1211 iov_from_buf(buffer->elem->in_sg, in return_rx_buffer() 1216 iov_from_buf(buffer->elem->in_sg, in return_rx_buffer()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-crypto.c | 294 s = iov_from_buf(in_iov, in_num, 0, &input, sizeof(input)); in virtio_crypto_create_session_completion() 324 s = iov_from_buf(in_iov, in_num, 0, &status, sizeof(status)); in virtio_crypto_destroy_session_completion() 438 s = iov_from_buf(in_iov, in_num, 0, &input, sizeof(input)); in virtio_crypto_handle_ctrl() 518 s = iov_from_buf(in_iov, req->in_num, 0, sym_op_info->dst, len); in virtio_crypto_sym_input_data_helper() 529 s = iov_from_buf(in_iov, req->in_num, 0, in virtio_crypto_sym_input_data_helper() 555 s = iov_from_buf(in_iov, req->in_num, 0, asym_op_info->dst, len); in virtio_crypto_akcipher_input_data_helper()
|
H A D | virtio-pmem.c | 58 int len = iov_from_buf(req_data->elem.in_sg, req_data->elem.in_num, 0, in done_cb()
|
H A D | virtio-rng.c | 77 len = iov_from_buf(elem->in_sg, elem->in_num, in chr_read()
|
H A D | vhost-vsock-common.c | 180 if (iov_from_buf(elem->in_sg, elem->in_num, 0, in vhost_vsock_common_send_transport_reset()
|
H A D | virtio-iommu.c | 1065 sz = iov_from_buf(elem->in_sg, elem->in_num, 0, in virtio_iommu_handle_command() 1080 sz = iov_from_buf(elem->in_sg, in virtio_iommu_handle_command() 1127 sz = iov_from_buf(elem->in_sg, elem->in_num, 0, in virtio_iommu_report_fault()
|
H A D | virtio-mem.c | 458 iov_from_buf(elem->in_sg, elem->in_num, 0, resp, sizeof(*resp)); in virtio_mem_send_response()
|
/openbmc/qemu/tests/unit/ |
H A D | test-iov.c | 93 n = iov_from_buf(iov, niov, i, ibuf + i, sz - i); in test_to_from_buf_1() 121 n = iov_from_buf(iov, niov, i, ibuf + i, j - i); in test_to_from_buf_1() 173 iov_from_buf(iov, niov, 0, buf, sz); in test_io()
|
/openbmc/qemu/block/export/ |
H A D | virtio-blk-handler.c | 222 iov_from_buf(in_iov, in_num, 0, handler->serial, size); in virtio_blk_process_req()
|
/openbmc/qemu/block/ |
H A D | win32-aio.c | 86 iov_from_buf(qiov->iov, qiov->niov, 0, waiocb->buf, qiov->size); in win32_aio_process_completion()
|
/openbmc/qemu/include/qemu/ |
H A D | iov.h | 41 iov_from_buf(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf() function
|
/openbmc/qemu/tests/ |
H A D | vhost-user-bridge.c | 321 iov_from_buf(sg, elem->in_num, 0, &hdr, sizeof hdr); in vubr_backend_recv_cb() 361 iov_from_buf(mhdr_sg, mhdr_cnt, in vubr_backend_recv_cb()
|
/openbmc/qemu/hw/input/ |
H A D | virtio-input.c | 63 len = iov_from_buf(elem->in_sg, elem->in_num, in virtio_input_send()
|
/openbmc/qemu/hw/block/ |
H A D | virtio-blk.c | 542 n = iov_from_buf(in_iov, in_num, 0, &zrp_hdr, sizeof(zrp_hdr)); in virtio_blk_zone_report_complete() 605 n = iov_from_buf(in_iov, in_num, i, &desc, sizeof(desc)); in virtio_blk_zone_report_complete() 741 n = iov_from_buf(data->in_iov, data->in_num, 0, &append_sector, in virtio_blk_zone_append_complete() 912 iov_from_buf(in_iov, in_num, 0, serial, size); in virtio_blk_handle_request()
|
/openbmc/qemu/contrib/vhost-user-input/ |
H A D | main.c | 76 len = iov_from_buf(elem->in_sg, elem->in_num, in vi_input_send()
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 746 iov_from_buf(out_cursor, 1, 0, &ctrl, sizeof(ctrl)); in vhost_vdpa_net_load_cmd() 1399 iov_from_buf(out, 1, sizeof(*hdr_ptr), &on, sizeof(on)); in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1562 in_len = iov_from_buf(elem->in_sg, elem->in_num, 0, &status, in vhost_vdpa_net_handle_ctrl_avail()
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 121 len = iov_from_buf(elem->in_sg, elem->in_num, 0, in write_to_port() 240 iov_from_buf(elem->in_sg, elem->in_num, 0, buf, len); in send_control_msg()
|
/openbmc/qemu/util/ |
H A D | iov.c | 493 return iov_from_buf(qiov->iov, qiov->niov, offset, buf, bytes); in qemu_iovec_from_buf()
|
/openbmc/qemu/hw/usb/ |
H A D | core.c | 619 iov_from_buf(iov->iov, iov->niov, p->actual_length, ptr, bytes); in usb_packet_copy()
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 244 s = iov_from_buf(cmd->elem.in_sg, cmd->elem.in_num, 0, resp, resp_len); in vg_ctrl_response()
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu.c | 172 s = iov_from_buf(cmd->elem.in_sg, cmd->elem.in_num, 0, resp, resp_len); in virtio_gpu_ctrl_response()
|