Searched refs:dma_len (Results 1 – 3 of 3) sorted by relevance
256 sg->dma_len = 0;268 WARN_ON(sg->dma_len);270 sg->dma_len = ib_dma_map_sg(dev, sg->list, sg->len, DMA_BIDIRECTIONAL);271 if (unlikely(!sg->dma_len)) {280 for (i = 0; i < sg->dma_len; ++i) {281 unsigned int dma_len = ib_sg_dma_len(dev, &sg->list[i]); local285 sg->bytes += dma_len;287 end_addr = dma_addr + dma_len;294 if (i < sg->dma_len - 1)312 for (i = j = 0; i < sg->dma_len; ++i) {[all …]
390 unsigned int dma_len = ib_sg_dma_len(dev, &scat[i]); in rds_ib_map_fmr() local399 if ((dma_addr + dma_len) & ~PAGE_MASK) { in rds_ib_map_fmr()406 len += dma_len; in rds_ib_map_fmr()420 unsigned int dma_len = ib_sg_dma_len(dev, &scat[i]); in rds_ib_map_fmr() local423 for (j = 0; j < dma_len; j += PAGE_SIZE) in rds_ib_map_fmr()
57 int dma_len; member