Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 123) sorted by relevance

12345

/linux-6.6.21/tools/mm/
Dpage_owner_sort.c42 int allocator; member
167 return l1->allocator - l2->allocator; in compare_allocator()
432 int allocator = 0; in get_allocator() local
435 allocator |= ALLOCATOR_CMA; in get_allocator()
437 allocator |= ALLOCATOR_SLAB; in get_allocator()
449 allocator |= ALLOCATOR_VMALLOC; in get_allocator()
451 if (allocator == 0) in get_allocator()
452 allocator = ALLOCATOR_OTHERS; in get_allocator()
453 return allocator; in get_allocator()
532 list[list_size].allocator = get_allocator(buf, ext_buf); in add_list()
[all …]
/linux-6.6.21/net/core/
Dxdp.c91 static void mem_allocator_disconnect(void *allocator) in mem_allocator_disconnect() argument
103 if (xa->allocator == allocator) in mem_allocator_disconnect()
274 void *allocator) in __xdp_reg_mem_model() argument
286 if (!allocator) { in __xdp_reg_mem_model()
315 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model()
327 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem); in __xdp_reg_mem_model()
339 enum xdp_mem_type type, void *allocator) in xdp_reg_mem_model() argument
343 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator); in xdp_reg_mem_model()
351 enum xdp_mem_type type, void *allocator) in xdp_rxq_info_reg_mem_model() argument
360 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator); in xdp_rxq_info_reg_mem_model()
/linux-6.6.21/include/trace/events/
Dxdp.h331 __field(const void *, allocator)
338 __entry->allocator = xa->allocator;
344 __entry->allocator
359 __field(const void *, allocator)
368 __entry->allocator = xa->allocator;
377 __entry->allocator,
/linux-6.6.21/mm/
DKconfig131 prompt "Default allocator"
135 Selects the default allocator for the compressed cache for
148 Use the zbud allocator as the default allocator.
154 Use the z3fold allocator as the default allocator.
160 Use the zsmalloc allocator as the default allocator.
172 tristate "2:1 compression allocator (zbud)"
175 A special purpose allocator for storing compressed pages.
182 tristate "3:1 compression allocator (z3fold)"
185 A special purpose allocator for storing compressed pages.
192 prompt "N:1 compression allocator (zsmalloc)" if ZSWAP
[all …]
/linux-6.6.21/lib/zstd/decompress/
Dzstd_ddict.c169 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict() local
170 return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator); in ZSTD_createDDict()
179 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference() local
180 … return ZSTD_createDDict_advanced(dictBuffer, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto, allocator); in ZSTD_createDDict_byReference()
/linux-6.6.21/Documentation/core-api/
Dmemory-allocation.rst10 or you can directly request pages from the page allocator with
33 zones can be used, how hard the allocator should try to find free
90 useful to understand how hard the page allocator will try to satisfy that
112 **default** page allocator behavior is used. That means that not costly
117 * ``GFP_KERNEL | __GFP_NORETRY`` - overrides the default allocator behavior
122 * ``GFP_KERNEL | __GFP_RETRY_MAYFAIL`` - overrides the default allocator
127 * ``GFP_KERNEL | __GFP_NOFAIL`` - overrides the default allocator behavior
131 Selecting memory allocator
155 request pages from the page allocator. The memory allocated by `vmalloc`
167 cache allocator. The cache should be set up with kmem_cache_create() or
Dgenalloc.rst6 implement a new allocator for a specific range of special-purpose memory;
8 driver for that device can certainly write a little allocator to get the
17 Code using this allocator should include <linux/genalloc.h>. The action
28 those used by the page allocator, but it refers to bytes rather than pages.
104 - gen_pool_first_fit is a simple first-fit allocator; this is the default
113 - gen_pool_best_fit, as one would expect, is a simple best-fit allocator.
Dboot-time-mm.rst8 physical page allocator.
10 A specialized allocator called ``memblock`` performs the
/linux-6.6.21/lib/
Dfortify_kunit.c136 #define DEFINE_ALLOC_SIZE_TEST_PAIR(allocator) \ argument
137 static void alloc_size_##allocator##_const_test(struct kunit *test) \
139 CONST_TEST_BODY(TEST_##allocator); \
141 static void alloc_size_##allocator##_dynamic_test(struct kunit *test) \
143 DYNAMIC_TEST_BODY(TEST_##allocator); \
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-fs-ext45 Controls whether the multiblock allocator should
14 The multiblock allocator will round up allocation
22 The maximum number of extents the multiblock allocator
29 The minimum number of extents the multiblock allocator
88 inode used by the inode allocator in preference to
Dsysfs-class-thermal122 The derivative term of the power allocator governor's PID
130 The integral term of the power allocator governor's PID
139 The proportional term of the power allocator governor's PID
149 The proportional term of the power allocator governor's PID
160 above which the integral term of the power allocator
192 the thermal zone. Used by the power allocator governor. For
/linux-6.6.21/Documentation/trace/
Devents-kmem.rst55 a simple indicator of page allocator activity. Pages may be allocated from
56 the per-CPU allocator (high performance) or the buddy allocator.
58 If pages are allocated directly from the buddy allocator, the
81 In front of the page allocator is a per-cpu page allocator. It exists only
/linux-6.6.21/Documentation/mm/
Dpage_owner.rst33 the page allocator hotpath and if not enabled, then allocation is done
40 most of this code is outside page allocator and its hot path. Building
46 is initialized some time later than that page allocator starts in sparse
177 ator allocator memory allocator for pages
187 ator allocator memory allocator for pages
/linux-6.6.21/rust/alloc/vec/
Dextract_if.rs51 pub fn allocator(&self) -> &A { in allocator() function
52 self.vec.allocator() in allocator()
Ddrain.rs67 pub fn allocator(&self) -> &A { in allocator() method
68 unsafe { self.vec.as_ref().allocator() } in allocator()
/linux-6.6.21/Documentation/driver-api/thermal/
Dpower_allocator.rst2 Power allocator governor tunables
22 The power allocator governor implements a
103 The implementation of the PID controller in the power allocator
202 allocator governor to calculate how much power to give to each cooling
240 a given power set by the power allocator governor to a state that the
263 Limitations of the power allocator governor
266 The power allocator governor's PID controller works best if there is a
/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dpage_owner.rst160 ator allocator 页面的内存分配器
170 ator allocator 页面的内存分配器
/linux-6.6.21/include/net/
Dxdp_priv.h12 void *allocator; member
/linux-6.6.21/drivers/media/mc/
DMakefile7 mc-objs += mc-dev-allocator.o
/linux-6.6.21/tools/perf/Documentation/
Dperf-kmem.txt61 Analyze SLAB allocator events.
64 Analyze page allocator events
/linux-6.6.21/Documentation/filesystems/ext4/
Dallocators.rst18 allocator. When a file is first created, the block allocator
46 directory is created in the root directory, the inode allocator scans
/linux-6.6.21/drivers/bus/fsl-mc/
DMakefile16 fsl-mc-allocator.o \
/linux-6.6.21/Documentation/features/io/dma-contiguous/
Darch-support.txt4 # description: arch supports the DMA CMA (continuous memory allocator)
/linux-6.6.21/Documentation/devicetree/bindings/reserved-memory/
Dshared-dma-pool.yaml51 the default pool of the contiguous memory allocator.
57 the default pool of the consistent DMA allocator.
/linux-6.6.21/drivers/dma-buf/heaps/
DKconfig6 is backed by pages from the buddy allocator. If in doubt, say Y.

12345