Searched refs:last_sg (Results 1 – 4 of 4) sorted by relevance
591 struct scatterlist *last_sg = sg; in sg_fill() local610 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill()611 last_sg->length, npages); in sg_fill()612 while (++last_sg <= sg) { in sg_fill()614 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill()615 last_sg->length); in sg_fill()
57 umem_dmabuf->last_sg = sg; in ib_umem_dmabuf_map_pages()102 if (umem_dmabuf->last_sg) { in ib_umem_dmabuf_unmap_pages()103 sg_dma_len(umem_dmabuf->last_sg) += in ib_umem_dmabuf_unmap_pages()105 umem_dmabuf->last_sg = NULL; in ib_umem_dmabuf_unmap_pages()
152 bool last_sg; member529 if (sgreq->last_sg) { in tegra_dma_abort_all()582 if (sgreq->last_sg) { in handle_once_dma_done()1132 sg_req->last_sg = false; in tegra_dma_prep_slave_sg()1138 sg_req->last_sg = true; in tegra_dma_prep_slave_sg()1267 sg_req->last_sg = false; in tegra_dma_prep_dma_cyclic()1275 sg_req->last_sg = true; in tegra_dma_prep_dma_cyclic()
1754 struct mv_sg *mv_sg, *last_sg = NULL; in mv_fill_sg() local1777 last_sg = mv_sg; in mv_fill_sg()1782 if (likely(last_sg)) in mv_fill_sg()1783 last_sg->flags_size |= cpu_to_le32(EPRD_FLAG_END_OF_TBL); in mv_fill_sg()