Home
last modified time | relevance | path

Searched full:contiguous (Results 1 – 25 of 875) sorted by relevance

12345678910>>...35

/Linux-v5.10/kernel/dma/
DKconfig111 bool "DMA Contiguous Memory Allocator"
114 This enables the Contiguous Memory Allocator which allows drivers
115 to allocate big physically-contiguous blocks of memory for use with
121 For more information see <kernel/dma/contiguous.c>.
127 bool "Enable separate DMA Contiguous Memory Area for each NUMA Node"
136 comment "Default contiguous memory area size:"
144 Defines the size (in MiB) of the default memory area for Contiguous
155 Defines the size of the default memory area for Contiguous Memory
179 int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
187 specify the maximum PAGE_SIZE order for contiguous buffers. Larger
Dcontiguous.c3 * Contiguous Memory Allocator for DMA mapping framework
9 * Contiguous Memory Allocator
11 * The Contiguous Memory Allocator (CMA) makes it possible to
12 * allocate big contiguous chunks of memory after the system has
18 * IO map support and require contiguous blocks of memory to
159 * dma_contiguous_reserve() - reserve area(s) for contiguous memory handling
211 * dma_contiguous_reserve_area() - reserve custom contiguous area
224 * If @fixed is true, reserve contiguous area at exactly @base. If false,
238 /* Architecture specific contiguous memory fixup. */ in dma_contiguous_reserve_area()
246 * dma_alloc_from_contiguous() - allocate pages from contiguous area
[all …]
/Linux-v5.10/Documentation/arm64/
Dhugetlbpage.rst23 2) Using the Contiguous bit
26 The architecture provides a contiguous bit in the translation table entries
28 contiguous set of entries that can be cached in a single TLB entry.
30 The contiguous bit is used in Linux to increase the mapping size at the pmd and
31 pte (last) level. The number of supported contiguous entries varies by page size
/Linux-v5.10/mm/
Dcma.c3 * Contiguous Memory Allocator
156 * cma_init_reserved_mem() - create custom contiguous area from reserved memory
165 * This function creates custom contiguous area from already reserved memory.
217 * cma_declare_contiguous_nid() - reserve custom contiguous area
233 * If @fixed is true, reserve contiguous area at exactly @base. If false,
271 * you couldn't get a contiguous memory, which is not what we want. in cma_declare_contiguous_nid()
402 * cma_alloc() - allocate pages from contiguous area
403 * @cma: Contiguous memory region for which the allocation is performed.
408 * This function allocates part of contiguous memory on specific
409 * contiguous memory area.
[all …]
Dpercpu-km.c8 * Chunks are allocated as a contiguous kernel memory using gfp
24 * PAGE_SIZE. Because each chunk is allocated as a contiguous
30 #error "contiguous percpu allocation is incompatible with paged first chunk"
DKconfig221 significantly the number of 2MB contiguous memory blocks that can be
237 high order (larger physically contiguous) memory blocks
365 The NOMMU mmap() frequently needs to allocate large contiguous chunks
487 bool "Contiguous Memory Allocator"
492 This enables the Contiguous Memory Allocator which allows other
493 subsystems to allocate big physically-contiguous blocks of memory.
496 pagecache and when a subsystem requests for contiguous area, the
497 allocated pages are migrated away to serve the contiguous request.
/Linux-v5.10/Documentation/admin-guide/
Ddell_rbu.rst32 image methods. In case of monolithic the driver allocates a contiguous chunk
35 would place each packet in contiguous physical memory. The driver also
57 copied to a single contiguous block of physical memory.
60 of contiguous memory and the BIOS image is scattered in these packets.
84 the file and spreads it across the physical memory in contiguous packet_sized
/Linux-v5.10/Documentation/driver-api/media/
Dv4l2-videobuf.rst45 contiguous; buffers allocated with vmalloc(), in other words. These
47 useful in situations where DMA is not available but virtually-contiguous
50 - Buffers which are physically contiguous. Allocation of this kind of
76 <media/videobuf-dma-contig.h> /* Physically contiguous */
146 /* Contiguous drivers */
335 same is normally true of contiguous-DMA drivers as well; videobuf will
342 As of 2.6.31, contiguous-DMA drivers can work with a user-supplied buffer,
343 as long as that buffer is physically contiguous. Normal user-space
385 For contiguous DMA drivers, the function to use is:
391 The contiguous DMA API goes out of its way to hide the kernel-space address
/Linux-v5.10/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c31 * if EXYNOS_BO_CONTIG, fully physically contiguous memory in exynos_drm_alloc_buf()
32 * region will be allocated else physically contiguous in exynos_drm_alloc_buf()
191 * contiguous anyway, so drop EXYNOS_BO_NONCONTIG flag in exynos_drm_gem_create()
194 …DRM_WARN("Non-contiguous allocation is not supported without IOMMU, falling back to contiguous buf… in exynos_drm_gem_create()
432 /* check if the entries in the sg_table are contiguous */ in exynos_drm_gem_prime_import_sg_table()
443 * Buffer has been mapped as contiguous into DMA address space, in exynos_drm_gem_prime_import_sg_table()
/Linux-v5.10/arch/arm64/mm/
Dhugetlbpage.c149 * Changing some bits of contiguous entries requires us to follow a
150 * Break-Before-Make approach, breaking the whole contiguous set
152 * "Misprogramming of the Contiguous bit", page D4-1762.
189 * Changing some bits of contiguous entries requires us to follow a
190 * Break-Before-Make approach, breaking the whole contiguous set
192 * "Misprogramming of the Contiguous bit", page D4-1762.
390 * For a contiguous huge pte range we need to check whether or not write
392 * all the contiguous ptes we need to check whether or not there is a
/Linux-v5.10/Documentation/admin-guide/mm/
Dnommu-mmap.rst24 In the no-MMU case: VM regions backed by arbitrary contiguous runs of
52 appropriate bit of the file will be read into a contiguous bit of
83 sequence by providing a contiguous sequence of pages to map. In that
93 blockdev must be able to provide a contiguous run of pages without
95 all its memory as a contiguous array upfront.
252 filesystem providing the service will probably allocate a contiguous collection
269 should allocate sufficient contiguous memory to honour any supported mapping.
/Linux-v5.10/drivers/iio/common/cros_ec_sensors/
DKconfig17 tristate "ChromeOS EC Contiguous Sensors"
20 Module to handle 3d contiguous sensors like
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h172 bool contiguous; /** memory is allocated physically contiguously */ member
248 /* @brief Allocate a contiguous CSS frame structure
258 * Contiguous frame allocation, only for FPGA display driver which needs
259 * physically contiguous memory.
270 /* @brief Allocate a contiguous CSS frame from a frame info structure.
279 * Only for FPGA display driver which needs physically contiguous memory.
/Linux-v5.10/Documentation/vm/
Dmemory-model.rst11 spans a contiguous range up to the maximal address. It could be,
13 for the CPU. Then there could be several contiguous ranges at
41 non-NUMA systems with contiguous, or mostly contiguous, physical
158 page *vmemmap` pointer that points to a virtually contiguous array of
/Linux-v5.10/Documentation/driver-api/dmaengine/
Dprovider.rst47 that involve a single contiguous block of data. However, some of the
49 non-contiguous buffers to a contiguous buffer, which is called
216 - If you want to transfer a single contiguous memory buffer,
233 - These transfers can transfer data from a non-contiguous buffer
234 to a non-contiguous buffer, opposed to DMA_SLAVE that can
235 transfer data from a non-contiguous data set to a continuous
626 - Chunk: A contiguous collection of bursts
628 - Transfer: A collection of chunks (be it contiguous or not)
/Linux-v5.10/drivers/gpu/drm/
Ddrm_gem_cma_helper.c3 * drm gem CMA (contiguous memory allocator) helper functions
28 * The Contiguous Memory Allocator reserves a pool of memory at early boot
29 * that is used to service requests for large blocks of contiguous memory.
32 * objects that are physically contiguous in memory. This is useful for
85 * This function creates a CMA GEM object and allocates a contiguous chunk of
130 * This function creates a CMA GEM object, allocating a physically contiguous
458 * another driver. Imported buffers must be physically contiguous in memory
474 /* check if the entries in the sg_table are contiguous */ in drm_gem_cma_prime_import_sg_table()
Ddrm_fb_cma_helper.c3 * drm kms/fb cma (contiguous memory allocator) helper functions
23 * Provides helper functions for creating a cma (contiguous memory allocator)
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Drenesas,em-gio.yaml18 - description: First set of contiguous registers
19 - description: Second set of contiguous registers
/Linux-v5.10/sound/pci/ctxfi/
Dctresource.c37 break; /* found sufficient contiguous resources */ in get_resource()
41 /* Can not find sufficient contiguous resources */ in get_resource()
45 /* Mark the contiguous bits in resource bit-map as used */ in get_resource()
62 /* Mark the contiguous bits in resource bit-map as used */ in put_resource()
/Linux-v5.10/arch/ia64/kernel/
Duncached.c173 * @n_pages: number of contiguous pages to allocate
175 * Allocate the specified number of contiguous uncached pages on the
176 * the requested node. If not enough contiguous uncached pages are available
216 * @n_pages: number of contiguous pages to free
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c81 bool contiguous);
88 bool contiguous,
537 const bool contiguous) in ia_css_frame_allocate_with_buffer_size() argument
543 0, 0, contiguous, false); in ia_css_frame_allocate_with_buffer_size()
682 frame->contiguous = true; in frame_init_mipi_plane()
806 frame->contiguous ? in frame_allocate_buffer_data()
820 bool contiguous) in frame_allocate_with_data() argument
828 contiguous, in frame_allocate_with_data()
858 bool contiguous, in frame_create() argument
872 me->contiguous = contiguous; in frame_create()
/Linux-v5.10/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt72 region for the default pool of the contiguous memory allocator.
88 This example defines 3 contiguous regions are defined for Linux kernel:
106 /* global autoconfigured region for contiguous allocations */
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_rmap.c849 * left edge contiguous, merge into left record. in xfs_rmap_map()
864 * right edge also contiguous, delete right record in xfs_rmap_map()
899 * right edge contiguous, merge into right record. in xfs_rmap_map()
916 * no contiguous edge with identical owner, insert in xfs_rmap_map()
1156 * The left and right neighbors are both contiguous with new. in xfs_rmap_convert()
1211 * The left neighbor is contiguous, the right is not. in xfs_rmap_convert()
1241 * The right neighbor is contiguous, the left is not. in xfs_rmap_convert()
1279 * Neither the left nor right neighbors are contiguous with in xfs_rmap_convert()
1292 * The left neighbor is contiguous. in xfs_rmap_convert()
1314 * The left neighbor is not contiguous. in xfs_rmap_convert()
[all …]
/Linux-v5.10/arch/c6x/
DKconfig91 The kernel memory allocator divides physically contiguous memory
95 blocks of physically contiguous memory, then you may need to
/Linux-v5.10/fs/jfs/
Djfs_dmap.c403 * nblocks - number of contiguous blocks in the range.
652 * FUNCTION: attempt to allocate a specified number of contiguous free
678 * nblocks - number of contiguous blocks in the range.
680 * of the newly allocated contiguous range.
943 * allocate a new set of contiguous blocks large enough
950 * nblocks - number of contiguous blocks within the current
955 * was extended in place or to a newly allocated contiguous
982 * a range of contiguous blocks large enough to cover the in dbReAlloc()
1004 * nblocks - number of contiguous blocks within the current
1103 * nblocks - number of contiguous free blocks of the range.
[all …]

12345678910>>...35