Searched refs:virtqueue_get_head (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 2374 virtqueue_get_head(VuDev *dev, VuVirtq *vq, in virtqueue_get_head() function 2474 if (!virtqueue_get_head(dev, vq, idx++, &i)) { in vu_queue_get_avail_bytes() 2970 if (!virtqueue_get_head(dev, vq, vq->last_avail_idx++, &head)) { in vu_queue_pop()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 1204 static bool virtqueue_get_head(VirtQueue *vq, unsigned int idx, in virtqueue_get_head() function 1273 if (!virtqueue_get_head(vq, idx++, &i)) { in virtqueue_split_get_avail_bytes() 1708 if (!virtqueue_get_head(vq, vq->last_avail_idx++, &head)) { in virtqueue_split_pop() 2045 if (!virtqueue_get_head(vq, vq->last_avail_idx, &elem.index)) { in virtqueue_split_drop_all()
|