Lines Matching refs:indirect
104 bool indirect; member
217 return (vq->indirect && total_sg > 1 && vq->vq.num_free); in virtqueue_use_indirect()
455 bool indirect) in virtqueue_add_desc_split() argument
465 if (!indirect) { in virtqueue_add_desc_split()
492 bool indirect; in virtqueue_add_split() local
497 BUG_ON(ctx && vq->indirect); in virtqueue_add_split()
514 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()
519 indirect = true; in virtqueue_add_split()
524 indirect = false; in virtqueue_add_split()
538 if (indirect) in virtqueue_add_split()
556 indirect); in virtqueue_add_split()
573 indirect); in virtqueue_add_split()
578 if (!indirect && vq->use_dma_api) in virtqueue_add_split()
582 if (indirect) { in virtqueue_add_split()
601 if (indirect) in virtqueue_add_split()
608 if (indirect) in virtqueue_add_split()
639 if (indirect) in virtqueue_add_split()
647 if (indirect) { in virtqueue_add_split()
654 if (indirect) in virtqueue_add_split()
717 if (vq->indirect) { in detach_buf_split()
1186 BUG_ON(ctx && vq->indirect); in virtqueue_add_packed()
1209 WARN_ON_ONCE(total_sg > vq->packed.vring.num && !vq->indirect); in virtqueue_add_packed()
1390 if (vq->indirect) { in detach_buf_packed()
1719 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC) && in vring_create_virtqueue_packed()
2207 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC) && in __vring_new_virtqueue()