Lines Matching refs:vq
923 struct virtqueue *vq;
928 vq = sc->vtblk_vq;
943 if (!virtqueue_empty(vq))
985 error = virtqueue_enqueue(vq, req, sg, readable, writable);
1047 struct virtqueue *vq;
1051 vq = sc->vtblk_vq;
1054 while ((req = virtqueue_drain(vq, &last)) != NULL) {
1060 KASSERT(virtqueue_empty(vq), ("virtqueue not empty"));
1098 struct virtqueue *vq;
1103 vq = sc->vtblk_vq;
1109 while (!virtqueue_full(vq)) {
1123 virtqueue_notify(vq);
1241 struct virtqueue *vq;
1244 vq = sc->vtblk_vq;
1246 if (!virtqueue_empty(vq))
1253 virtqueue_notify(vq);
1254 virtqueue_poll(vq, NULL);
1288 struct virtqueue *vq;
1292 vq = sc->vtblk_vq;
1304 if (virtqueue_enable_intr(vq) != 0) {
1305 virtqueue_disable_intr(vq);