Home
last modified time | relevance | path

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

/linux-5.19.10/tools/virtio/ !
Dvirtio_test.c27 struct vq_info { struct
42 struct vq_info vqs[1]; argument
55 struct vq_info *info = vq->priv; in vq_notify()
68 void vhost_vq_setup(struct vdev_info *dev, struct vq_info *info) in vhost_vq_setup()
98 static void vq_reset(struct vq_info *info, int num, struct virtio_device *vdev) in vq_reset()
113 struct vq_info *info = &dev->vqs[dev->nvqs]; in vq_info_add()
169 static void run_test(struct vdev_info *dev, struct vq_info *vq, in run_test()
/linux-5.19.10/drivers/vdpa/vdpa_user/ !
Dvduse_dev.c1026 struct vduse_vq_info vq_info; in vduse_dev_ioctl() local
1031 if (copy_from_user(&vq_info, argp, sizeof(vq_info))) in vduse_dev_ioctl()
1035 if (vq_info.index >= dev->vq_num) in vduse_dev_ioctl()
1038 index = array_index_nospec(vq_info.index, dev->vq_num); in vduse_dev_ioctl()
1040 vq_info.desc_addr = vq->desc_addr; in vduse_dev_ioctl()
1041 vq_info.driver_addr = vq->driver_addr; in vduse_dev_ioctl()
1042 vq_info.device_addr = vq->device_addr; in vduse_dev_ioctl()
1043 vq_info.num = vq->num; in vduse_dev_ioctl()
1046 vq_info.packed.last_avail_counter = in vduse_dev_ioctl()
1048 vq_info.packed.last_avail_idx = in vduse_dev_ioctl()
[all …]