Home
last modified time | relevance | path

Searched refs:dma_len (Results 1 – 3 of 3) sorted by relevance

/net/rds/
Diw_rdma.c256 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]); local
285 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 …]
Dib_rdma.c390 unsigned int dma_len = ib_sg_dma_len(dev, &scat[i]); in rds_ib_map_fmr() local
399 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() local
423 for (j = 0; j < dma_len; j += PAGE_SIZE) in rds_ib_map_fmr()
Diw.h57 int dma_len; member