/linux/lib/ |
A D | scatterlist.c | 47 int nents; in sg_nents() local 70 int nents; in sg_nents_for_len() local 101 struct scatterlist *sg_last(struct scatterlist *sgl, unsigned int nents) in sg_last() 124 void sg_init_table(struct scatterlist *sgl, unsigned int nents) in sg_init_table() 149 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc() 169 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree() 282 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table() 672 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order) in sgl_free_n_order() 713 struct scatterlist *sglist, unsigned int nents, in __sg_page_iter_start() 787 unsigned int nents, unsigned int flags) in sg_miter_start() [all …]
|
A D | sg_pool.c | 40 static inline unsigned int sg_pool_index(unsigned short nents) in sg_pool_index() 54 static void sg_pool_free(struct scatterlist *sgl, unsigned int nents) in sg_pool_free() 62 static struct scatterlist *sg_pool_alloc(unsigned int nents, gfp_t gfp_mask) in sg_pool_alloc() 112 int sg_alloc_table_chained(struct sg_table *table, int nents, in sg_alloc_table_chained()
|
A D | kfifo.c | 296 int nents, unsigned int len) in setup_sgl_buf() 335 int nents, unsigned int len, unsigned int off) in setup_sgl() 357 struct scatterlist *sgl, int nents, unsigned int len) in __kfifo_dma_in_prepare() 370 struct scatterlist *sgl, int nents, unsigned int len) in __kfifo_dma_out_prepare() 549 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize) in __kfifo_dma_in_prepare_r() 572 struct scatterlist *sgl, int nents, unsigned int len, size_t recsize) in __kfifo_dma_out_prepare_r()
|
A D | sg_split.c | 13 int nents; member 20 static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, in sg_calculate_split()
|
/linux/include/linux/ |
A D | pci-p2pdma.h | 75 unsigned int *nents, u32 length) in pci_p2pmem_alloc_sgl() 87 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_map_sg_attrs() 93 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_unmap_sg_attrs() 123 int nents, enum dma_data_direction dir) in pci_p2pdma_map_sg() 129 struct scatterlist *sg, int nents, enum dma_data_direction dir) in pci_p2pdma_unmap_sg()
|
A D | pci-dma-compat.h | 66 int nents, int direction) in pci_map_sg() 73 int nents, int direction) in pci_unmap_sg()
|
A D | scatterlist.h | 38 unsigned int nents; /* number of mapped entries */ member 268 unsigned int nents) in sg_init_marker() 461 #define for_each_sg_page(sglist, piter, nents, pgoffset) \ argument
|
/linux/kernel/dma/ |
A D | direct.h | 30 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() 44 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() 49 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu()
|
A D | direct.c | 378 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() 401 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() 425 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg() 436 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, in dma_direct_map_sg()
|
/linux/drivers/spi/ |
A D | spi-dw-dma.c | 237 u32 nents; in dw_spi_dma_wait_tx_done() local 285 unsigned int nents) in dw_spi_dma_submit_tx() 322 u32 nents; in dw_spi_dma_wait_rx_done() local 386 unsigned int nents) in dw_spi_dma_submit_rx() 585 unsigned int nents; in dw_spi_dma_transfer() local
|
/linux/drivers/parisc/ |
A D | iommu-helpers.h | 15 iommu_fill_pdir(struct ioc *ioc, struct scatterlist *startsg, int nents, in iommu_fill_pdir() 102 struct scatterlist *startsg, int nents, in iommu_coalesce_chunks()
|
/linux/arch/mips/jazz/ |
A D | jazzdma.c | 544 int nents, enum dma_data_direction dir, unsigned long attrs) in jazz_dma_map_sg() 563 int nents, enum dma_data_direction dir, unsigned long attrs) in jazz_dma_unmap_sg() 588 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in jazz_dma_sync_sg_for_device() 598 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in jazz_dma_sync_sg_for_cpu()
|
/linux/arch/sparc/mm/ |
A D | iommu.c | 249 int nents, enum dma_data_direction dir, unsigned long attrs, in __sbus_iommu_map_sg() 267 int nents, enum dma_data_direction dir, unsigned long attrs) in sbus_iommu_map_sg_gflush() 274 int nents, enum dma_data_direction dir, unsigned long attrs) in sbus_iommu_map_sg_pflush() 299 int nents, enum dma_data_direction dir, unsigned long attrs) in sbus_iommu_unmap_sg()
|
A D | io-unit.c | 162 static int iounit_map_sg(struct device *dev, struct scatterlist *sgl, int nents, in iounit_map_sg() 196 int nents, enum dma_data_direction dir, unsigned long attrs) in iounit_unmap_sg()
|
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_object.c | 153 unsigned int *nents) in virtio_gpu_object_shmem_init() 220 unsigned int nents; in virtio_gpu_object_create() local
|
A D | virtgpu_gem.c | 164 struct virtio_gpu_object_array *virtio_gpu_array_alloc(u32 nents) in virtio_gpu_array_alloc() 183 virtio_gpu_array_from_handles(struct drm_file *drm_file, u32 *handles, u32 nents) in virtio_gpu_array_from_handles()
|
/linux/arch/powerpc/platforms/ps3/ |
A D | system-bus.c | 632 int nents, enum dma_data_direction direction, unsigned long attrs) in ps3_sb_map_sg() 660 int nents, in ps3_ioc0_map_sg() 669 int nents, enum dma_data_direction direction, unsigned long attrs) in ps3_sb_unmap_sg() 677 int nents, enum dma_data_direction direction, in ps3_ioc0_unmap_sg()
|
/linux/samples/kfifo/ |
A D | dma-example.c | 25 unsigned int nents; in example_init() local
|
/linux/drivers/crypto/ccree/ |
A D | cc_buffer_mgr.c | 25 int nents[MAX_NUM_OF_BUFFERS_IN_MLLI]; member 77 unsigned int nents = 0; in cc_get_sgl_nents() local 109 u32 nents; in cc_copy_sg_portion() local 236 unsigned int nents, struct scatterlist *sgl, in cc_add_sg_entry() 256 unsigned int nbytes, int direction, u32 *nents, in cc_map_sg()
|
A D | cc_buffer_mgr.h | 29 unsigned int nents; //sg nents member
|
/linux/arch/powerpc/kernel/ |
A D | dma-iommu.c | 36 int nents) in arch_dma_map_sg_direct() 53 int nents) in arch_dma_unmap_sg_direct()
|
/linux/arch/arm/mm/ |
A D | dma-mapping.c | 978 int arm_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in arm_dma_map_sg() 1014 void arm_dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, in arm_dma_unmap_sg() 1034 int nents, enum dma_data_direction dir) in arm_dma_sync_sg_for_cpu() 1053 int nents, enum dma_data_direction dir) in arm_dma_sync_sg_for_device() 1685 int nents, enum dma_data_direction dir, unsigned long attrs) in arm_coherent_iommu_map_sg() 1703 int nents, enum dma_data_direction dir, unsigned long attrs) in arm_iommu_map_sg() 1709 int nents, enum dma_data_direction dir, in __iommu_unmap_sg() 1736 struct scatterlist *sg, int nents, enum dma_data_direction dir, in arm_coherent_iommu_unmap_sg() 1753 struct scatterlist *sg, int nents, in arm_iommu_unmap_sg() 1769 int nents, enum dma_data_direction dir) in arm_iommu_sync_sg_for_cpu() [all …]
|
/linux/drivers/pci/ |
A D | p2pdma.c | 776 unsigned int *nents, u32 length) in pci_p2pmem_alloc_sgl() 871 struct device *dev, struct scatterlist *sg, int nents) in __pci_p2pdma_map_sg() 898 int nents, enum dma_data_direction dir, unsigned long attrs) in pci_p2pdma_map_sg_attrs() 925 int nents, enum dma_data_direction dir, unsigned long attrs) in pci_p2pdma_unmap_sg_attrs()
|
/linux/drivers/infiniband/core/ |
A D | rw.c | 96 u32 nents = min(sg_cnt, pages_per_mr); in rdma_rw_init_one_mr() local 141 u32 nents = min(sg_cnt, pages_per_mr); in rdma_rw_init_mr_wrs() local 288 int nents; in rdma_rw_map_sgtable() local
|
/linux/drivers/misc/ |
A D | tifm_core.c | 292 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_map_sg() 300 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_unmap_sg()
|