Lines Matching defs:vq

1100 	struct virtqueue *vq = sc->vtnet_txqs[0].vtntx_vq;
1102 if_setsendqlen(ifp, virtqueue_size(vq) - 1);
1462 struct virtqueue *vq;
1471 vq = rxq->vtnrx_vq;
1474 for (nbufs = 0; !virtqueue_full(vq); nbufs++) {
1481 virtqueue_notify(vq);
1497 struct virtqueue *vq;
1507 vq = rxq->vtnrx_vq;
1510 while ((m = virtqueue_drain(vq, &last)) != NULL) {
1515 KASSERT(virtqueue_empty(vq),
1942 struct virtqueue *vq;
1946 vq = rxq->vtnrx_vq;
1953 m = virtqueue_dequeue(vq, &len);
2068 struct virtqueue *vq;
2072 vq = rxq->vtnrx_vq;
2084 m = virtqueue_dequeue(vq, &len);
2171 virtqueue_notify(vq);
2207 * This is not necessary to serialize the access to the RX vq, but
2297 struct virtqueue *vq;
2299 vq = txq->vtntx_vq;
2301 return (virtqueue_nfree(vq) <= txq->vtntx_intr_threshold);
2307 struct virtqueue *vq;
2309 vq = txq->vtntx_vq;
2312 virtqueue_notify(vq);
2323 virtqueue_disable_intr(vq);
2333 struct virtqueue *vq;
2343 vq = txq->vtntx_vq;
2346 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) {
2353 KASSERT(virtqueue_empty(vq),
2522 struct virtqueue *vq;
2528 vq = txq->vtntx_vq;
2555 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0);
2623 struct virtqueue *vq;
2628 vq = txq->vtntx_vq;
2643 if (virtqueue_full(vq))
2689 struct virtqueue *vq;
2695 vq = txq->vtntx_vq;
2722 if (virtqueue_full(vq)) {
2841 struct virtqueue *vq;
2846 vq = txq->vtntx_vq;
2850 while ((txhdr = virtqueue_dequeue(vq, NULL)) != NULL) {
2863 if (virtqueue_empty(vq))
3516 ("%s: ctrl vq %p not empty", __func__, sc->vtnet_ctrl_vq));
3523 struct virtqueue *vq;
3525 vq = sc->vtnet_ctrl_vq;
3530 if (!virtqueue_empty(vq))
3537 if (virtqueue_enqueue(vq, cookie, sg, readable, writable) == 0) {
3538 virtqueue_notify(vq);
3539 virtqueue_poll(vq, NULL);
4306 struct virtqueue *vq;
4308 vq = txq->vtntx_vq;
4311 return (virtqueue_postpone_intr(vq, VQ_POSTPONE_LONG));