Lines Matching refs:sge
346 struct rxe_sge *sge = &dma->sge[dma->cur_sge]; in copy_data() local
361 if (sge->length && (offset < sge->length)) { in copy_data()
362 mr = lookup_mr(pd, access, sge->lkey, RXE_LOOKUP_LOCAL); in copy_data()
372 if (offset >= sge->length) { in copy_data()
377 sge++; in copy_data()
386 if (sge->length) { in copy_data()
387 mr = lookup_mr(pd, access, sge->lkey, in copy_data()
398 if (bytes > sge->length - offset) in copy_data()
399 bytes = sge->length - offset; in copy_data()
402 iova = sge->addr + offset; in copy_data()
590 struct rxe_sge *sge = &dma->sge[dma->cur_sge]; in advance_dma_data() local
597 if (offset >= sge->length) { in advance_dma_data()
598 sge++; in advance_dma_data()
607 if (bytes > sge->length - offset) in advance_dma_data()
608 bytes = sge->length - offset; in advance_dma_data()