/linux-master/include/linux/ |
H A D | tifm.h | 144 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, 146 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents,
|
H A D | kfifo.h | 714 * @nents: number of entries in the scatterlist array 723 #define kfifo_dma_in_prepare(fifo, sgl, nents, len) \ 727 int __nents = (nents); \ 763 * @nents: number of entries in the scatterlist array 774 #define kfifo_dma_out_prepare(fifo, sgl, nents, len) \ 778 int __nents = (nents); \ 857 struct scatterlist *sgl, int nents, unsigned int len); 860 struct scatterlist *sgl, int nents, unsigned int len); 879 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize); 885 struct scatterlist *sgl, int nents, unsigne [all...] |
/linux-master/tools/testing/scatterlist/ |
H A D | main.c | 36 printf("size = %u, max segment = %u, expected nents = %u\nst->nents = %u, st->orig_nents= %u\n", 37 test->size, test->max_seg, test->expected_segments, st->nents, 117 VALIDATE(append.sgt.nents == test->expected_segments,
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_internal.c | 68 st->nents = 0; 87 st->nents++;
|
/linux-master/arch/arm64/kernel/ |
H A D | module-plts.c | 316 int nents, numrels = sechdrs[i].sh_size / sizeof(Elf64_Rela); local 330 nents = partition_branch_plt_relas(syms, rels, numrels, 332 if (nents) 333 sort(rels, nents, sizeof(Elf64_Rela), cmp_rela, NULL);
|
/linux-master/drivers/misc/ |
H A D | tifm_core.c | 292 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, argument 295 return dma_map_sg(&to_pci_dev(sock->dev.parent)->dev, sg, nents, 300 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, argument 303 dma_unmap_sg(&to_pci_dev(sock->dev.parent)->dev, sg, nents, direction);
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 94 * @nents: pointer to the remaining number of entries in the SG list. 101 u32 *nents, size_t *offset, 116 if (!(*nents)) 118 --(*nents); 99 fc_copy_buffer_to_sglist(void *buf, size_t len, struct scatterlist *sg, u32 *nents, size_t *offset, u32 *crc) argument
|
H A D | fc_libfc.h | 124 u32 *nents, size_t *offset,
|
/linux-master/drivers/crypto/caam/ |
H A D | caamrng.c | 122 int len, nents; local 125 nents = kfifo_dma_in_prepare(&ctx->fifo, sg, ARRAY_SIZE(sg), 127 if (!nents)
|
/linux-master/drivers/infiniband/core/ |
H A D | rw.c | 97 u32 nents = min(sg_cnt, pages_per_mr); local 106 ret = ib_map_mr_sg(reg->mr, sg, nents, &offset, PAGE_SIZE); 107 if (ret < 0 || ret < nents) { 142 u32 nents = min(sg_cnt, pages_per_mr); local 174 sg_cnt -= nents; 175 for (j = 0; j < nents; j++) 306 sg_cnt = sgt.nents; 418 ret = ib_map_mr_sg_pi(ctx->reg->mr, sg, sgt.nents, NULL, prot_sg, 419 prot_sgt.nents, NULL, SZ_4K); 422 sgt.nents [all...] |
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_drv.h | 124 u32 nents, total; member in struct:virtio_gpu_object_array 308 struct virtio_gpu_object_array *virtio_gpu_array_alloc(u32 nents); 310 virtio_gpu_array_from_handles(struct drm_file *drm_file, u32 *handles, u32 nents); 351 unsigned int nents); 419 uint32_t nents);
|
/linux-master/drivers/parisc/ |
H A D | ccio-dma.c | 896 * @nents: The number of entries in the scatter/gather list. 903 ccio_map_sg(struct device *dev, struct scatterlist *sglist, int nents, argument 918 DBG_RUN_SG("%s() START %d entries\n", __func__, nents); 921 if (nents == 1) { 929 for(i = 0; i < nents; i++) 946 coalesced = iommu_coalesce_chunks(ioc, dev, sglist, nents, ccio_alloc_range); 956 filled = iommu_fill_pdir(ioc, sglist, nents, hint, ccio_io_pdir_entry); 976 * @nents: The number of entries in the scatter/gather list. 983 ccio_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, argument 996 __func__, nents, sg_vir [all...] |
H A D | sba_iommu.c | 273 * @nents: number of entries in SG list 278 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) argument 280 while (nents-- > 0) { 282 nents, 943 * @nents: number of entries in list 950 sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, argument 957 DBG_RUN_SG("%s() START %d entries\n", __func__, nents); 964 if (nents == 1) { 976 sba_dump_sg(ioc, sglist, nents); 993 iommu_coalesce_chunks(ioc, dev, sglist, nents, sba_alloc_rang 1035 sba_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction direction, unsigned long attrs) argument [all...] |
/linux-master/include/trace/events/ |
H A D | rpcrdma.h | 404 __field(int, nents) 415 __entry->nents = mr->mr_nents; 427 __entry->nents < __entry->nsegs ? "more" : "last" 453 __field(int, nents) 463 __entry->nents = mr->mr_nents; 475 __entry->nents < __entry->nsegs ? "more" : "last" 511 __field(int, nents) 531 __entry->nents = mr->mr_nents; 539 " mr.id=%u nents=%d %u@0x%016llx:0x%08x (%s)", 541 __entry->mr_id, __entry->nents, __entr [all...] |
/linux-master/drivers/spi/ |
H A D | spi-pic32-sqi.c | 265 int nents, i; local 277 nents = xfer->rx_sg.nents; 281 nents = xfer->tx_sg.nents; 296 for_each_sg(sgl, sg, nents, i) {
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | system-bus.c | 632 int nents, enum dma_data_direction direction, unsigned long attrs) 642 for_each_sg(sgl, sg, nents, i) { 655 return nents; 660 int nents, 669 int nents, enum dma_data_direction direction, unsigned long attrs) 677 int nents, enum dma_data_direction direction, 631 ps3_sb_map_sg(struct device *_dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, unsigned long attrs) argument 659 ps3_ioc0_map_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) argument 668 ps3_sb_unmap_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) argument 676 ps3_ioc0_unmap_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) argument
|
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_mem.c | 401 int nents = min_t(int, num_pages, PAGES_PER_CHUNK); local 403 kcalloc(nents, sizeof(struct page *), GFP_KERNEL); 410 while (nents--) {
|
/linux-master/drivers/dma/hsu/ |
H A D | hsu.h | 75 unsigned int nents; member in struct:hsu_dma_desc
|
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_core.c | 181 pt->nents = pages; 182 slen = dma_map_sg(&pci->dev, pt->slist, pt->nents, DMA_FROM_DEVICE); 192 dma_unmap_sg(&pci->dev, pt->slist, pt->nents, DMA_FROM_DEVICE); 206 dma_unmap_sg(&pci->dev, pt->slist, pt->nents, DMA_FROM_DEVICE);
|
/linux-master/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 558 int offset, nents, step, ret; local 576 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); 577 if (!nents) 617 int nents, step, ret; local 633 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); 634 if (!nents) 673 int nents; local 688 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); 689 if (!nents)
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | ibmebus.c | 110 int nents, enum dma_data_direction direction, 116 for_each_sg(sgl, sg, nents, i) { 121 return nents; 126 int nents, enum dma_data_direction direction, 108 ibmebus_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, unsigned long attrs) argument 124 ibmebus_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) argument
|
/linux-master/arch/alpha/kernel/ |
H A D | pci_iommu.c | 635 int nents, enum dma_data_direction dir, 650 if (nents == 1) { 661 end = sg + nents; 717 int nents, enum dma_data_direction dir, 743 for (end = sg + nents; sg < end; ++sg) { 757 sg - end + nents, addr, size); 765 sg - end + nents, addr, size); 770 sg - end + nents, addr, size); 789 DBGA("pci_unmap_sg: %ld entries\n", nents - (end - sg)); 633 alpha_pci_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, unsigned long attrs) argument 715 alpha_pci_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, unsigned long attrs) argument
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 33 pages->sgl, pages->nents, 67 dma_unmap_sg(i915->drm.dev, pages->sgl, pages->nents,
|
/linux-master/drivers/crypto/chelsio/ |
H A D | chcr_crypto.h | 198 unsigned int nents; member in struct:ulptx_walk 207 unsigned int nents; member in struct:dsgl_walk
|
/linux-master/include/target/ |
H A D | target_core_fabric.h | 226 int target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents, 228 void target_free_sgl(struct scatterlist *sgl, int nents);
|