Home
last modified time | relevance | path

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

/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio.h64 struct VRingDesc { struct
74 typedef struct VRingDesc VRingDesc; argument
103 VRingDesc *desc;
H A Dvirtio.c117 vr->avail = p + info->num * sizeof(VRingDesc); in vring_init()
/openbmc/qemu/hw/virtio/
H A Dvirtio.c62 typedef struct VRingDesc struct
68 } VRingDesc; argument
296 vring->avail = vring->desc + vring->num * sizeof(VRingDesc); in virtio_queue_update_rings()
304 static void vring_split_desc_read(VirtIODevice *vdev, VRingDesc *desc, in vring_split_desc_read()
307 address_space_read_cached(cache, i * sizeof(VRingDesc), in vring_split_desc_read()
308 desc, sizeof(VRingDesc)); in vring_split_desc_read()
1227 static int virtqueue_split_read_next_desc(VirtIODevice *vdev, VRingDesc *desc, in virtqueue_split_read_next_desc()
1267 VRingDesc desc; in virtqueue_split_get_avail_bytes()
1280 if (!desc.len || (desc.len % sizeof(VRingDesc))) { in virtqueue_split_get_avail_bytes()
1301 max = desc.len / sizeof(VRingDesc); in virtqueue_split_get_avail_bytes()
[all …]