/openbmc/qemu/include/hw/virtio/ |
H A D | virtio.h | 39 struct VirtQueue; 61 typedef struct VirtQueue VirtQueue; typedef 133 VirtQueue *vq; 163 QLIST_HEAD(, VirtQueue) *vector_queues; 255 void virtio_delete_queue(VirtQueue *vq); 269 void *virtqueue_pop(VirtQueue *vq, size_t sz); 270 unsigned int virtqueue_drop_all(VirtQueue *vq); 312 int virtio_queue_ready(VirtQueue *vq); 314 int virtio_queue_empty(VirtQueue *vq); 408 uint16_t virtio_get_queue_index(VirtQueue *vq); [all …]
|
H A D | vhost-vsock-common.h | 34 VirtQueue *event_vq; 35 VirtQueue *recv_vq; 36 VirtQueue *trans_vq;
|
H A D | virtio-crypto.h | 73 VirtQueue *vq; 79 VirtQueue *dataq; 87 VirtQueue *ctrl_vq;
|
H A D | virtio-scsi.h | 73 VirtQueue *ctrl_vq; 74 VirtQueue *event_vq; 75 VirtQueue **cmd_vqs;
|
H A D | vhost-user-scmi.h | 25 VirtQueue *cmd_vq; 26 VirtQueue *event_vq;
|
H A D | virtio-serial.h | 102 VirtQueue *ivq, *ovq; 172 VirtQueue *c_ivq, *c_ovq; 174 VirtQueue **ivqs, **ovqs;
|
H A D | vhost-user-fs.h | 40 VirtQueue **req_vqs; 41 VirtQueue *hiprio_vq;
|
H A D | virtio-iommu.h | 55 VirtQueue *req_vq; 56 VirtQueue *event_vq;
|
H A D | virtio-blk.h | 83 VirtQueue *vq; 103 void virtio_blk_handle_vq(VirtIOBlock *s, VirtQueue *vq);
|
H A D | virtio-net.h | 155 VirtQueue *rx_vq; 156 VirtQueue *tx_vq; 171 VirtQueue *ctrl_vq;
|
H A D | virtio-gpu.h | 131 VirtQueue *vq; 183 VirtQueue *ctrl_vq; 184 VirtQueue *cursor_vq; 219 void (*handle_ctrl)(VirtIODevice *vdev, VirtQueue *vq);
|
H A D | virtio-pmem.h | 32 VirtQueue *rq_vq;
|
H A D | vhost-user-blk.h | 41 VirtQueue **virtqs;
|
H A D | virtio-rng.h | 35 VirtQueue *vq;
|
H A D | vdpa-dev.h | 35 VirtQueue **virtqs;
|
H A D | virtio-balloon.h | 45 VirtQueue *ivq, *dvq, *svq, *free_page_vq, *reporting_vq;
|
H A D | virtio-mem.h | 42 VirtQueue *vq;
|
/openbmc/qemu/qapi/ |
H A D | virtio.json | 504 # the VirtQueue data structure. 508 # @queue-index: VirtQueue queue_index 510 # @inuse: VirtQueue inuse 512 # @vring-num: VirtQueue vring.num 516 # @vring-align: VirtQueue vring.align 527 # @shadow-avail-idx: VirtQueue shadow_avail_idx 529 # @used-idx: VirtQueue used_idx 531 # @signalled-used: VirtQueue signalled_used 560 # @queue: VirtQueue index to examine 566 # Returns: VirtQueueStatus of the VirtQueue [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 120 struct VirtQueue struct 155 QLIST_ENTRY(VirtQueue) node; argument 2402 VirtQueue *virtio_vector_next_queue(VirtQueue *vq) in virtio_vector_next_queue() 2665 VirtQueue *vq = container_of(notifier, VirtQueue, guest_notifier); in virtio_notify_irqfd_deferred_fn() 3702 VirtQueue *vq = container_of(n, VirtQueue, guest_notifier); in virtio_queue_guest_notifier_read() 3755 VirtQueue *vq = container_of(n, VirtQueue, host_notifier); in virtio_queue_host_notifier_aio_poll_begin() 3763 VirtQueue *vq = container_of(n, VirtQueue, host_notifier); in virtio_queue_host_notifier_aio_poll() 3770 VirtQueue *vq = container_of(n, VirtQueue, host_notifier); in virtio_queue_host_notifier_aio_poll_ready() 3777 VirtQueue *vq = container_of(n, VirtQueue, host_notifier); in virtio_queue_host_notifier_aio_poll_end() 3856 VirtQueue *vq = container_of(n, VirtQueue, host_notifier); in virtio_queue_host_notifier_read() [all …]
|
H A D | vhost-shadow-virtqueue.h | 73 VirtQueue *vq; 133 VirtQueue *vq, VhostIOVATree *iova_tree);
|
H A D | virtio-balloon.c | 326 static void virtio_balloon_handle_report(VirtIODevice *vdev, VirtQueue *vq) in virtio_balloon_handle_report() 387 static void virtio_balloon_handle_output(VirtIODevice *vdev, VirtQueue *vq) in virtio_balloon_handle_output() 446 static void virtio_balloon_receive_stats(VirtIODevice *vdev, VirtQueue *vq) in virtio_balloon_receive_stats() 492 VirtQueue *vq) in virtio_balloon_handle_free_page_vq() 502 VirtQueue *vq = dev->free_page_vq; in get_free_page_hints() 555 VirtQueue *vq = dev->free_page_vq; in virtio_ballloon_get_free_page_hints()
|
/openbmc/qemu/include/hw/audio/ |
H A D | virtio-snd.h | 107 VirtQueue *vq; 216 VirtQueue *queues[VIRTIO_SND_VQ_MAX]; 244 VirtQueue *vq;
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 54 static VirtIOSerialPort *find_port_by_vq(VirtIOSerial *vser, VirtQueue *vq) in find_port_by_vq() 104 VirtQueue *vq; in write_to_port() 133 static void discard_vq_data(VirtQueue *vq, VirtIODevice *vdev) in discard_vq_data() 160 static void do_flush_queued_data(VirtIOSerialPort *port, VirtQueue *vq, in do_flush_queued_data() 227 VirtQueue *vq; in send_control_msg() 310 VirtQueue *vq = port->ivq; in virtio_serial_guest_ready() 454 static void control_in(VirtIODevice *vdev, VirtQueue *vq) in control_in() 458 static void control_out(VirtIODevice *vdev, VirtQueue *vq) in control_out() 499 static void handle_output(VirtIODevice *vdev, VirtQueue *vq) in handle_output() 518 static void handle_input(VirtIODevice *vdev, VirtQueue *vq) in handle_input() [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | virtio-scsi.c | 43 VirtQueue *vq; 108 VirtQueue *vq = req->vq; in virtio_scsi_complete_req() 238 static VirtIOSCSIReq *virtio_scsi_pop_req(VirtIOSCSI *s, VirtQueue *vq) in virtio_scsi_pop_req() 610 static void virtio_scsi_handle_ctrl_vq(VirtIOSCSI *s, VirtQueue *vq) in virtio_scsi_handle_ctrl_vq() 637 static void virtio_scsi_handle_ctrl(VirtIODevice *vdev, VirtQueue *vq) in virtio_scsi_handle_ctrl() 834 static void virtio_scsi_handle_cmd_vq(VirtIOSCSI *s, VirtQueue *vq) in virtio_scsi_handle_cmd_vq() 874 static void virtio_scsi_handle_cmd(VirtIODevice *vdev, VirtQueue *vq) in virtio_scsi_handle_cmd() 1012 static void virtio_scsi_handle_event_vq(VirtIOSCSI *s, VirtQueue *vq) in virtio_scsi_handle_event_vq() 1143 VirtQueue *vq = virtio_get_queue(vdev, i); in virtio_scsi_drained_begin() 1169 VirtQueue *vq = virtio_get_queue(vdev, i); in virtio_scsi_drained_end() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | virtio-9p.h | 11 VirtQueue *vq;
|