Lines Matching refs:vring_desc
72 struct vring_desc *indir_desc; /* Indirect descriptor, if any. */
420 struct vring_desc *desc) in vring_unmap_one_split_indirect()
465 static struct vring_desc *alloc_indirect_split(struct virtqueue *_vq, in alloc_indirect_split()
469 struct vring_desc *desc; in alloc_indirect_split()
479 desc = kmalloc_array(total_sg, sizeof(struct vring_desc), gfp); in alloc_indirect_split()
489 struct vring_desc *desc, in virtqueue_add_desc_split()
528 struct vring_desc *desc; in virtqueue_add_split()
624 vq, desc, total_sg * sizeof(struct vring_desc), in virtqueue_add_split()
631 total_sg * sizeof(struct vring_desc), in virtqueue_add_split()
757 struct vring_desc *indir_desc = in detach_buf_split()
769 BUG_ON(len == 0 || len % sizeof(struct vring_desc)); in detach_buf_split()
771 for (j = 0; j < len / sizeof(struct vring_desc); j++) in detach_buf_split()