Home
last modified time | relevance | path

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

12345678910>>...31

/linux/kernel/dma/
H A 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
69 * dma_contiguous_get_area_by_idx() - Get contiguous area at given index
72 * Queries for the contiguous area located at index @idx.
75 * A pointer to the requested contiguous area, or NULL otherwise.
242 * dma_contiguous_reserve() - reserve area(s) for contiguous memory handling
322 * dma_contiguous_reserve_area() - reserve custom contiguous area
[all …]
H A DKconfig180 bool "DMA Contiguous Memory Allocator"
183 This enables the Contiguous Memory Allocator which allows drivers
184 to allocate big physically-contiguous blocks of memory for use with
190 For more information see <kernel/dma/contiguous.c>.
196 bool "Enable separate DMA Contiguous Memory Area for NUMA Node"
218 comment "Default contiguous memory area size:"
226 Defines the size (in MiB) of the default memory area for Contiguous
237 Defines the size of the default memory area for Contiguous Memory
261 int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
269 specify the maximum PAGE_SIZE order for contiguous buffers. Larger
/linux/drivers/iommu/generic_pt/
H A Dpt_common.h16 * The routines marked "@pts: Entry to query" operate on the entire contiguous
67 * @num_contig_lg2: Number of contiguous items to clear
97 * concurrent update from HW. The entire contiguous entry is changed.
106 * by this entry. If the entry is contiguous then the consolidated
118 * pt_entry_num_contig_lg2() - Number of contiguous items for this leaf entry
121 * Return the number of contiguous items this leaf entry spans. If the entry
131 * is contiguous this returns the same value for each sub-item. I.e.::
144 * If the entry is not contiguous this returns pt_table_item_lg2sz(), otherwise
145 * it returns the total VA/OA size of the entire contiguous entry.
196 * For a single item non-contiguous entry oasz_lg2 is pt_table_item_lg2sz().
[all …]
H A Dpt_fmt_defaults.h40 * If not supplied by the format then contiguous pages are not supported.
42 * If contiguous pages are supported then the format must also provide
43 * pt_contig_count_lg2() if it supports a single contiguous size per level,
53 * Return the number of contiguous OA items forming an entry at this table level
95 * pt_entry_oa - OA is at the start of a contiguous entry
97 * pt_item_oa - OA is adjusted for every item in a contiguous entry
144 * If not supplied by the format then assume only one contiguous size determined
212 /* For a contiguous entry the sw bit is only stored in the first item. */ in pt_test_sw_bit_acquire()
/linux/tools/testing/selftests/resctrl/
H A Dcat_test.c227 /* Get the largest contiguous exclusive portion of the cache */ in cat_test()
274 /* AMD and Hygon always support non-contiguous CBM. */ in cat_run_test()
280 /* Intel support for non-contiguous CBM needs to be discovered. */ in cat_run_test()
308 ksft_print_msg("Hardware and kernel differ on non-contiguous CBM support!\n"); in arch_supports_noncont_cat()
327 /* Contiguous mask write check. */ in noncont_cat_run_test()
331 ksft_print_msg("Write of contiguous CBM failed\n"); in noncont_cat_run_test()
336 * Non-contiguous mask write check. CBM has a 0xf hole approximately in the middle. in noncont_cat_run_test()
343 ksft_print_msg("Non-contiguous CBMs supported but write of non-contiguous CBM failed\n"); in noncont_cat_run_test()
345 ksft_print_msg("Non-contiguous CBM in noncont_cat_run_test()
[all...]
/linux/Documentation/arch/arm64/
H A 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/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
H A Dsve.json188 …ecuted operations that prefetch memory due to an SVE predicated single contiguous element prefetch…
192 … reads from memory with a non-temporal hint due to an SVE non-temporal contiguous element load ins…
196 …t writes to memory with a non-temporal hint due to an SVE non-temporal contiguous element store in…
200 …ions that read from memory due to Advanced SIMD or SVE multiple vector contiguous structure load i…
204 …tions that write to memory due to Advanced SIMD or SVE multiple vector contiguous structure store …
208 …chitecturally executed operations that read from memory due to SVE non-contiguous gather-load inst…
212 …rchitecturally executed operations that write to memory due to SVE non-contiguous scatter-store in…
216 …rchitecturally executed operations that prefetch memory due to SVE non-contiguous gather-prefetch …
/linux/Documentation/admin-guide/
H A 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/Documentation/driver-api/cxl/allocation/
H A Dhugepages.rst7 Contiguous Memory Allocator
11 carves out contiguous capacity.
15 at :code:`__init` time - when CMA carves out contiguous capacity.
/linux/arch/nios2/
H A DKconfig51 int "Order of maximal physically contiguous allocations"
55 contiguous allocations. The limit is called MAX_PAGE_ORDER and it
57 allocated as a single contiguous block. This option allows
59 large blocks of physically contiguous memory is required.
/linux/arch/sh/mm/
H A DKconfig34 int "Order of maximal physically contiguous allocations"
41 contiguous allocations. The limit is called MAX_PAGE:_ORDER and it
43 allocated as a single contiguous block. This option allows
45 large blocks of physically contiguous memory is required.
/linux/arch/arm64/mm/
H A Dhugetlbpage.c142 * Changing some bits of contiguous entries requires us to follow a
143 * Break-Before-Make approach, breaking the whole contiguous set
145 * "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.
395 * For a contiguous huge pte range we need to check whether or not write
397 * all the contiguous ptes we need to check whether or not there is a
/linux/drivers/iio/common/cros_ec_sensors/
H A DKconfig17 tristate "ChromeOS EC Contiguous Sensors"
20 Module to handle 3d contiguous sensors like
/linux/Documentation/core-api/
H A Dswiotlb.rst64 buffer memory is physically contiguous. The expectation is that the DMA layer
90 allocations must be physically contiguous, the entire default memory pool is
91 allocated as a single contiguous block.
150 the life of the system. Each pool must be a contiguous range of physical
157 current definitions. IO_TLB_SEGSIZE contiguous slots (128 slots) constitute
159 occupies one or more contiguous slots. A slot is never shared by multiple
214 must be physically contiguous, so the size is limited to MAX_PAGE_ORDER pages
288 in struct io_tlb_slot records how many contiguous available slots exist starting
/linux/sound/pci/ctxfi/
H A 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/Documentation/devicetree/bindings/gpio/
H A Drenesas,em-gio.yaml18 - description: First set of contiguous registers
19 - description: Second set of contiguous registers
/linux/rust/kernel/alloc/
H A Dallocator.rs36 /// The contiguous kernel allocator.
38 /// `Kmalloc` is typically used for physically contiguous allocations up to page size, but also
44 /// The virtually contiguous kernel allocator.
46 /// `Vmalloc` allocates pages from the page level allocator and maps them into the contiguous kernel
48 /// allocator is not physically contiguous.
/linux/arch/m68k/
H A DKconfig.cpu405 Ignore all but the first contiguous chunk of physical memory for VM
413 int "Order of maximal physically contiguous allocations" if ADVANCED
418 contiguous allocations. The limit is called MAX_PAGE_ORDER and it
420 allocated as a single contiguous block. This option allows
422 large blocks of physically contiguous memory is required.
/linux/net/core/
H A Dtso.c158 * Prefers the DMA IOVA API (one contiguous mapping, one IOTLB sync);
263 * Counts how many contiguous DMA region chunks the next @len bytes
265 * is always 1 (contiguous). On the fallback path, uses region sizes
313 * On the IOVA path, the entire payload is contiguous so each segment
327 /* IOVA path: contiguous DMA range, no region boundaries */ in tso_dma_map_next()
/linux/mm/
H A Dcma.c3 * Contiguous Memory Allocator
262 * cma_init_reserved_mem() - create custom contiguous area from reserved memory
271 * This function creates custom contiguous area from already reserved memory.
720 * cma_declare_contiguous_nid() - reserve custom contiguous area
736 * If @fixed is true, reserve contiguous area at exactly @base. If false,
825 * Do not hand out page ranges that are not contiguous, so in cma_range_alloc()
940 * cma_alloc() - allocate pages from contiguous area
941 * @cma: Contiguous memory region for which the allocation is performed.
946 * This function allocates part of contiguous memory on specific
947 * contiguous memory area.
[all …]
/linux/tools/mm/
H A Dthpmaps316 # dictionary of statistics describing the contiguous blocks.
541 additional statistics for "contiguous block mappings" where
582 Contiguous Block Statistics\\n
586 every contiguous block size specified with `--cont <size>`.
588 contiguous blocks of <size> and also aligned to <size>. A
589 given contiguous block must all belong to the same THP, but
591 Separate counters describe contiguous blocks mapped by PTE
599 As an example, if monitoring 64K contiguous blocks (--cont
634 help="""Adds stats for memory that is mapped in contiguous blocks of
/linux/arch/sparc/
H A DKconfig280 int "Order of maximal physically contiguous allocations"
284 contiguous allocations. The limit is called MAX_PAGE_ORDER and it
286 allocated as a single contiguous block. This option allows
288 large blocks of physically contiguous memory is required.
/linux/drivers/net/dsa/microchip/
H A Dksz9477_acl.c206 * ksz9477_acl_get_cont_entr - Get count of contiguous ACL entries and validate
223 * linked Matching rules are contiguous in terms of their indices. It calculates
224 * and returns the number of these contiguous entries.
229 * - The number of contiguous entries if it is the root entry of a complex
271 /* Calculate the contiguous count */ in ksz9477_acl_get_cont_entr()
283 /* loop over the contiguous entries and check for valid matching rules */ in ksz9477_acl_get_cont_entr()
395 * @src_count: Pointer to the variable that will hold the number of contiguous
397 * @dst_count: Pointer to the variable that will hold the number of contiguous
402 * range, and if the source entries are contiguous. Additionally, the function
405 * validations pass, the function returns the number of contiguous source and
[all …]
/linux/Documentation/admin-guide/mm/
H A Dconcepts.rst22 necessarily contiguous; it might be accessible as a set of distinct
198 scattered physical pages as virtually contiguous range, sometimes it is
199 necessary to allocate large physically contiguous memory areas. Such
206 physically contiguous areas become possible.
/linux/Documentation/devicetree/bindings/soc/fsl/
H A Dfsl,qman-fqd.yaml13 QMan requires two contiguous range of physical memory used for the backing store
17 BMan requires a contiguous range of physical memory used for the backing store

12345678910>>...31