Lines Matching defs:indirect
102 /* Host supports indirect buffers */
103 bool indirect;
209 * If the host supports indirect descriptor tables, and we have multiple
210 * buffers, then go indirect. FIXME: tune this threshold
212 return (vq->indirect && total_sg > 1 && vq->vq.num_free);
429 bool indirect;
434 BUG_ON(ctx && vq->indirect);
451 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect);
456 indirect = true;
457 /* Set up rest to use this indirect table. */
461 indirect = false;
475 if (indirect)
510 if (indirect) {
511 /* Now that the indirect table is filled in, map it. */
531 if (indirect)
537 /* Store token and indirect buffer state. */
539 if (indirect)
570 if (indirect)
582 if (indirect)
646 if (vq->indirect) {
651 /* Free the indirect table, if any, now that it's unmapped. */
1024 /* Now that the indirect table is filled in, map it. */
1068 /* Store token and indirect buffer state. */
1113 BUG_ON(ctx && vq->indirect);
1138 WARN_ON_ONCE(total_sg > vq->packed.vring.num && !vq->indirect);
1316 if (vq->indirect) {
1319 /* Free the indirect table, if any, now that it's unmapped. */
1626 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC) &&
2105 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC) &&