Searched refs:vring_avail_idx (Results 1 – 3 of 3) sorted by relevance
367 static inline uint16_t vring_avail_idx(VirtQueue *vq) in vring_avail_idx() function514 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()
429 static inline uint16_t vring_avail_idx(VduseVirtq *vq) in vring_avail_idx() function536 return vring_avail_idx(vq) == vq->last_avail_idx; in vduse_queue_empty()
2334 vring_avail_idx(VuVirtq *vq) in vring_avail_idx() function2356 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()