Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/lib/
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()
266 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table()
355 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
641 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order) in sgl_free_n_order()
682 struct scatterlist *sglist, unsigned int nents, in __sg_page_iter_start()
[all …]
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()
111 int sg_alloc_table_chained(struct sg_table *table, int nents, in sg_alloc_table_chained()
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()
Dsg_split.c13 int nents; member
20 static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, in sg_calculate_split()
/kernel/linux/linux-5.10/include/linux/
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()
Dscatterlist.h44 unsigned int nents; /* number of mapped entries */ member
268 unsigned int nents) in sg_init_marker()
429 #define for_each_sg_page(sglist, piter, nents, pgoffset) \ argument
Dpci-dma-compat.h66 int nents, int direction) in pci_map_sg()
73 int nents, int direction) in pci_unmap_sg()
/kernel/linux/linux-5.10/kernel/dma/
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()
Ddirect.c338 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device()
361 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu()
385 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg()
396 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, in dma_direct_map_sg()
/kernel/linux/linux-5.10/drivers/spi/
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
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c119 int nents, enum dma_data_direction dir, in arm_nommu_dma_map_sg()
135 int nents, enum dma_data_direction dir, in arm_nommu_dma_unmap_sg()
158 int nents, enum dma_data_direction dir) in arm_nommu_dma_sync_sg_for_device()
168 int nents, enum dma_data_direction dir) in arm_nommu_dma_sync_sg_for_cpu()
Ddma-mapping.c978 int arm_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in arm_dma_map_sg()
1012 void arm_dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, in arm_dma_unmap_sg()
1032 int nents, enum dma_data_direction dir) in arm_dma_sync_sg_for_cpu()
1051 int nents, enum dma_data_direction dir) in arm_dma_sync_sg_for_device()
1620 static int __iommu_map_sg(struct device *dev, struct scatterlist *sg, int nents, in __iommu_map_sg()
1679 int nents, enum dma_data_direction dir, unsigned long attrs) in arm_coherent_iommu_map_sg()
1697 int nents, enum dma_data_direction dir, unsigned long attrs) in arm_iommu_map_sg()
1703 int nents, enum dma_data_direction dir, in __iommu_unmap_sg()
1730 struct scatterlist *sg, int nents, enum dma_data_direction dir, in arm_coherent_iommu_unmap_sg()
1747 struct scatterlist *sg, int nents, in arm_iommu_unmap_sg()
[all …]
/kernel/linux/linux-5.10/drivers/parisc/
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()
/kernel/linux/linux-5.10/arch/mips/jazz/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_object.c142 unsigned int *nents) in virtio_gpu_object_shmem_init()
209 unsigned int nents; in virtio_gpu_object_create() local
Dvirtgpu_gem.c156 struct virtio_gpu_object_array *virtio_gpu_array_alloc(u32 nents) in virtio_gpu_array_alloc()
175 virtio_gpu_array_from_handles(struct drm_file *drm_file, u32 *handles, u32 nents) in virtio_gpu_array_from_handles()
/kernel/linux/linux-5.10/arch/sparc/mm/
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()
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()
/kernel/linux/linux-5.10/samples/kfifo/
Ddma-example.c25 unsigned int nents; in example_init() local
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dsystem-bus.c633 int nents, enum dma_data_direction direction, unsigned long attrs) in ps3_sb_map_sg()
661 int nents, in ps3_ioc0_map_sg()
670 int nents, enum dma_data_direction direction, unsigned long attrs) in ps3_sb_unmap_sg()
678 int nents, enum dma_data_direction direction, in ps3_ioc0_unmap_sg()
/kernel/linux/linux-5.10/drivers/pci/
Dp2pdma.c790 unsigned int *nents, u32 length) in pci_p2pmem_alloc_sgl()
864 struct device *dev, struct scatterlist *sg, int nents) in __pci_p2pdma_map_sg()
905 int nents, enum dma_data_direction dir, unsigned long attrs) in pci_p2pdma_map_sg_attrs()
938 int nents, enum dma_data_direction dir, unsigned long attrs) in pci_p2pdma_unmap_sg_attrs()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
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()
Dcc_buffer_mgr.h29 unsigned int nents; //sg nents member
/kernel/linux/linux-5.10/drivers/misc/
Dtifm_core.c294 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_map_sg()
301 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_unmap_sg()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dprotocol.c128 unsigned int nents = scsi_sg_count(srb); in usb_stor_access_xfer_buf() local

123456