Searched refs:uelem (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/subprojects/libvduse/ |
H A D | libvduse.c | 796 struct vring_used_elem *uelem, int i) in vring_used_write() argument 800 used->ring[i] = *uelem; in vring_used_write() 806 struct vring_used_elem uelem; in vduse_queue_fill() local 814 uelem.id = htole32(elem->index); in vduse_queue_fill() 815 uelem.len = htole32(len); in vduse_queue_fill() 816 vring_used_write(vq, &uelem, idx); in vduse_queue_fill()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 400 static inline void vring_used_write(VirtQueue *vq, VRingUsedElem *uelem, in vring_used_write() argument 410 virtio_tswap32s(vq->vdev, &uelem->id); in vring_used_write() 411 virtio_tswap32s(vq->vdev, &uelem->len); in vring_used_write() 908 VRingUsedElem uelem; in virtqueue_split_fill() local 916 uelem.id = elem->index; in virtqueue_split_fill() 917 uelem.len = len; in virtqueue_split_fill() 918 vring_used_write(vq, &uelem, idx); in virtqueue_split_fill() 1087 VRingUsedElem uelem; in virtqueue_ordered_flush() local 1113 uelem.id = vq->used_elems[i].index; in virtqueue_ordered_flush() 1114 uelem.len = vq->used_elems[i].len; in virtqueue_ordered_flush() [all …]
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 3020 struct vring_used_elem *uelem, int i) in vring_used_write() argument 3024 used->ring[i] = *uelem; in vring_used_write() 3095 struct vring_used_elem uelem; in vu_queue_fill() local 3105 uelem.id = htole32(elem->index); in vu_queue_fill() 3106 uelem.len = htole32(len); in vu_queue_fill() 3107 vring_used_write(dev, vq, &uelem, idx); in vu_queue_fill()
|