Home
last modified time | relevance | path

Searched full:gather (Results 1 – 25 of 1555) sorted by relevance

12345678910>>...63

/kernel/linux/linux-6.6/include/linux/
Diommu.h456 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
458 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init()
460 .freelist = LIST_HEAD_INIT(gather->freelist), in iommu_iotlb_gather_init()
562 * @gather: TLB gather data
571 bool iommu_iotlb_gather_is_disjoint(struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_is_disjoint() argument
576 return gather->end != 0 && in iommu_iotlb_gather_is_disjoint()
577 (end + 1 < gather->start || start > gather->end + 1); in iommu_iotlb_gather_is_disjoint()
582 * iommu_iotlb_gather_add_range - Gather for address-based TLB invalidation
583 * @gather: TLB gather data
591 static inline void iommu_iotlb_gather_add_range(struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_range() argument
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.h20 /* Hardware format for Scatter/Gather list
40 /* Each Scatter/Gather entry sent to hardwar hold four pointers.
42 * is for main skb which also goes as a gather buffer to Octeon hardware.
55 u8 gather; member
137 /* Gather entries sent through this queue. */
186 /* Base pointer to Scatter/Gather lists for all ring descriptors. */
189 /* DMA mapped addr of Scatter Gather Lists */
233 /* No. of entries in gather list */
236 /* Gather indicator 1=gather*/
237 u64 gather:1; member
/kernel/linux/linux-6.6/drivers/gpu/host1x/
Djob.c116 struct host1x_job_gather *gather = &job->cmds[job->num_cmds].gather; in host1x_job_add_gather() local
118 gather->words = words; in host1x_job_add_gather()
119 gather->bo = bo; in host1x_job_add_gather()
120 gather->offset = offset; in host1x_job_add_gather()
191 * host1x clients are generally not able to do scatter-gather themselves, so fail in pin_job()
223 g = &job->cmds[i].gather; in pin_job()
285 /* pin & patch the relocs for one gather */ in do_relocs()
544 g = &job->cmds[i].gather; in copy_gathers()
568 void *gather; in copy_gathers() local
572 g = &job->cmds[i].gather; in copy_gathers()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dliquidio_common.h149 /*--------------------------- SCATTER GATHER ENTRY -----------------------*/
151 /* The Scatter-Gather List Entry. The scatter or gather component used with
168 /* \brief Add size to gather list
169 * @param sg_entry scatter/gather entry
184 /*------------------------- End Scatter/Gather ---------------------------*/
356 /** Gather indicator 1=gather*/
357 u64 gather:1; member
359 /** Data length OR no. of entries in gather list */
387 /** Data length OR no. of entries in gather list */
390 /** Gather indicator 1=gather*/
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
Dliquidio_common.h149 /*--------------------------- SCATTER GATHER ENTRY -----------------------*/
151 /* The Scatter-Gather List Entry. The scatter or gather component used with
168 /* \brief Add size to gather list
169 * @param sg_entry scatter/gather entry
184 /*------------------------- End Scatter/Gather ---------------------------*/
356 /** Gather indicator 1=gather*/
357 u64 gather:1; member
359 /** Data length OR no. of entries in gather list */
387 /** Data length OR no. of entries in gather list */
390 /** Gather indicator 1=gather*/
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/zip/
Dzip_device.h55 * pointer to the input gather list buffer when scatter_gather == 1
57 union zip_zptr_s *gather; member
71 /* for gather data */
77 /* Number of gather list pointers for gather data */
94 * @sginfo: Scatter-gather info structure
/kernel/linux/linux-6.6/drivers/crypto/cavium/zip/
Dzip_device.h55 * pointer to the input gather list buffer when scatter_gather == 1
57 union zip_zptr_s *gather; member
71 /* for gather data */
77 /* Number of gather list pointers for gather data */
94 * @sginfo: Scatter-gather info structure
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Dsubmit.c70 struct gather_bo *gather = container_of(bo, struct gather_bo, base); in gather_bo_pin() local
89 err = dma_get_sgtable(gather->dev, map->sgt, gather->gather_data, gather->gather_data_dma, in gather_bo_pin()
90 gather->gather_data_words * 4); in gather_bo_pin()
99 map->size = gather->gather_data_words * 4; in gather_bo_pin()
209 SUBMIT_ERR(context, "failed to allocate memory for gather data"); in submit_copy_gather_data()
215 SUBMIT_ERR(context, "failed to copy gather data from userspace"); in submit_copy_gather_data()
244 "relocation has too large gather offset (%u vs gather length %zu)", in submit_write_reloc()
363 /* Check for maximum gather size */ in submit_job_add_gather()
375 SUBMIT_ERR(context, "GATHER_UPTR command overflows gather data"); in submit_job_add_gather()
473 SUBMIT_ERR(context, "job must have at least one gather"); in submit_create_job()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_common.c50 * hinic_set_sge - set dma area in scatter gather entry
51 * @sge: scatter gather entry
63 * hinic_sge_to_dma - get dma address from scatter gather entry
64 * @sge: scatter gather entry
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_common.c50 * hinic_set_sge - set dma area in scatter gather entry
51 * @sge: scatter gather entry
63 * hinic_sge_to_dma - get dma address from scatter gather entry
64 * @sge: scatter gather entry
/kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/
Dgather_data_sampling.rst3 GDS - Gather Data Sampling
6 Gather Data Sampling is a hardware vulnerability which allows unprivileged
11 When a gather instruction performs loads from memory, different data elements
12 are merged into the destination vector register. However, when a gather
19 The attacker uses gather instructions to infer the stale vector register data.
21 registers. The victim does not need to use gather instructions to be
/kernel/linux/linux-6.6/Documentation/admin-guide/hw-vuln/
Dgather_data_sampling.rst3 GDS - Gather Data Sampling
6 Gather Data Sampling is a hardware vulnerability which allows unprivileged
11 When a gather instruction performs loads from memory, different data elements
12 are merged into the destination vector register. However, when a gather
19 The attacker uses gather instructions to infer the stale vector register data.
21 registers. The victim does not need to use gather instructions to be
/kernel/linux/linux-6.6/drivers/iommu/
Ds390-iommu.c222 struct iommu_iotlb_gather *gather) in s390_iommu_iotlb_sync() argument
225 size_t size = gather->end - gather->start + 1; in s390_iommu_iotlb_sync()
228 /* If gather was never added to there is nothing to flush */ in s390_iommu_iotlb_sync()
229 if (!gather->end) in s390_iommu_iotlb_sync()
234 zpci_refresh_trans((u64)zdev->fh << 32, gather->start, in s390_iommu_iotlb_sync()
383 struct iommu_iotlb_gather *gather) in s390_iommu_unmap_pages() argument
397 iommu_iotlb_gather_add_range(gather, iova, size); in s390_iommu_unmap_pages()
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
Dpipeline.json141 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
144 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
147 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
150 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
153 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
156 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_gem_dma_helper.c31 * for devices that do not support scatter-gather DMA (either directly or
411 * drm_gem_dma_get_sg_table - provide a scatter/gather table of pinned
415 * This function exports a scatter/gather table by calling the standard
419 * A pointer to the scatter/gather table of pinned pages or NULL on failure.
446 * driver's scatter/gather table of pinned pages
449 * @sgt: scatter/gather table of pinned pages
451 * This function imports a scatter/gather table exported via DMA-BUF by
453 * (i.e. the scatter/gather table must contain a single entry). Drivers that
555 * scatter/gather table and get the virtual address of the buffer
558 * @sgt: Scatter/gather table of pinned pages
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dst_options.h43 /* Maximum number of scatter/gather segments */
46 /* The number of scatter/gather segments to allocate at first try (must be
50 /* The size of the first scatter/gather segments (determines the maximum block
51 size for SCSI adapters not supporting scatter/gather). The default is set
/kernel/linux/linux-6.6/drivers/scsi/
Dst_options.h43 /* Maximum number of scatter/gather segments */
46 /* The number of scatter/gather segments to allocate at first try (must be
50 /* The size of the first scatter/gather segments (determines the maximum block
51 size for SCSI adapters not supporting scatter/gather). The default is set
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Djob.c94 struct host1x_job_gather *gather = &job->gathers[job->num_gathers]; in host1x_job_add_gather() local
96 gather->words = words; in host1x_job_add_gather()
97 gather->bo = bo; in host1x_job_add_gather()
98 gather->offset = offset; in host1x_job_add_gather()
285 /* pin & patch the relocs for one gather */ in do_relocs()
563 void *gather; in copy_gathers() local
565 /* Copy the gather */ in copy_gathers()
566 gather = host1x_bo_mmap(g->bo); in copy_gathers()
567 memcpy(job->gather_copy_mapped + offset, gather + g->offset, in copy_gathers()
569 host1x_bo_munmap(g->bo, gather); in copy_gathers()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/megaraid/
Dmegaraid_mbox.h94 #define MBOX_MAX_SG_SIZE 32 // maximum scatter-gather list size
117 * @sgl64 : 64-bit scatter-gather list
118 * @sgl32 : 32-bit scatter-gather list
119 * @sgl_dma_h : dma handle for the scatter-gather list
158 * @sg_pool : pool of scatter-gather lists for this driver
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_mbox.h94 #define MBOX_MAX_SG_SIZE 32 // maximum scatter-gather list size
117 * @sgl64 : 64-bit scatter-gather list
118 * @sgl32 : 32-bit scatter-gather list
119 * @sgl_dma_h : dma handle for the scatter-gather list
158 * @sg_pool : pool of scatter-gather lists for this driver
/kernel/linux/linux-5.10/include/linux/
Diommu.h402 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
404 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init()
536 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument
543 * a different granularity, then sync the TLB so that the gather in iommu_iotlb_gather_add_page()
546 if (gather->pgsize != size || in iommu_iotlb_gather_add_page()
547 end + 1 < gather->start || start > gather->end + 1) { in iommu_iotlb_gather_add_page()
548 if (gather->pgsize) in iommu_iotlb_gather_add_page()
549 iommu_iotlb_sync(domain, gather); in iommu_iotlb_gather_add_page()
550 gather->pgsize = size; in iommu_iotlb_gather_add_page()
553 if (gather->end < end) in iommu_iotlb_gather_add_page()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Dsg.h38 { /* call. It defines one scatter-gather element. */
50 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
53 or scatter gather list */
79 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
82 or scatter gather list */
191 /* Yields max scatter gather tablesize allowed by current host adapter */
192 #define SG_GET_SG_TABLESIZE 0x227F /* 0 implies can't do scatter gather */
222 /* Largest size (in bytes) a single scatter-gather list element can have.
225 If scatter-gather is not supported by adapter then this value is the
/kernel/linux/linux-5.10/block/
Dblk-stat.h135 * blk_stat_activate_nsecs() - Gather block statistics during a time window in
138 * @nsecs: Number of nanoseconds to gather statistics for.
154 * blk_stat_activate_msecs() - Gather block statistics during a time window in
157 * @msecs: Number of milliseconds to gather statistics for.
/kernel/linux/linux-6.6/include/scsi/
Dsg.h34 { /* call. It defines one scatter-gather element. */
46 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
49 or scatter gather list */
75 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
78 or scatter gather list */
220 /* Yields max scatter gather tablesize allowed by current host adapter */
221 #define SG_GET_SG_TABLESIZE 0x227F /* 0 implies can't do scatter gather */
251 /* Largest size (in bytes) a single scatter-gather list element can have.
254 If scatter-gather is not supported by adapter then this value is the
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_cma_helper.c416 * drm_gem_cma_prime_get_sg_table - provide a scatter/gather table of pinned
420 * This function exports a scatter/gather table suitable for PRIME usage by
425 * A pointer to the scatter/gather table of pinned pages or NULL on failure.
452 * driver's scatter/gather table of pinned pages
455 * @sgt: scatter/gather table of pinned pages
457 * This function imports a scatter/gather table exported via DMA-BUF by
459 * (i.e. the scatter/gather table must contain a single entry). Drivers that
595 * scatter/gather table and get the virtual address of the buffer
598 * @sgt: Scatter/gather table of pinned pages
600 * This function imports a scatter/gather table using

12345678910>>...63