/linux-6.6.21/drivers/infiniband/core/ |
D | umem_dmabuf.c | 54 umem_dmabuf->last_sg = sg; in ib_umem_dmabuf_map_pages() 99 if (umem_dmabuf->last_sg) { in ib_umem_dmabuf_unmap_pages() 100 sg_dma_len(umem_dmabuf->last_sg) += in ib_umem_dmabuf_unmap_pages() 102 umem_dmabuf->last_sg = NULL; in ib_umem_dmabuf_unmap_pages()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | pci_iommu.c | 601 struct scatterlist *last_sg = sg; in sg_fill() local 620 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill() 621 last_sg->length, npages); in sg_fill() 622 while (++last_sg <= sg) { in sg_fill() 624 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill() 625 last_sg->length); in sg_fill()
|
/linux-6.6.21/drivers/dma/ |
D | fsl-edma-common.c | 583 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_dma_cyclic() local 619 last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; in fsl_edma_prep_dma_cyclic() 641 iter, doff, last_sg, major_int, false, true); in fsl_edma_prep_dma_cyclic() 656 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_slave_sg() local 727 last_sg = fsl_desc->tcd[(i + 1)].ptcd; in fsl_edma_prep_slave_sg() 730 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg() 733 last_sg = 0; in fsl_edma_prep_slave_sg() 736 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg()
|
D | tegra20-apb-dma.c | 152 bool last_sg; member 529 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()
|
/linux-6.6.21/drivers/crypto/chelsio/ |
D | chcr_crypto.h | 201 struct scatterlist *last_sg; member 209 struct scatterlist *last_sg; member
|
D | chcr_algo.c | 459 walk->last_sg = sg; in dsgl_walk_add_sg() 476 walk->last_sg = NULL; in ulptx_walk_init() 536 walk->last_sg = sg; in ulptx_walk_add_sg() 557 walk->last_sg = sg; in ulptx_walk_add_sg() 2743 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent() 2765 reqctx->dstsg = dsgl_walk.last_sg; in chcr_add_cipher_dst_ent() 2795 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()
|
/linux-6.6.21/block/ |
D | blk-merge.c | 568 struct scatterlist *sglist, struct scatterlist **last_sg) in __blk_rq_map_sg() argument 573 nsegs = __blk_bvec_map_sg(rq->special_vec, sglist, last_sg); in __blk_rq_map_sg() 575 nsegs = __blk_bios_map_sg(q, rq->bio, sglist, last_sg); in __blk_rq_map_sg() 577 if (*last_sg) in __blk_rq_map_sg() 578 sg_mark_end(*last_sg); in __blk_rq_map_sg()
|
/linux-6.6.21/include/linux/ |
D | blk-mq.h | 1138 struct scatterlist *sglist, struct scatterlist **last_sg); 1142 struct scatterlist *last_sg = NULL; in blk_rq_map_sg() local 1144 return __blk_rq_map_sg(q, rq, sglist, &last_sg); in blk_rq_map_sg()
|
/linux-6.6.21/drivers/scsi/ |
D | scsi_lib.c | 1023 struct scatterlist *last_sg = NULL; in scsi_alloc_sgtables() local 1049 count = __blk_rq_map_sg(rq->q, rq, cmd->sdb.table.sgl, &last_sg); in scsi_alloc_sgtables() 1055 last_sg->length += pad_len; in scsi_alloc_sgtables() 1060 sg_unmark_end(last_sg); in scsi_alloc_sgtables() 1061 last_sg = sg_next(last_sg); in scsi_alloc_sgtables() 1062 sg_set_buf(last_sg, sdev->dma_drain_buf, sdev->dma_drain_len); in scsi_alloc_sgtables() 1063 sg_mark_end(last_sg); in scsi_alloc_sgtables()
|
/linux-6.6.21/include/rdma/ |
D | ib_umem.h | 36 struct scatterlist *last_sg; member
|
/linux-6.6.21/drivers/usb/dwc3/ |
D | gadget.c | 1455 bool last_sg = false; in dwc3_prepare_trbs_sg() local 1469 last_sg = true; in dwc3_prepare_trbs_sg() 1474 if (last_sg) { in dwc3_prepare_trbs_sg() 1510 if (!last_sg) in dwc3_prepare_trbs_sg()
|
/linux-6.6.21/drivers/spi/ |
D | spi-imx.c | 1411 struct scatterlist *last_sg = sg_last(rx->sgl, rx->nents); in spi_imx_dma_transfer() local 1418 if (!(sg_dma_len(last_sg) % (i * bytes_per_word))) in spi_imx_dma_transfer()
|
/linux-6.6.21/drivers/ata/ |
D | sata_mv.c | 1785 struct mv_sg *mv_sg, *last_sg = NULL; in mv_fill_sg() local 1808 last_sg = mv_sg; in mv_fill_sg() 1813 if (likely(last_sg)) in mv_fill_sg() 1814 last_sg->flags_size |= cpu_to_le32(EPRD_FLAG_END_OF_TBL); in mv_fill_sg()
|