/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 140 vmw_tt->sgt.nents = vmw_tt->sgt.orig_nents;
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 649 if (vma->pages->nents > expected_pages) { 650 pr_err("sg table is wrong sizeo, expected %u, found %u nents\n", 651 expected_pages, vma->pages->nents);
|
/linux-master/drivers/spi/ |
H A D | spi-img-spfi.c | 331 xfer->rx_sg.nents, 355 xfer->tx_sg.nents,
|
H A D | spi-uniphier.c | 419 t->rx_sg.sgl, t->rx_sg.nents, 446 t->tx_sg.sgl, t->tx_sg.nents,
|
H A D | spi-stm32-qspi.c | 240 desc = dmaengine_prep_slave_sg(dma_ch, sgt.sgl, sgt.nents, 261 t_out = sgt.nents * STM32_COMP_TIMEOUT_MS;
|
H A D | spi-rockchip.c | 461 xfer->rx_sg.sgl, xfer->rx_sg.nents, 483 xfer->tx_sg.sgl, xfer->tx_sg.nents,
|
H A D | spi-fsl-lpspi.c | 565 rx->sgl, rx->nents, DMA_DEV_TO_MEM, 577 tx->sgl, tx->nents, DMA_MEM_TO_DEV,
|
H A D | spi-imx.c | 1411 struct scatterlist *last_sg = sg_last(rx->sgl, rx->nents); 1443 rx->sgl, rx->nents, DMA_DEV_TO_MEM, 1457 tx->sgl, tx->nents, DMA_MEM_TO_DEV,
|
H A D | spi-ingenic.c | 153 desc = dmaengine_prep_slave_sg(chan, sg->sgl, sg->nents, dir,
|
/linux-master/net/rds/ |
H A D | rds.h | 853 struct rds_message *rds_message_alloc(unsigned int nents, gfp_t gfp); 854 struct scatterlist *rds_message_alloc_sgs(struct rds_message *rm, int nents);
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.c | 165 buf->sgt.nents, DMA_FROM_DEVICE); 175 buf->sgt.nents, DMA_FROM_DEVICE);
|
/linux-master/drivers/virtio/ |
H A D | virtio_balloon.c | 167 struct scatterlist *sg, unsigned int nents) 175 err = virtqueue_add_inbuf(vq, sg, nents, vb, GFP_NOWAIT | __GFP_NOWARN); 166 virtballoon_free_page_report(struct page_reporting_dev_info *pr_dev_info, struct scatterlist *sg, unsigned int nents) argument
|
/linux-master/drivers/pci/ |
H A D | p2pdma.c | 893 * @nents: the number of SG entries in the list 896 * Return: %NULL on error or &struct scatterlist pointer and @nents on success 899 unsigned int *nents, u32 length) 915 *nents = 1; 898 pci_p2pmem_alloc_sgl(struct pci_dev *pdev, unsigned int *nents, u32 length) argument
|
/linux-master/drivers/nvme/host/ |
H A D | pci.c | 550 WARN_ON_ONCE(!iod->sgt.nents); 565 static void nvme_print_sgl(struct scatterlist *sgl, int nents) argument 570 for_each_sg(sgl, sg, nents, i) { 663 WARN(DO_ONCE(nvme_print_sgl, iod->sgt.sgl, iod->sgt.nents), 664 "Invalid SGL for payload:%d nents:%d\n", 665 blk_rq_payload_bytes(req), iod->sgt.nents); 692 unsigned int entries = iod->sgt.nents; 809 if (nvme_pci_use_sgls(dev, req, iod->sgt.nents)) 844 iod->sgt.nents = 0;
|
/linux-master/include/linux/ |
H A D | iommu.h | 800 struct scatterlist *sg, unsigned int nents, 1130 unsigned int nents, int prot, gfp_t gfp) 1128 iommu_map_sg(struct iommu_domain *domain, unsigned long iova, struct scatterlist *sg, unsigned int nents, int prot, gfp_t gfp) argument
|
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-ops.c | 67 dma_unmap_sg(wa->dma_dev, wa->dma_sg_head, wa->nents, wa->dma_dir); 82 wa->nents = sg_nents_for_len(sg, len); 83 if (wa->nents < 0) 84 return wa->nents; 99 wa->dma_count = dma_map_sg(dev, sg, wa->nents, dma_dir);
|
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 290 unsigned int i, nents; local 313 nents = 0; 327 if (nents == BE_INVLDT_CMD_TBL_SZ) { 352 inv_tbl->tbl[nents].cid = beiscsi_conn->beiscsi_conn_cid; 353 inv_tbl->tbl[nents].icd = io_task->psgl_handle->sgl_index; 354 inv_tbl->task[nents] = task; 355 nents++; 361 if (!nents) 371 if (beiscsi_mgmt_invalidate_icds(phba, &inv_tbl->tbl[0], nents)) { 379 for (i = 0; i < nents; [all...] |
/linux-master/drivers/media/pci/solo6x10/ |
H A D | solo6x10-v4l2-enc.c | 322 for_each_sg(vbuf->sgl, sg, vbuf->nents, i) { 743 sg_copy_from_buffer(sgt->sgl, sgt->nents, 747 sg_copy_from_buffer(sgt->sgl, sgt->nents,
|
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 550 if (dobj->sgt->nents > 1) {
|
/linux-master/drivers/crypto/ |
H A D | sa2ul.c | 1186 ret = sg_split(mapped_sg->sgt.sgl, mapped_sg->sgt.nents, 0, 1, 1189 src_nents = mapped_sg->sgt.nents; 1232 ret = sg_split(mapped_sg->sgt.sgl, mapped_sg->sgt.nents, 1236 dst_nents = mapped_sg->sgt.nents;
|
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 248 gdrm->bulk_sgt.sgl, gdrm->bulk_sgt.nents, len, GFP_KERNEL);
|
/linux-master/drivers/target/ |
H A D | target_core_transport.c | 2657 void target_free_sgl(struct scatterlist *sgl, int nents) argument 2659 sgl_free_n_order(sgl, nents, 0); 2764 target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents, u32 length, argument 2769 *sgl = sgl_alloc_order(length, 0, chainable, gfp, nents);
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_mmu.c | 292 sgt->nents == 1 && !(etnaviv_obj->flags & ETNA_BO_FORCE_MMU)) {
|
/linux-master/drivers/scsi/ |
H A D | scsi_lib.c | 579 if (cmd->sdb.table.nents) 1161 BUG_ON(count > cmd->sdb.table.nents); 1162 cmd->sdb.table.nents = count; 1194 cmd->prot_sdb->table.nents = count;
|
/linux-master/drivers/media/pci/ttpci/ |
H A D | budget-core.c | 185 budget->pt.nents, DMA_FROM_DEVICE);
|