Home
last modified time | relevance | path

Searched refs:vring_avail_idx (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvirtio.c367 static inline uint16_t vring_avail_idx(VirtQueue *vq) in vring_avail_idx() function
514 vring_set_avail_event(vq, vring_avail_idx(vq)); in virtio_queue_split_set_notification()
687 return vring_avail_idx(vq) == vq->last_avail_idx; in virtio_queue_empty_rcu()
707 empty = vring_avail_idx(vq) == vq->last_avail_idx; in virtio_queue_split_empty()
753 return (uint16_t)shadow_idx != vring_avail_idx(vq); in virtio_queue_split_poll()
1178 : vring_avail_idx(vq); in virtqueue_num_heads()
3361 nheads = vring_avail_idx(&vdev->vq[i]) - vdev->vq[i].last_avail_idx; in virtio_load()
3367 vring_avail_idx(&vdev->vq[i]), in virtio_load()
3375 vdev->vq[i].shadow_avail_idx = vring_avail_idx(&vdev->vq[i]); in virtio_load()
4328 element->avail->idx = vring_avail_idx(vq); in qmp_x_query_virtio_queue_element()
/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.c429 static inline uint16_t vring_avail_idx(VduseVirtq *vq) in vring_avail_idx() function
536 return vring_avail_idx(vq) == vq->last_avail_idx; in vduse_queue_empty()
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c2334 vring_avail_idx(VuVirtq *vq) in vring_avail_idx() function
2356 uint16_t num_heads = vring_avail_idx(vq) - idx; in virtqueue_num_heads()
2584 return vring_avail_idx(vq) == vq->last_avail_idx; in vu_queue_empty()
2713 vring_set_avail_event(vq, vring_avail_idx(vq)); in vu_queue_set_notification()