Lines Matching defs:vq
1026 struct virtqueue *vq;
1033 vq = sc->vtblk_vq;
1064 if (!virtqueue_empty(vq)) {
1139 error = virtqueue_enqueue(vq, req, sg, readable, writable);
1149 virtqueue_notify(vq);
1238 struct virtqueue *vq;
1242 vq = sc->vtblk_vq;
1245 while ((req = virtqueue_drain(vq, &last)) != NULL) {
1251 KASSERT(virtqueue_empty(vq), ("virtqueue not empty"));
1289 struct virtqueue *vq;
1294 vq = sc->vtblk_vq;
1300 while (!virtqueue_full(vq)) {
1313 virtqueue_notify(vq);
1432 struct virtqueue *vq;
1436 vq = sc->vtblk_vq;
1438 if (!virtqueue_empty(vq))
1445 virtqueue_notify(vq);
1446 req1 = virtqueue_poll(vq, NULL);
1485 struct virtqueue *vq;
1489 vq = sc->vtblk_vq;
1501 if (virtqueue_enable_intr(vq) != 0) {
1502 virtqueue_disable_intr(vq);