Home
last modified time | relevance | path

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

12

/openbmc/qemu/hw/virtio/
H A Dvhost-shadow-virtqueue.h19 VirtQueueElement *elem;
42 VirtQueueElement *elem,
85 VirtQueueElement *next_guest_avail_elem;
119 const VirtQueueElement *elem, uint32_t len);
122 VirtQueueElement *elem);
H A Dvhost-shadow-virtqueue.c251 VirtQueueElement *elem) in vhost_svq_add()
275 VirtQueueElement *elem) in vhost_svq_add_element()
304 g_autofree VirtQueueElement *elem = NULL; in vhost_handle_guest_kick()
417 static VirtQueueElement *vhost_svq_get_buf(VhostShadowVirtqueue *svq, in vhost_svq_get_buf()
463 const VirtQueueElement *elem, uint32_t len) in vhost_svq_push_elem()
487 g_autofree VirtQueueElement *elem = vhost_svq_get_buf(svq, &len); in vhost_svq_flush()
695 g_autofree VirtQueueElement *next_avail_elem = NULL; in vhost_svq_stop()
705 g_autofree VirtQueueElement *elem = NULL; in vhost_svq_stop()
H A Dvirtio-balloon.c329 VirtQueueElement *elem; in virtio_balloon_handle_report()
331 while ((elem = virtqueue_pop(vq, sizeof(VirtQueueElement)))) { in virtio_balloon_handle_report()
390 VirtQueueElement *elem; in virtio_balloon_handle_output()
398 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_balloon_handle_output()
449 VirtQueueElement *elem; in virtio_balloon_receive_stats()
453 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_balloon_receive_stats()
500 VirtQueueElement *elem; in get_free_page_hints()
510 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in get_free_page_hints()
H A Dvirtio-pmem.c30 VirtQueueElement elem;
83 virtqueue_detach_element(vq, (VirtQueueElement *)req_data, 0); in virtio_pmem_flush()
H A Dvirtio-rng.c51 VirtQueueElement *elem; in chr_read()
72 elem = virtqueue_pop(vrng->vq, sizeof(VirtQueueElement)); in chr_read()
H A Dvhost-vsock-common.c162 VirtQueueElement *elem; in vhost_vsock_common_send_transport_reset()
168 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in vhost_vsock_common_send_transport_reset()
H A Dvirtio.c123 VirtQueueElement *used_elems;
1008 void virtqueue_fill(VirtQueue *vq, const VirtQueueElement *elem, in virtqueue_fill()
1644 void virtqueue_map(VirtIODevice *vdev, VirtQueueElement *elem) in virtqueue_map()
1653 VirtQueueElement *elem; in virtqueue_alloc_element()
1661 assert(sz >= sizeof(VirtQueueElement)); in virtqueue_alloc_element()
1681 VirtQueueElement *elem = NULL; in virtqueue_split_pop()
1827 VirtQueueElement *elem = NULL; in virtqueue_packed_pop()
1986 VirtQueueElement elem = {}; in virtqueue_packed_drop_all()
2037 VirtQueueElement elem = {}; in virtqueue_split_drop_all()
2102 VirtQueueElement *elem; in qemu_get_virtqueue_element()
[all …]
H A Dvirtio-mem.c451 static void virtio_mem_send_response(VirtIOMEM *vmem, VirtQueueElement *elem, in virtio_mem_send_response()
465 VirtQueueElement *elem, in virtio_mem_send_response_simple()
686 static void virtio_mem_plug_request(VirtIOMEM *vmem, VirtQueueElement *elem, in virtio_mem_plug_request()
698 static void virtio_mem_unplug_request(VirtIOMEM *vmem, VirtQueueElement *elem, in virtio_mem_unplug_request()
762 VirtQueueElement *elem) in virtio_mem_unplug_all_request()
772 static void virtio_mem_state_request(VirtIOMEM *vmem, VirtQueueElement *elem, in virtio_mem_state_request()
803 VirtQueueElement *elem; in virtio_mem_handle_request()
808 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_mem_handle_request()
H A Dvirtio-crypto.c32 VirtQueueElement *elem;
270 VirtQueueElement *elem = sreq->elem; in virtio_crypto_create_session_completion()
312 VirtQueueElement *elem = sreq->elem; in virtio_crypto_destroy_session_completion()
342 VirtQueueElement *elem; in virtio_crypto_handle_ctrl()
357 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_crypto_handle_ctrl()
823 VirtQueueElement *elem = &request->elem; in virtio_crypto_handle_request()
H A Dvirtio-iommu.c1002 VirtQueueElement *elem; in virtio_iommu_handle_command()
1011 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_iommu_handle_command()
1103 VirtQueueElement *elem; in virtio_iommu_report_fault()
1112 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_iommu_report_fault()
/openbmc/qemu/hw/9pfs/
H A Dvirtio-9p-device.c35 VirtQueueElement *elem = v->elems[pdu->idx]; in virtio_9p_push_and_notify()
52 VirtQueueElement *elem; in handle_9p_output()
57 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in handle_9p_output()
125 VirtQueueElement *elem = v->elems[pdu->idx]; in virtio_pdu_vmarshal()
143 VirtQueueElement *elem = v->elems[pdu->idx]; in virtio_pdu_vunmarshal()
160 VirtQueueElement *elem = v->elems[pdu->idx]; in virtio_init_in_iov_from_pdu()
180 VirtQueueElement *elem = v->elems[pdu->idx]; in virtio_init_out_iov_from_pdu()
H A Dvirtio-9p.h13 VirtQueueElement *elems[MAX_REQ];
/openbmc/qemu/include/hw/virtio/
H A Dvirtio.h65 typedef struct VirtQueueElement struct
78 } VirtQueueElement; argument
257 void virtqueue_push(VirtQueue *vq, const VirtQueueElement *elem,
260 void virtqueue_detach_element(VirtQueue *vq, const VirtQueueElement *elem,
262 void virtqueue_unpop(VirtQueue *vq, const VirtQueueElement *elem,
265 void virtqueue_fill(VirtQueue *vq, const VirtQueueElement *elem,
268 void virtqueue_map(VirtIODevice *vdev, VirtQueueElement *elem);
273 VirtQueueElement *elem);
H A Dvirtio-balloon.h51 VirtQueueElement *stats_vq_elem;
H A Dvirtio-crypto.h66 VirtQueueElement elem;
H A Dvirtio-blk.h80 VirtQueueElement elem;
H A Dvirtio-serial.h127 VirtQueueElement *elem;
H A Dvirtio-input.h67 VirtQueueElement *elem;
H A Dvirtio-net.h161 VirtQueueElement *elem;
H A Dvirtio-gpu.h130 VirtQueueElement elem;
/openbmc/qemu/include/hw/audio/
H A Dvirtio-snd.h106 VirtQueueElement *elem;
243 VirtQueueElement *elem;
/openbmc/qemu/hw/input/
H A Dvirtio-input.c25 VirtQueueElement *elem; in virtio_input_send()
48 elem = virtqueue_pop(vinput->evt, sizeof(VirtQueueElement)); in virtio_input_send()
82 VirtQueueElement *elem; in virtio_input_handle_sts()
86 elem = virtqueue_pop(vinput->sts, sizeof(VirtQueueElement)); in virtio_input_handle_sts()
/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c103 VirtQueueElement *elem; in write_to_port()
116 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in write_to_port()
135 VirtQueueElement *elem; in discard_vq_data()
141 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in discard_vq_data()
175 port->elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in do_flush_queued_data()
226 VirtQueueElement *elem; in send_control_msg()
234 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in send_control_msg()
460 VirtQueueElement *elem; in control_out()
472 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in control_out()
785 qemu_get_virtqueue_element(vdev, f, sizeof(VirtQueueElement)); in fetch_active_ports_list()
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c773 VirtQueueElement *elem; in virtio_snd_handle_ctrl()
782 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_snd_handle_ctrl()
790 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_snd_handle_ctrl()
852 VirtQueueElement *elem; in virtio_snd_handle_tx_xfer()
870 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_snd_handle_tx_xfer()
933 VirtQueueElement *elem; in virtio_snd_handle_rx_xfer()
951 elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in virtio_snd_handle_rx_xfer()
/openbmc/qemu/qapi/
H A Dvirtio.json812 # Information regarding a VirtQueue's VirtQueueElement including
837 # Return the information about a VirtQueue's VirtQueueElement

12