Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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()
282 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table()
371 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) 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()
[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()
112 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()
/linux-6.1.9/kernel/dma/
Ddirect.h31 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device()
45 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg()
50 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu()
Ddirect.c410 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device()
433 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu()
461 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg()
476 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, in dma_direct_map_sg()
Dmapping.c183 int nents, enum dma_data_direction dir, unsigned long attrs) in __dma_map_sg_attrs()
228 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_map_sg_attrs()
269 int nents; in dma_map_sgtable() local
280 int nents, enum dma_data_direction dir, in dma_unmap_sg_attrs()
/linux-6.1.9/drivers/spi/
Dspi-dw-dma.c252 u32 nents; in dw_spi_dma_wait_tx_done() local
300 unsigned int nents) in dw_spi_dma_submit_tx()
337 u32 nents; in dw_spi_dma_wait_rx_done() local
401 unsigned int nents) in dw_spi_dma_submit_rx()
600 unsigned int nents; in dw_spi_dma_transfer() local
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_object.c138 unsigned int *nents) in virtio_gpu_object_shmem_init()
188 unsigned int nents; in virtio_gpu_object_create() local
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-6.1.9/arch/powerpc/platforms/ps3/
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-6.1.9/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
/linux-6.1.9/samples/kfifo/
Ddma-example.c25 unsigned int nents; in example_init() local
/linux-6.1.9/arch/powerpc/kernel/
Ddma-iommu.c36 int nents) in arch_dma_map_sg_direct()
53 int nents) in arch_dma_unmap_sg_direct()
/linux-6.1.9/include/linux/
Dscatterlist.h41 unsigned int nents; /* number of mapped entries */ member
354 unsigned int nents) in sg_init_marker()
547 #define for_each_sg_page(sglist, piter, nents, pgoffset) \ argument
/linux-6.1.9/drivers/misc/
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()
/linux-6.1.9/arch/ia64/hp/common/
Dsba_iommu.c387 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg()
398 sba_check_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_check_sg()
1200 int nents) in sba_fill_pdir()
1295 int nents) in sba_coalesce_chunks()
1430 int nents, enum dma_data_direction dir, in sba_map_sg_attrs()
1529 int nents, enum dma_data_direction dir, in sba_unmap_sg_attrs()
/linux-6.1.9/drivers/crypto/bcm/
Dutil.c54 unsigned int nents = sg_nents(src); in sg_copy_part_to_buf() local
73 unsigned int nents = sg_nents(dest); in sg_copy_part_from_buf() local
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c163 int i, nents, ret = 0; in dma_map_inbufs() local
191 int nents, ret = 0; in dma_map_outbufs() local
/linux-6.1.9/drivers/usb/storage/
Dprotocol.c128 unsigned int nents = scsi_sg_count(srb); in usb_stor_access_xfer_buf() local

123456