Home
last modified time | relevance | path

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

12345

/linux-6.1.9/include/linux/
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.1.9/tools/vm/
Dpage_owner_sort.c42 int allocator; member
167 return l1->allocator - l2->allocator; in compare_allocator()
431 int allocator = 0; in get_allocator() local
434 allocator |= ALLOCATOR_CMA; in get_allocator()
436 allocator |= ALLOCATOR_SLAB; in get_allocator()
448 allocator |= ALLOCATOR_VMALLOC; in get_allocator()
450 if (allocator == 0) in get_allocator()
451 allocator = ALLOCATOR_OTHERS; in get_allocator()
452 return allocator; in get_allocator()
531 list[list_size].allocator = get_allocator(buf, ext_buf); in add_list()
[all …]
/linux-6.1.9/net/core/
Dxdp.c89 static void mem_allocator_disconnect(void *allocator) in mem_allocator_disconnect() argument
101 if (xa->allocator == allocator) in mem_allocator_disconnect()
272 void *allocator) in __xdp_reg_mem_model() argument
284 if (!allocator) { in __xdp_reg_mem_model()
313 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model()
325 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem); in __xdp_reg_mem_model()
337 enum xdp_mem_type type, void *allocator) in xdp_reg_mem_model() argument
341 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator); in xdp_reg_mem_model()
349 enum xdp_mem_type type, void *allocator) in xdp_rxq_info_reg_mem_model() argument
358 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator); in xdp_rxq_info_reg_mem_model()
/linux-6.1.9/include/trace/events/
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.1.9/mm/
DKconfig116 prompt "Default allocator"
120 Selects the default allocator for the compressed cache for
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)"
160 A special purpose allocator for storing compressed pages.
167 tristate "3:1 compression allocator (z3fold)"
170 A special purpose allocator for storing compressed pages.
177 prompt "N:1 compression allocator (zsmalloc)" if ZSWAP
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/Documentation/mm/
Dpage_owner.rst35 the page allocator hotpath and if not enabled, then allocation is done
42 most of this code is outside page allocator and its hot path. Building
48 is initialized some time later than that page allocator starts in sparse
179 ator allocator memory allocator for pages
189 ator allocator memory allocator for pages
/linux-6.1.9/Documentation/networking/
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.1.9/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.1.9/rust/alloc/vec/
Ddrain_filter.rs56 pub fn allocator(&self) -> &A { in allocator() function
57 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.1.9/include/net/
Dxdp_priv.h12 void *allocator; member
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dpage_owner.rst171 ator allocator 页面的内存分配器
181 ator allocator 页面的内存分配器
/linux-6.1.9/drivers/media/mc/
DMakefile7 mc-objs += mc-dev-allocator.o
/linux-6.1.9/tools/perf/Documentation/
Dperf-kmem.txt61 Analyze SLAB allocator events.
64 Analyze page allocator events
/linux-6.1.9/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.1.9/drivers/bus/fsl-mc/
DMakefile16 fsl-mc-allocator.o \
/linux-6.1.9/rust/kernel/
Dlib.rs24 mod allocator; module
/linux-6.1.9/Documentation/features/io/dma-contiguous/
Darch-support.txt4 # description: arch supports the DMA CMA (continuous memory allocator)

12345