Searched refs:total_sg (Results 1 – 1 of 1) sorted by relevance
245 unsigned int total_sg) in virtqueue_use_indirect() argument251 return (vq->indirect && total_sg > 1 && vq->vq.num_free); in virtqueue_use_indirect()493 unsigned int total_sg, in alloc_indirect_split() argument506 desc = kmalloc_array(total_sg, sizeof(struct vring_desc), gfp); in alloc_indirect_split()510 for (i = 0; i < total_sg; i++) in alloc_indirect_split()546 unsigned int total_sg, in virtqueue_add_split() argument572 BUG_ON(total_sg == 0); in virtqueue_add_split()576 if (virtqueue_use_indirect(vq, total_sg)) in virtqueue_add_split()577 desc = alloc_indirect_split(_vq, total_sg, gfp); in virtqueue_add_split()580 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()[all …]