Home
last modified time | relevance | path

Searched defs:nents (Results 1 – 25 of 131) sorted by relevance

123456

/linux/lib/
A Dscatterlist.c47 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 Dsg_pool.c40 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 Dkfifo.c296 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 Dsg_split.c13 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 Dpci-p2pdma.h75 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 Dpci-dma-compat.h66 int nents, int direction) in pci_map_sg()
73 int nents, int direction) in pci_unmap_sg()
A Dscatterlist.h38 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 Ddirect.h30 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 Ddirect.c378 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 Dspi-dw-dma.c237 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 Diommu-helpers.h15 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 Djazzdma.c544 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 Diommu.c249 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 Dio-unit.c162 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 Dvirtgpu_object.c153 unsigned int *nents) in virtio_gpu_object_shmem_init()
220 unsigned int nents; in virtio_gpu_object_create() local
A Dvirtgpu_gem.c164 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 Dsystem-bus.c632 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 Ddma-example.c25 unsigned int nents; in example_init() local
/linux/drivers/crypto/ccree/
A Dcc_buffer_mgr.c25 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 Dcc_buffer_mgr.h29 unsigned int nents; //sg nents member
/linux/arch/powerpc/kernel/
A Ddma-iommu.c36 int nents) in arch_dma_map_sg_direct()
53 int nents) in arch_dma_unmap_sg_direct()
/linux/arch/arm/mm/
A Ddma-mapping.c978 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 Dp2pdma.c776 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 Drw.c96 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 Dtifm_core.c292 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()

Completed in 41 milliseconds

123456