Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/include/linux/
A Dioasid.h40 int ioasid_register_allocator(struct ioasid_allocator_ops *allocator);
41 void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator);
63 static inline int ioasid_register_allocator(struct ioasid_allocator_ops *allocator) in ioasid_register_allocator() argument
68 static inline void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator) in ioasid_unregister_allocator() argument
/linux-6.3-rc2/tools/mm/
A 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()
660 if (allocator & ALLOCATOR_CMA) in print_allocator()
[all …]
/linux-6.3-rc2/net/core/
A 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.3-rc2/include/trace/events/
A Dxdp.h330 __field(const void *, allocator)
337 __entry->allocator = xa->allocator;
343 __entry->allocator
358 __field(const void *, allocator)
367 __entry->allocator = xa->allocator;
376 __entry->allocator,
/linux-6.3-rc2/Documentation/core-api/
A 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
A 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.
A Dboot-time-mm.rst8 physical page allocator.
10 A specialized allocator called ``memblock`` performs the
/linux-6.3-rc2/mm/
A DKconfig116 prompt "Default allocator"
133 Use the zbud allocator as the default allocator.
139 Use the z3fold allocator as the default allocator.
145 Use the zsmalloc allocator as the default allocator.
157 tristate "2:1 compression allocator (zbud)"
213 menu "SLAB allocator options"
216 prompt "Choose SLAB allocator"
239 a slab allocator.
299 allocator against heap overflows.
336 endmenu # SLAB allocator options
[all …]
/linux-6.3-rc2/lib/zstd/decompress/
A 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.3-rc2/lib/
A 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.3-rc2/Documentation/ABI/testing/
A 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
A 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.3-rc2/Documentation/trace/
A 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.3-rc2/Documentation/mm/
A 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.3-rc2/Documentation/networking/
A Dpage_pool.rst7 The page_pool allocator is optimized for the XDP mode that uses one frame
8 per-page, but it can fallback on the regular page allocator APIs.
79 the allocator owns the page and will try to recycle it in one of the pool
93 * page_pool_dev_alloc_pages(): Get a page from the page allocator or page_pool
102 page_pool_put_page_bulk() will release leftover pages to the page allocator.
/linux-6.3-rc2/Documentation/driver-api/thermal/
A 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.3-rc2/Documentation/translations/zh_CN/mm/
A Dpage_owner.rst160 ator allocator 页面的内存分配器
170 ator allocator 页面的内存分配器
/linux-6.3-rc2/rust/alloc/vec/
A Ddrain_filter.rs56 pub fn allocator(&self) -> &A { in allocator() function
57 self.vec.allocator() in allocator()
A Ddrain.rs67 pub fn allocator(&self) -> &A { in allocator() method
68 unsafe { self.vec.as_ref().allocator() } in allocator()
/linux-6.3-rc2/include/net/
A Dxdp_priv.h12 void *allocator; member
/linux-6.3-rc2/drivers/media/mc/
A DMakefile7 mc-objs += mc-dev-allocator.o
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-kmem.txt61 Analyze SLAB allocator events.
64 Analyze page allocator events
/linux-6.3-rc2/Documentation/filesystems/ext4/
A 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.3-rc2/drivers/bus/fsl-mc/
A DMakefile16 fsl-mc-allocator.o \
/linux-6.3-rc2/Documentation/features/io/dma-contiguous/
A Darch-support.txt4 # description: arch supports the DMA CMA (continuous memory allocator)

Completed in 45 milliseconds

12345