| /include/linux/ |
| A D | scatterlist.h | 41 unsigned int nents; /* number of mapped entries */ member 232 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i) 436 unsigned int nents) in sg_init_marker() argument 438 sg_mark_end(&sgl[nents - 1]); in sg_init_marker() 508 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order); 525 size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents, 556 int sg_alloc_table_chained(struct sg_table *table, int nents, 595 struct scatterlist *sglist, unsigned int nents, 628 #define for_each_sg_page(sglist, piter, nents, pgoffset) \ argument 673 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset) [all …]
|
| A D | page_reporting.h | 14 struct scatterlist *sg, unsigned int nents);
|
| A D | kfifo.h | 730 #define kfifo_dma_in_prepare_mapped(fifo, sgl, nents, len, dma) \ argument 734 int __nents = (nents); \ 744 #define kfifo_dma_in_prepare(fifo, sgl, nents, len) \ argument 745 kfifo_dma_in_prepare_mapped(fifo, sgl, nents, len, DMA_MAPPING_ERROR) 786 #define kfifo_dma_out_prepare_mapped(fifo, sgl, nents, len, dma) \ argument 790 int __nents = (nents); \ 800 #define kfifo_dma_out_prepare(fifo, sgl, nents, len) \ argument 801 kfifo_dma_out_prepare_mapped(fifo, sgl, nents, len, DMA_MAPPING_ERROR) 923 struct scatterlist *sgl, int nents, unsigned int len, dma_addr_t dma); 948 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize, [all …]
|
| 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,
|
| A D | iommu-dma.h | 29 int iommu_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, 31 void iommu_dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents,
|
| A D | dma-map-ops.h | 45 int (*map_sg)(struct device *dev, struct scatterlist *sg, int nents, 47 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nents, 61 int nents, enum dma_data_direction dir); 63 int nents, enum dma_data_direction dir); 398 int nents); 400 int nents);
|
| A D | pci-p2pdma.h | 30 unsigned int *nents, u32 length); 71 unsigned int *nents, u32 length) in pci_p2pmem_alloc_sgl() argument
|
| A D | kmsan.h | 209 void kmsan_handle_dma_sg(struct scatterlist *sg, int nents, 380 static inline void kmsan_handle_dma_sg(struct scatterlist *sg, int nents, in kmsan_handle_dma_sg() argument
|
| A D | dma-mapping.h | 122 int nents, enum dma_data_direction dir, unsigned long attrs); 124 int nents, enum dma_data_direction dir, 176 struct scatterlist *sg, int nents, enum dma_data_direction dir, in dma_map_sg_attrs() argument 182 struct scatterlist *sg, int nents, enum dma_data_direction dir, in dma_unmap_sg_attrs() argument
|
| A D | dmaengine.h | 925 unsigned int nents, int value, unsigned long flags); 931 size_t nents, enum dma_transfer_direction direction, 1002 struct dma_chan *chan, const struct dma_vec *vecs, size_t nents, in dmaengine_prep_peripheral_dma_vec() argument 1008 return chan->device->device_prep_peripheral_dma_vec(chan, vecs, nents, in dmaengine_prep_peripheral_dma_vec()
|
| A D | iommu.h | 925 struct scatterlist *sg, unsigned int nents, 1255 unsigned int nents, int prot, gfp_t gfp) in iommu_map_sg() argument
|
| A D | usb.h | 1953 int nents,
|
| /include/trace/events/ |
| A D | dma.h | 285 __dynamic_array(u64, phys_addrs, nents) 297 for_each_sg(sgl, sg, nents, i) 331 __dynamic_array(u64, phys_addrs, nents) 342 for_each_sg(sgl, sg, nents, i) 362 TP_ARGS(dev, sgl, nents, dir, attrs), 366 __dynamic_array(u64, addrs, nents) 376 for_each_sg(sgl, sg, nents, i) 429 TP_ARGS(dev, sgl, nents, dir), 433 __dynamic_array(u64, dma_addrs, nents) 443 for_each_sg(sgl, sg, nents, i) { [all …]
|
| A D | rpcrdma.h | 404 __field(int, nents) 453 __field(int, nents) 511 __field(int, nents) 564 __field(int, nents) 1139 __field(int, nents) 1177 __field(int, nents) 1184 __entry->nents = sg_nents; 1190 __entry->nents 1207 __field(int, nents) 1834 unsigned int nents, [all …]
|
| /include/target/ |
| 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);
|
| /include/scsi/ |
| A D | scsi_cmnd.h | 183 return cmd->sdb.table.nents; in scsi_sg_count() 318 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()
|
| /include/rdma/ |
| A D | ib_verbs.h | 2980 unsigned int nents, 3006 for (__rdma_block_iter_start(biter, sglist, nents, \ 4253 struct scatterlist *sg, int nents, in ib_dma_map_sg_attrs() argument 4258 return ib_dma_virt_map_sg(dev, sg, nents); in ib_dma_map_sg_attrs() 4264 struct scatterlist *sg, int nents, in ib_dma_unmap_sg_attrs() argument 4285 int nents; in ib_dma_map_sgtable_attrs() local 4289 if (!nents) in ib_dma_map_sgtable_attrs() 4291 sgt->nents = nents; in ib_dma_map_sgtable_attrs() 4314 struct scatterlist *sg, int nents, in ib_dma_map_sg() argument 4328 struct scatterlist *sg, int nents, in ib_dma_unmap_sg() argument [all …]
|
| A D | ib_umem.h | 84 umem->sgt_append.sgt.nents, pgsz); in __rdma_umem_block_iter_start()
|
| /include/media/drv-intf/ |
| A D | saa7146.h | 72 int nents; member
|