| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | iova_allocator.c | 27 struct iova_allocator *allocator; in iova_allocator_init() 34 allocator = malloc_assert(sizeof(*allocator)); in iova_allocator_init() 36 *allocator = (struct iova_allocator){ in iova_allocator_init() 43 return allocator; 46 void iova_allocator_cleanup(struct iova_allocator *allocator) in iova_allocator_cleanup() 48 free(allocator->ranges); in iova_allocator_cleanup() 49 free(allocator); 52 iova_t iova_allocator_alloc(struct iova_allocator *allocator, size_t size) in iova_allocator_alloc() 64 VFIO_ASSERT_LT(allocator in iova_allocator_alloc() 25 struct iova_allocator *allocator; iova_allocator_init() local 44 iova_allocator_cleanup(struct iova_allocator * allocator) iova_allocator_cleanup() argument 50 iova_allocator_alloc(struct iova_allocator * allocator,size_t size) iova_allocator_alloc() argument [all...] |
| /linux/tools/mm/ |
| H A D | page_owner_sort.c | 41 int allocator; 186 return l1->allocator - l2->allocator; in compare_ts() 476 else if (!strcmp(arg, "allocator") || !strcmp(arg, "ator")) in add_list() 488 int allocator = 0; in add_list() 491 allocator |= ALLOCATOR_CMA; in add_list() 493 allocator |= ALLOCATOR_SLAB; in add_list() 505 allocator |= ALLOCATOR_VMALLOC; in add_list() 507 if (allocator == 0) in add_list() 508 allocator in add_list() 39 int allocator; global() member 413 int allocator = 0; get_allocator() local 622 print_allocator(FILE * out,int allocator) print_allocator() argument [all...] |
| /linux/Documentation/driver-api/cxl/allocation/ |
| H A D | page-allocator.rst | 7 The kernel page allocator services all general page allocation requests, such 9 allocator based on the selected `Memory Zone` and `NUMA node` the capacity is 13 allocator (as of Linux v6.15) rather than the overall page allocator behavior. 31 As of v6.15, the page allocator attempts to allocate from the highest 39 To simplify this, the page allocator will prefer :code:`ZONE_MOVABLE` over
|
| /linux/include/trace/events/ |
| H A D | xdp.h | 314 __field(const void *, allocator) 321 __entry->allocator = xa->allocator; 327 __entry->allocator 342 __field(const void *, allocator) 351 __entry->allocator = xa->allocator; 360 __entry->allocator,
|
| /linux/net/core/ |
| H A D | xdp.c | 93 static void mem_allocator_disconnect(void *allocator) in mem_allocator_disconnect() argument 105 if (xa->allocator == allocator) in mem_allocator_disconnect() 273 void *allocator) in __xdp_reg_mem_model() argument 285 if (!allocator) { in __xdp_reg_mem_model() 312 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model() 324 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem); in __xdp_reg_mem_model() 336 enum xdp_mem_type type, void *allocator) in xdp_reg_mem_model() argument 340 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator); in xdp_reg_mem_model() 348 enum xdp_mem_type type, void *allocator) in xdp_rxq_info_reg_mem_model() argument 357 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator); in xdp_rxq_info_reg_mem_model() [all …]
|
| /linux/drivers/firmware/qcom/ |
| H A D | Kconfig | 39 bool "TrustZone interface memory allocator: SHM Bridge" 42 Use Qualcomm Shared Memory Bridge as memory allocator. The memory has the 43 same alignment as in the 'Generic' allocator, which is used when this option 47 using the TZMem allocator or else the TrustZone will refuse to use them.
|
| /linux/tools/testing/selftests/vfio/lib/include/libvfio/ |
| H A D | iova_allocator.h | 19 void iova_allocator_cleanup(struct iova_allocator *allocator); 20 iova_t iova_allocator_alloc(struct iova_allocator *allocator, size_t size);
|
| /linux/Documentation/core-api/ |
| H A D | memory-allocation.rst | 10 or you can directly request pages from the page allocator with 41 zones can be used, how hard the allocator should try to find free 99 useful to understand how hard the page allocator will try to satisfy that 121 **default** page allocator behavior is used. That means that not costly 126 * ``GFP_KERNEL | __GFP_NORETRY`` - overrides the default allocator behavior 131 * ``GFP_KERNEL | __GFP_RETRY_MAYFAIL`` - overrides the default allocator 136 * ``GFP_KERNEL | __GFP_NOFAIL`` - overrides the default allocator behavior 140 Selecting memory allocator 170 which matches the page allocator's MAX_PAGE_ORDER limit. 172 Internally, the slab allocator differentiate [all...] |
| H 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.
|
| H A D | boot-time-mm.rst | 8 physical page allocator. 10 A specialized allocator called ``memblock`` performs the
|
| /linux/lib/zstd/decompress/ |
| H A D | zstd_ddict.c | 170 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict() local 171 return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator); in ZSTD_createDDict() 180 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference() local 181 … return ZSTD_createDDict_advanced(dictBuffer, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto, allocator); in ZSTD_createDDict_byReference()
|
| /linux/Documentation/ABI/testing/ |
| H 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
|
| H 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/Documentation/trace/ |
| H 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/Documentation/driver-api/cxl/linux/ |
| H A D | overview.rst | 9 normal memory pages via the kernel's page allocator. 91 allocator as "driver managed memory" 96 blocks to the page allocator
|
| H A D | dax-driver.rst | 14 - Engage the memory-hotplug interface to add CXL memory to page allocator. 34 will be exposed to the kernel page allocator in the user-selected memory
|
| /linux/Documentation/driver-api/thermal/ |
| H 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/Documentation/userspace-api/ |
| H A D | dma-buf-heaps.rst | 14 A heap represents a specific allocator. The Linux kernel currently supports the 55 - The name must not mention implementation details, such as the allocator. The 72 physically contiguous, and backed by the CMA kernel allocator, good
|
| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 6 use super::allocator::{ 106 /// Type alias for [`Box`] with a [`Kmalloc`] allocator. 116 pub type KBox<T> = Box<T, super::allocator::Kmalloc>; 118 /// Type alias for [`Box`] with a [`Vmalloc`] allocator. 128 pub type VBox<T> = Box<T, super::allocator::Vmalloc>; 130 /// Type alias for [`Box`] with a [`KVmalloc`] allocator. 140 pub type KVBox<T> = Box<T, super::allocator::KVmalloc>; 724 /// alloc::allocator::VmallocPageIter,
|
| /linux/Documentation/filesystems/ext4/ |
| H 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/drivers/md/dm-vdo/ |
| H A D | repair.h | 11 void vdo_replay_into_slab_journals(struct block_allocator *allocator, void *context);
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-kmem.txt | 61 Analyze SLAB allocator events. 64 Analyze page allocator events
|
| /linux/include/net/ |
| H A D | xdp_priv.h | 12 void *allocator; member
|
| /linux/drivers/media/mc/ |
| H A D | Makefile | 7 mc-objs += mc-dev-allocator.o
|
| /linux/drivers/bus/fsl-mc/ |
| H A D | Makefile | 16 fsl-mc-allocator.o \
|