Lines Matching refs:vhost_virtqueue
54 struct vhost_virtqueue { struct
121 struct vhost_virtqueue *vqs; argument
130 long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue *vqs, int nvqs);
135 int vhost_vq_access_ok(struct vhost_virtqueue *vq);
138 int vhost_get_vq_desc(struct vhost_dev *, struct vhost_virtqueue *,
142 void vhost_discard_vq_desc(struct vhost_virtqueue *, int n);
144 int vhost_add_used(struct vhost_virtqueue *, unsigned int head, int len);
145 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads,
147 void vhost_add_used_and_signal(struct vhost_dev *, struct vhost_virtqueue *,
149 void vhost_add_used_and_signal_n(struct vhost_dev *, struct vhost_virtqueue *,
151 void vhost_signal(struct vhost_dev *, struct vhost_virtqueue *);
152 void vhost_disable_notify(struct vhost_virtqueue *);
153 bool vhost_enable_notify(struct vhost_virtqueue *);
155 int vhost_log_write(struct vhost_virtqueue *vq, struct vhost_log *log,