Lines Matching defs:vq
892 struct virtqueue *vq;
897 vq = sc->vtblk_vq;
912 if (!virtqueue_empty(vq))
938 error = virtqueue_enqueue(vq, req, sg, readable, writable);
1000 struct virtqueue *vq;
1004 vq = sc->vtblk_vq;
1007 while ((req = virtqueue_drain(vq, &last)) != NULL) {
1013 KASSERT(virtqueue_empty(vq), ("virtqueue not empty"));
1050 struct virtqueue *vq;
1055 vq = sc->vtblk_vq;
1061 while (!virtqueue_full(vq)) {
1075 virtqueue_notify(vq);
1171 struct virtqueue *vq;
1174 vq = sc->vtblk_vq;
1176 if (!virtqueue_empty(vq))
1183 virtqueue_notify(vq);
1184 virtqueue_poll(vq, NULL);
1218 struct virtqueue *vq;
1222 vq = sc->vtblk_vq;
1234 if (virtqueue_enable_intr(vq) != 0) {
1235 virtqueue_disable_intr(vq);