/linux-6.3-rc2/include/linux/ |
A D | ioasid.h | 40 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 D | page_owner_sort.c | 42 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 D | xdp.c | 91 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 D | xdp.h | 330 __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 D | memory-allocation.rst | 10 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 D | genalloc.rst | 6 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 D | boot-time-mm.rst | 8 physical page allocator. 10 A specialized allocator called ``memblock`` performs the
|
/linux-6.3-rc2/mm/ |
A D | Kconfig | 116 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 D | zstd_ddict.c | 169 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 D | fortify_kunit.c | 136 #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 D | sysfs-fs-ext4 | 5 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 D | sysfs-class-thermal | 122 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 D | events-kmem.rst | 55 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 D | page_owner.rst | 33 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 D | page_pool.rst | 7 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 D | power_allocator.rst | 2 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 D | page_owner.rst | 160 ator allocator 页面的内存分配器 170 ator allocator 页面的内存分配器
|
/linux-6.3-rc2/rust/alloc/vec/ |
A D | drain_filter.rs | 56 pub fn allocator(&self) -> &A { in allocator() function 57 self.vec.allocator() in allocator()
|
A D | drain.rs | 67 pub fn allocator(&self) -> &A { in allocator() method 68 unsafe { self.vec.as_ref().allocator() } in allocator()
|
/linux-6.3-rc2/include/net/ |
A D | xdp_priv.h | 12 void *allocator; member
|
/linux-6.3-rc2/drivers/media/mc/ |
A D | Makefile | 7 mc-objs += mc-dev-allocator.o
|
/linux-6.3-rc2/tools/perf/Documentation/ |
A D | perf-kmem.txt | 61 Analyze SLAB allocator events. 64 Analyze page allocator events
|
/linux-6.3-rc2/Documentation/filesystems/ext4/ |
A D | allocators.rst | 18 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 D | Makefile | 16 fsl-mc-allocator.o \
|
/linux-6.3-rc2/Documentation/features/io/dma-contiguous/ |
A D | arch-support.txt | 4 # description: arch supports the DMA CMA (continuous memory allocator)
|