Displaying 2 results from an estimated 2 matches for "vhost_vring_s".
Did you mean:
vhost_vring_
2009 Nov 17
0
No subject
...t_vring(struct vhost_dev *d, int ioctl, void __user *a=
rgp)
+{
+ struct file *eventfp, *filep =3D NULL,
+ *pollstart =3D NULL, *pollstop =3D NULL;
+ struct eventfd_ctx *ctx =3D NULL;
+ u32 __user *idxp =3D argp;
+ struct vhost_virtqueue *vq;
+ struct vhost_vring_state s;
+ struct vhost_vring_file f;
+ struct vhost_vring_addr a;
+ u32 idx;
+ long r;
+
+ r =3D get_user(idx, idxp);
+ if (r < 0)
+ return r;
+ if (idx > d->nvqs)
+ return -ENOBUFS;
+
+ vq =3D d->vqs + idx;
+
+...
2009 Nov 17
0
No subject
...t_vring(struct vhost_dev *d, int ioctl, void __user *a=
rgp)
+{
+ struct file *eventfp, *filep =3D NULL,
+ *pollstart =3D NULL, *pollstop =3D NULL;
+ struct eventfd_ctx *ctx =3D NULL;
+ u32 __user *idxp =3D argp;
+ struct vhost_virtqueue *vq;
+ struct vhost_vring_state s;
+ struct vhost_vring_file f;
+ struct vhost_vring_addr a;
+ u32 idx;
+ long r;
+
+ r =3D get_user(idx, idxp);
+ if (r < 0)
+ return r;
+ if (idx > d->nvqs)
+ return -ENOBUFS;
+
+ vq =3D d->vqs + idx;
+
+...