Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/fuzz/
H A Dvirtio_scsi_fuzz.c90 vq_action vqa; in virtio_scsi_fuzz() local
93 memcpy(&vqa, Data, sizeof(vqa)); in virtio_scsi_fuzz()
98 vqa.queue = vqa.queue % queues->num_queues; in virtio_scsi_fuzz()
100 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_scsi_fuzz()
101 vqa.write = vqa.write & 1; in virtio_scsi_fuzz()
102 vqa.next = vqa.next & 1; in virtio_scsi_fuzz()
103 vqa.kick = vqa.kick & 1; in virtio_scsi_fuzz()
113 free_head[vqa.queue] = qvirtqueue_add(s, q, req_addr, vqa.length, in virtio_scsi_fuzz()
114 vqa.write, vqa.next); in virtio_scsi_fuzz()
116 qvirtqueue_add(s, q, req_addr, vqa.length, vqa.write , vqa.next); in virtio_scsi_fuzz()
[all …]
H A Dvirtio_blk_fuzz.c87 vq_action vqa; in virtio_blk_fuzz() local
90 memcpy(&vqa, Data, sizeof(vqa)); in virtio_blk_fuzz()
95 vqa.queue = vqa.queue % queues->num_queues; in virtio_blk_fuzz()
97 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_blk_fuzz()
98 vqa.write = vqa.write & 1; in virtio_blk_fuzz()
99 vqa.next = vqa.next & 1; in virtio_blk_fuzz()
100 vqa.kick = vqa.kick & 1; in virtio_blk_fuzz()
109 free_head[vqa.queue] = qvirtqueue_add(s, q, req_addr, vqa.length, in virtio_blk_fuzz()
110 vqa.write, vqa.next); in virtio_blk_fuzz()
112 qvirtqueue_add(s, q, req_addr, vqa.length, vqa.write , vqa.next); in virtio_blk_fuzz()
[all …]
H A Dvirtio_net_fuzz.c48 vq_action vqa; in virtio_net_fuzz_multi() local
49 while (Size >= sizeof(vqa)) { in virtio_net_fuzz_multi()
50 memcpy(&vqa, Data, sizeof(vqa)); in virtio_net_fuzz_multi()
51 Data += sizeof(vqa); in virtio_net_fuzz_multi()
52 Size -= sizeof(vqa); in virtio_net_fuzz_multi()
56 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_net_fuzz_multi()
66 vqa.rx = 0; in virtio_net_fuzz_multi()
76 vqa.write, vqa.next); in virtio_net_fuzz_multi()
77 qvirtqueue_add(s, q, req_addr, vqa.length, vqa.write , vqa.next); in virtio_net_fuzz_multi()
112 Data += vqa.length; in virtio_net_fuzz_multi()
[all …]