Home
last modified time | relevance | path

Searched refs:shadow_avail_idx (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvhost-shadow-virtqueue.c209 avail_idx = svq->shadow_avail_idx & (svq->vring.num - 1); in vhost_svq_add_split()
211 svq->shadow_avail_idx++; in vhost_svq_add_split()
215 avail->idx = cpu_to_le16(svq->shadow_avail_idx); in vhost_svq_add_split()
232 … needs_kick = vring_need_event(avail_event, svq->shadow_avail_idx, svq->shadow_avail_idx - 1); in vhost_svq_kick()
664 svq->shadow_avail_idx = 0; in vhost_svq_start()
H A Dvirtio.c130 uint16_t shadow_avail_idx; member
377 return vq->shadow_avail_idx; in vring_avail_idx()
1177 avail_idx = (vq->shadow_avail_idx != idx) ? vq->shadow_avail_idx in virtqueue_num_heads()
1482 vq->shadow_avail_idx = idx; in virtqueue_packed_get_avail_bytes()
1534 return (int)vq->shadow_avail_idx; in virtqueue_get_avail_bytes()
1954 vq->shadow_avail_idx = vq->last_avail_idx; in virtqueue_packed_pop()
2273 vdev->vq[i].shadow_avail_idx = 0; in __virtio_queue_reset()
2464 vq->shadow_avail_idx = shadow_avail_idx & 0x7FFF; in virtio_queue_set_shadow_avail_idx()
2466 vq->shadow_avail_idx = shadow_avail_idx; in virtio_queue_set_shadow_avail_idx()
3623 vdev->vq[n].shadow_avail_idx = idx; in virtio_queue_split_set_last_avail_idx()
[all …]
H A Dvhost-shadow-virtqueue.h100 uint16_t shadow_avail_idx; member
H A Dvirtio-hmp-cmds.c250 s->shadow_avail_idx); in hmp_virtio_queue_status()
/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.c99 uint16_t shadow_avail_idx; member
256 vq->shadow_avail_idx = vq->last_avail_idx = vq->inuse + vq->used_idx; in vduse_queue_check_inflights()
431 vq->shadow_avail_idx = le16toh(vq->vring.avail->idx); in vring_avail_idx()
433 return vq->shadow_avail_idx; in vring_avail_idx()
532 if (vq->shadow_avail_idx != vq->last_avail_idx) { in vduse_queue_empty()
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c1244 vq->shadow_avail_idx = vq->last_avail_idx = vq->used_idx; in vu_set_vring_addr_exec()
1259 dev->vq[index].shadow_avail_idx = dev->vq[index].last_avail_idx = num; in vu_set_vring_base_exec()
1369 vq->shadow_avail_idx = vq->last_avail_idx = vq->inuse + vq->used_idx; in vu_check_queue_inflights()
2336 vq->shadow_avail_idx = le16toh(vq->vring.avail->idx); in vring_avail_idx()
2338 return vq->shadow_avail_idx; in vring_avail_idx()
2361 idx, vq->shadow_avail_idx); in virtqueue_num_heads()
2580 if (vq->shadow_avail_idx != vq->last_avail_idx) { in vu_queue_empty()
H A Dlibvhost-user.h353 uint16_t shadow_avail_idx; member
/openbmc/qemu/qapi/
H A Dvirtio.json527 # @shadow-avail-idx: VirtQueue shadow_avail_idx
572 # shadow_avail_idx will not be displayed in the case where the