Searched refs:vring_avail_ring (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/subprojects/libvduse/ |
H A D | libvduse.c | 436 static inline uint16_t vring_avail_ring(VduseVirtq *vq, int i) in vring_avail_ring() function 443 return vring_avail_ring(vq, vq->vring.num); in vring_get_used_event() 453 *head = vring_avail_ring(vq, idx % vq->vring.num); in vduse_queue_get_head()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 381 static inline uint16_t vring_avail_ring(VirtQueue *vq, int i) in vring_avail_ring() function 396 return vring_avail_ring(vq, vq->vring.num); in vring_get_used_event() 1209 *head = vring_avail_ring(vq, idx % vq->vring.num); in virtqueue_get_head() 4300 head = vring_avail_ring(vq, vq->last_avail_idx % vq->vring.num); in qmp_x_query_virtio_queue_element() 4302 head = vring_avail_ring(vq, index % vq->vring.num); in qmp_x_query_virtio_queue_element()
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 2342 vring_avail_ring(VuVirtq *vq, int i) in vring_avail_ring() function 2350 return vring_avail_ring(vq, vq->vring.num); in vring_get_used_event() 2379 *head = vring_avail_ring(vq, idx % vq->vring.num); in virtqueue_get_head()
|