Home
last modified time | relevance | path

Searched refs:nents (Results 1 – 17 of 17) sorted by relevance

/include/linux/
Dscatterlist.h41 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 …]
Dpage_reporting.h14 struct scatterlist *sg, unsigned int nents);
Dpci-p2pdma.h30 unsigned int *nents, u32 length);
71 unsigned int *nents, u32 length) in pci_p2pmem_alloc_sgl() argument
Dtifm.h144 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,
Dkmsan.h209 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
Dkfifo.h718 #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);
Ddma-map-ops.h60 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);
Ddma-mapping.h110 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
Diommu.h488 struct scatterlist *sg, unsigned int nents,
800 unsigned int nents, int prot, gfp_t gfp) in iommu_map_sg() argument
Dusb.h1866 struct scatterlist *sg, int nents);
1983 int nents,
Ddmaengine.h917 unsigned int nents, int value, unsigned long flags);
/include/trace/events/
Drpcrdma.h405 __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/
Dtarget_core_fabric.h221 int target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents,
223 void target_free_sgl(struct scatterlist *sgl, int nents);
/include/scsi/
Dscsi_cmnd.h189 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/
Dib_verbs.h2878 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 …]
Dib_umem.h79 umem->sgt_append.sgt.nents, pgsz); in __rdma_umem_block_iter_start()
/include/media/drv-intf/
Dsaa7146.h72 int nents; member