/include/linux/ |
D | scatterlist.h | 41 unsigned int nents; /* number of mapped entries */ member 210 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i) 414 unsigned int nents) in sg_init_marker() argument 416 sg_mark_end(&sgl[nents - 1]); in sg_init_marker() 487 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order); 492 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf, 495 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents, 497 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, 500 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents, 502 size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents, [all …]
|
D | page_reporting.h | 14 struct scatterlist *sg, unsigned int nents);
|
D | pci-p2pdma.h | 30 unsigned int *nents, u32 length); 71 unsigned int *nents, u32 length) in pci_p2pmem_alloc_sgl() argument
|
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,
|
D | kmsan.h | 209 void kmsan_handle_dma_sg(struct scatterlist *sg, int nents, 319 static inline void kmsan_handle_dma_sg(struct scatterlist *sg, int nents, in kmsan_handle_dma_sg() argument
|
D | kfifo.h | 718 #define kfifo_dma_in_prepare(fifo, sgl, nents, len) \ argument 722 int __nents = (nents); \ 769 #define kfifo_dma_out_prepare(fifo, sgl, nents, len) \ argument 773 int __nents = (nents); \ 852 struct scatterlist *sgl, int nents, unsigned int len); 855 struct scatterlist *sgl, int nents, unsigned int len); 874 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize); 880 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize);
|
D | dma-map-ops.h | 60 int (*map_sg)(struct device *dev, struct scatterlist *sg, int nents, 62 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nents, 76 int nents, enum dma_data_direction dir); 78 int nents, enum dma_data_direction dir); 423 int nents); 425 int nents);
|
D | dma-mapping.h | 110 int nents, enum dma_data_direction dir, unsigned long attrs); 112 int nents, enum dma_data_direction dir, 172 struct scatterlist *sg, int nents, enum dma_data_direction dir, in dma_map_sg_attrs() argument 178 struct scatterlist *sg, int nents, enum dma_data_direction dir, in dma_unmap_sg_attrs() argument
|
D | iommu.h | 488 struct scatterlist *sg, unsigned int nents, 800 unsigned int nents, int prot, gfp_t gfp) in iommu_map_sg() argument
|
D | usb.h | 1866 struct scatterlist *sg, int nents); 1983 int nents,
|
D | dmaengine.h | 917 unsigned int nents, int value, unsigned long flags);
|
/include/trace/events/ |
D | rpcrdma.h | 405 __field(int, nents) 416 __entry->nents = mr->mr_nents; 428 __entry->nents < __entry->nsegs ? "more" : "last" 454 __field(int, nents) 464 __entry->nents = mr->mr_nents; 476 __entry->nents < __entry->nsegs ? "more" : "last" 512 __field(int, nents) 532 __entry->nents = mr->mr_nents; 542 __entry->mr_id, __entry->nents, __entry->length, 565 __field(int, nents) [all …]
|
/include/target/ |
D | target_core_fabric.h | 221 int target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents, 223 void target_free_sgl(struct scatterlist *sgl, int nents);
|
/include/scsi/ |
D | scsi_cmnd.h | 189 return cmd->sdb.table.nents; in scsi_sg_count() 324 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()
|
/include/rdma/ |
D | ib_verbs.h | 2878 unsigned int nents, 2903 #define rdma_for_each_block(sglist, biter, nents, pgsz) \ argument 2904 for (__rdma_block_iter_start(biter, sglist, nents, \ 4141 int ib_dma_virt_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents); 4143 struct scatterlist *sg, int nents, in ib_dma_map_sg_attrs() argument 4148 return ib_dma_virt_map_sg(dev, sg, nents); in ib_dma_map_sg_attrs() 4149 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_map_sg_attrs() 4154 struct scatterlist *sg, int nents, in ib_dma_unmap_sg_attrs() argument 4159 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_unmap_sg_attrs() 4175 int nents; in ib_dma_map_sgtable_attrs() local [all …]
|
D | ib_umem.h | 79 umem->sgt_append.sgt.nents, pgsz); in __rdma_umem_block_iter_start()
|
/include/media/drv-intf/ |
D | saa7146.h | 72 int nents; member
|