| /kernel/linux/linux-5.10/kernel/dma/ |
| D | Kconfig | 111 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
|
| D | contiguous.c | 3 * 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 …]
|
| /kernel/linux/linux-6.6/kernel/dma/ |
| D | Kconfig | 146 bool "DMA Contiguous Memory Allocator" 149 This enables the Contiguous Memory Allocator which allows drivers 150 to allocate big physically-contiguous blocks of memory for use with 156 For more information see <kernel/dma/contiguous.c>. 162 bool "Enable separate DMA Contiguous Memory Area for NUMA Node" 172 comment "Default contiguous memory area size:" 180 Defines the size (in MiB) of the default memory area for Contiguous 191 Defines the size of the default memory area for Contiguous Memory 215 int "Maximum PAGE_SIZE order of alignment for contiguous buffers" 223 specify the maximum PAGE_SIZE order for contiguous buffers. Larger
|
| D | contiguous.c | 3 * 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 209 * dma_contiguous_reserve() - reserve area(s) for contiguous memory handling 263 * dma_contiguous_reserve_area() - reserve custom contiguous area 276 * If @fixed is true, reserve contiguous area at exactly @base. If false, 290 /* Architecture specific contiguous memory fixup. */ in dma_contiguous_reserve_area() 298 * dma_alloc_from_contiguous() - allocate pages from contiguous area [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/arm64/ |
| D | hugetlbpage.rst | 23 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
|
| /kernel/linux/linux-5.10/Documentation/arm64/ |
| D | hugetlbpage.rst | 23 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
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | smc-sysctl.rst | 29 Default: 0 (physically contiguous sndbufs and RMBs) 33 - 0 - Use physically contiguous buffers 34 - 1 - Use virtually contiguous buffers 35 - 2 - Mixed use of the two types. Try physically contiguous buffers first. 36 If not available, use virtually contiguous buffers then.
|
| /kernel/linux/linux-5.10/mm/ |
| D | cma.c | 3 * 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 …]
|
| D | percpu-km.c | 8 * 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"
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| D | dell_rbu.rst | 32 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
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | dell_rbu.rst | 32 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
|
| /kernel/linux/linux-6.6/arch/nios2/ |
| D | Kconfig | 49 int "Order of maximal physically contiguous allocations" 53 contiguous allocations. The limit is called MAX_ORDER and it 55 allocated as a single contiguous block. This option allows 57 large blocks of physically contiguous memory is required.
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_gem_dma_helper.c | 30 * presented to the device as a contiguous chunk of memory. This is useful 37 * are contiguous in the IOVA space so appear contiguous to devices using 41 * objects that are physically contiguous in memory. 122 * The allocated memory will occupy a contiguous chunk of bus address space. 125 * memory will be physically contiguous. For devices that access through an 126 * IOMMU, then the allocated memory is not expected to be physically contiguous 127 * because having contiguous IOVAs is sufficient to meet a devices DMA 183 * The allocated memory will occupy a contiguous chunk of bus address space. 452 * another driver. Imported buffers must be physically contiguous in memory 468 /* check if the entries in the sg_table are contiguous */ in drm_gem_dma_prime_import_sg_table()
|
| D | drm_fb_dma_helper.c | 25 * Provides helper functions for creating a DMA-contiguous framebuffer. 27 * Depending on the platform, the buffers may be physically non-contiguous and 29 * physically-contiguous memory (using, for instance, CMA or a pool of memory 34 * callback function to create a DMA-contiguous framebuffer.
|
| /kernel/linux/linux-6.6/mm/ |
| D | cma.c | 3 * Contiguous Memory Allocator 163 * cma_init_reserved_mem() - create custom contiguous area from reserved memory 172 * This function creates custom contiguous area from already reserved memory. 216 * cma_declare_contiguous_nid() - reserve custom contiguous area 232 * If @fixed is true, reserve contiguous area at exactly @base. If false, 416 * cma_alloc() - allocate pages from contiguous area 417 * @cma: Contiguous memory region for which the allocation is performed. 422 * This function allocates part of contiguous memory on specific 423 * contiguous memory area. 548 * @cma: Contiguous memory region for which the allocation is performed. [all …]
|
| D | percpu-km.c | 8 * 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"
|
| /kernel/linux/linux-5.10/Documentation/driver-api/media/ |
| D | v4l2-videobuf.rst | 45 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
|
| /kernel/linux/linux-6.6/Documentation/driver-api/media/ |
| D | v4l2-videobuf.rst | 45 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
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
| D | exynos_drm_gem.c | 31 * 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
| D | exynos_drm_gem.c | 36 * if EXYNOS_BO_CONTIG, fully physically contiguous memory in exynos_drm_alloc_buf() 37 * region will be allocated else physically contiguous in exynos_drm_alloc_buf() 210 * contiguous anyway, so drop EXYNOS_BO_NONCONTIG flag in exynos_drm_gem_create() 213 …DRM_WARN("Non-contiguous allocation is not supported without IOMMU, falling back to contiguous buf… in exynos_drm_gem_create() 435 /* check if the entries in the sg_table are contiguous */ in exynos_drm_gem_prime_import_sg_table() 446 * Buffer has been mapped as contiguous into DMA address space, in exynos_drm_gem_prime_import_sg_table()
|
| /kernel/linux/linux-6.6/Documentation/mm/ |
| D | memory-model.rst | 9 spans a contiguous range up to the maximal address. It could be, 11 for the CPU. Then there could be several contiguous ranges at 35 non-NUMA systems with contiguous, or mostly contiguous, physical 114 page *vmemmap` pointer that points to a virtually contiguous array of
|
| /kernel/linux/linux-5.10/arch/arm64/mm/ |
| D | hugetlbpage.c | 149 * 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
|
| /kernel/linux/linux-6.6/arch/sh/mm/ |
| D | Kconfig | 22 int "Order of maximal physically contiguous allocations" 29 contiguous allocations. The limit is called MAX_ORDER and it 31 allocated as a single contiguous block. This option allows 33 large blocks of physically contiguous memory is required.
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
| D | nommu-mmap.rst | 24 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.
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/ |
| D | nommu-mmap.rst | 24 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.
|