Lines Matching refs:dma_len
21 unsigned long dma_offset = 0, dma_len = 0;
46 BUG_ON(pdirp && (dma_len != sg_dma_len(dma_sg)));
50 dma_len = sg_dma_len(startsg);
105 unsigned long dma_offset, dma_len; /* start/len of DMA stream */
115 dma_len = startsg->length;
145 if(unlikely(ALIGN(dma_len + dma_offset + startsg->length,
149 if (startsg->length + dma_len > max_seg_size)
159 dma_len += startsg->length;
167 sg_dma_len(contig_sg) = dma_len;
168 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE);
171 | (iommu_alloc_range(ioc, dev, dma_len) << IOVP_SHIFT)