Searched refs:total_sg (Results 1 – 1 of 1) sorted by relevance
236 unsigned int total_sg) in virtqueue_use_indirect() argument242 return (vq->indirect && total_sg > 1 && vq->vq.num_free); in virtqueue_use_indirect()476 unsigned int total_sg, in alloc_indirect_split() argument490 size = sizeof(*desc) * total_sg + sizeof(*extra) * total_sg; in alloc_indirect_split()496 extra = (struct vring_desc_extra *)&desc[total_sg]; in alloc_indirect_split()498 for (i = 0; i < total_sg; i++) in alloc_indirect_split()531 unsigned int total_sg, in virtqueue_add_split() argument559 BUG_ON(total_sg == 0); in virtqueue_add_split()563 if (virtqueue_use_indirect(vq, total_sg)) in virtqueue_add_split()564 desc = alloc_indirect_split(_vq, total_sg, gfp); in virtqueue_add_split()[all …]