Searched refs:total_sg (Results 1 – 1 of 1) sorted by relevance
204 unsigned int total_sg) in virtqueue_use_indirect() argument212 return (vq->indirect && total_sg > 1 && vq->vq.num_free); in virtqueue_use_indirect()393 unsigned int total_sg, in alloc_indirect_split() argument406 desc = kmalloc_array(total_sg, sizeof(struct vring_desc), gfp); in alloc_indirect_split()410 for (i = 0; i < total_sg; i++) in alloc_indirect_split()417 unsigned int total_sg, in virtqueue_add_split() argument443 BUG_ON(total_sg == 0); in virtqueue_add_split()447 if (virtqueue_use_indirect(_vq, total_sg)) in virtqueue_add_split()448 desc = alloc_indirect_split(_vq, total_sg, gfp); in virtqueue_add_split()451 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()[all …]