Lines Matching refs:vq
28 static struct virtqueue *vq; variable
33 static void random_recv_done(struct virtqueue *vq) in random_recv_done() argument
36 if (!virtqueue_get_buf(vq, &data_avail)) in random_recv_done()
50 if (virtqueue_add_inbuf(vq, &sg, 1, buf, GFP_KERNEL) < 0) in register_buffer()
53 virtqueue_kick(vq); in register_buffer()
95 if (vq) { in probe_common()
100 vq = virtio_find_single_vq(vdev, random_recv_done, "input"); in probe_common()
101 if (IS_ERR(vq)) { in probe_common()
102 err = PTR_ERR(vq); in probe_common()
103 vq = NULL; in probe_common()
110 vq = NULL; in probe_common()
123 vq = NULL; in remove_common()