Lines Matching refs:vq
224 static void lg_notify(struct virtqueue *vq)
230 struct lguest_vq_info *lvq = vq->priv;
250 void (*callback)(struct virtqueue *vq),
255 struct virtqueue *vq;
289 vq = vring_new_virtqueue(lvq->config.num, LGUEST_VRING_ALIGN,
291 if (!vq) {
300 dev_name(&vdev->dev), vq);
308 vq->priv = lvq;
309 return vq;
312 vring_del_virtqueue(vq);
322 static void lg_del_vq(struct virtqueue *vq)
324 struct lguest_vq_info *lvq = vq->priv;
327 free_irq(lvq->config.irq, vq);
329 vring_del_virtqueue(vq);
338 struct virtqueue *vq, *n;
340 list_for_each_entry_safe(vq, n, &vdev->vqs, list)
341 lg_del_vq(vq);