Home
last modified time | relevance | path

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

/linux-5.19.10/tools/virtio/
Dvringh_test.c73 struct guest_virtio_device *gvdev; in parallel_notify_host() local
75 gvdev = container_of(vq->vdev, struct guest_virtio_device, vdev); in parallel_notify_host()
76 rc = write(gvdev->to_host_fd, "", 1); in parallel_notify_host()
79 gvdev->notifies++; in parallel_notify_host()
293 struct guest_virtio_device gvdev; in parallel_test() local
309 gvdev.vdev.features = features; in parallel_test()
310 INIT_LIST_HEAD(&gvdev.vdev.vqs); in parallel_test()
311 gvdev.to_host_fd = to_host[1]; in parallel_test()
312 gvdev.notifies = 0; in parallel_test()
318 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &gvdev.vdev, true, in parallel_test()
[all …]