Home
last modified time | relevance | path

Searched refs:iov_from_buf (Results 1 – 25 of 25) sorted by relevance

/openbmc/qemu/hw/net/
H A Dnet_rx_pkt.c577 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 Dnet_tx_pkt.c135 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 Dvirtio-net.c1579 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 De1000.c924 iov_from_buf(iov, iovcnt, 4, filter_buf, 12); in e1000_receive_iov()
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c225 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 Dvirtio-crypto.c294 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 Dvirtio-pmem.c58 int len = iov_from_buf(req_data->elem.in_sg, req_data->elem.in_num, 0, in done_cb()
H A Dvirtio-rng.c77 len = iov_from_buf(elem->in_sg, elem->in_num, in chr_read()
H A Dvhost-vsock-common.c180 if (iov_from_buf(elem->in_sg, elem->in_num, 0, in vhost_vsock_common_send_transport_reset()
H A Dvirtio-iommu.c1065 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 Dvirtio-mem.c458 iov_from_buf(elem->in_sg, elem->in_num, 0, resp, sizeof(*resp)); in virtio_mem_send_response()
/openbmc/qemu/tests/unit/
H A Dtest-iov.c93 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 Dvirtio-blk-handler.c222 iov_from_buf(in_iov, in_num, 0, handler->serial, size); in virtio_blk_process_req()
/openbmc/qemu/block/
H A Dwin32-aio.c86 iov_from_buf(qiov->iov, qiov->niov, 0, waiocb->buf, qiov->size); in win32_aio_process_completion()
/openbmc/qemu/include/qemu/
H A Diov.h41 iov_from_buf(const struct iovec *iov, unsigned int iov_cnt, in iov_from_buf() function
/openbmc/qemu/tests/
H A Dvhost-user-bridge.c321 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 Dvirtio-input.c63 len = iov_from_buf(elem->in_sg, elem->in_num, in virtio_input_send()
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c542 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 Dmain.c76 len = iov_from_buf(elem->in_sg, elem->in_num, in vi_input_send()
/openbmc/qemu/net/
H A Dvhost-vdpa.c746 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 Dvirtio-serial-bus.c121 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 Diov.c493 return iov_from_buf(qiov->iov, qiov->niov, offset, buf, bytes); in qemu_iovec_from_buf()
/openbmc/qemu/hw/usb/
H A Dcore.c619 iov_from_buf(iov->iov, iov->niov, p->actual_length, ptr, bytes); in usb_packet_copy()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c244 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 Dvirtio-gpu.c172 s = iov_from_buf(cmd->elem.in_sg, cmd->elem.in_num, 0, resp, resp_len); in virtio_gpu_ctrl_response()