Home
last modified time | relevance | path

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

/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()
/qemu/hw/virtio/
H A Dvirtio.c62 typedef struct VRingDesc struct
68 } VRingDesc; argument
305 vring->avail = vring->desc + vring->num * sizeof(VRingDesc); in virtio_queue_update_rings()
313 static void vring_split_desc_read(VirtIODevice *vdev, VRingDesc *desc, in vring_split_desc_read()
316 address_space_read_cached(cache, i * sizeof(VRingDesc), in vring_split_desc_read()
317 desc, sizeof(VRingDesc)); in vring_split_desc_read()
1236 static int virtqueue_split_read_next_desc(VirtIODevice *vdev, VRingDesc *desc, in virtqueue_split_read_next_desc()
1276 VRingDesc desc; in virtqueue_split_get_avail_bytes()
1289 if (!desc.len || (desc.len % sizeof(VRingDesc))) { in virtqueue_split_get_avail_bytes()
1310 max = desc.len / sizeof(VRingDesc); in virtqueue_split_get_avail_bytes()
[all …]