Lines Matching refs:descs_used
556 unsigned int i, n, avail, descs_used, prev, err_idx; in virtqueue_add_split() local
588 descs_used = 1; in virtqueue_add_split()
593 descs_used = total_sg; in virtqueue_add_split()
596 if (unlikely(vq->vq.num_free < descs_used)) { in virtqueue_add_split()
598 descs_used, vq->vq.num_free); in virtqueue_add_split()
670 vq->vq.num_free -= descs_used; in virtqueue_add_split()
1413 unsigned int i, n, c, descs_used, err_idx; in virtqueue_add_packed() local
1450 descs_used = total_sg; in virtqueue_add_packed()
1452 if (unlikely(vq->vq.num_free < descs_used)) { in virtqueue_add_packed()
1454 descs_used, vq->vq.num_free); in virtqueue_add_packed()
1506 vq->vq.num_free -= descs_used; in virtqueue_add_packed()
1513 vq->packed.desc_state[id].num = descs_used; in virtqueue_add_packed()
1525 vq->num_added += descs_used; in virtqueue_add_packed()