| /linux-6.15/drivers/md/dm-vdo/ |
| H A D | slab-depot.c | 316 struct block_allocator *allocator = block->allocator; in launch_write() local 365 struct block_allocator *allocator = slab->allocator; in update_slab_summary_entry() local 1386 struct block_allocator *allocator = slab->allocator; in adjust_free_block_count() local 2621 struct block_allocator *allocator = slab->allocator; in queue_slab() local 3110 return get_depot_slab_iterator(allocator->depot, allocator->last_slab, in get_slab_iterator() 3527 allocator->slabs_to_erase = get_slab_iterator(allocator); in initiate_load() 3797 .allocator = allocator, in make_slab() 4048 block->allocator = allocator; in initialize_slab_summary_block() 4083 allocator, &allocator->vio_pool); in initialize_block_allocator() 4093 allocator->refcount_blocks_per_big_vio, allocator->thread_id, in initialize_block_allocator() [all …]
|
| H A D | slab-depot.h | 219 struct block_allocator *allocator; member 351 struct block_allocator *allocator; member 538 int __must_check vdo_allocate_block(struct block_allocator *allocator, 541 int vdo_enqueue_clean_slab_waiter(struct block_allocator *allocator, 547 int __must_check vdo_release_block_reference(struct block_allocator *allocator, 552 void vdo_dump_block_allocator(const struct block_allocator *allocator);
|
| H A D | physical-zone.c | 157 struct block_allocator *allocator) in release_pbn_lock_provisional_reference() argument 164 result = vdo_release_block_reference(allocator, locked_pbn); in release_pbn_lock_provisional_reference() 343 zone->allocator = &vdo->depot->allocators[zone_number]; in initialize_zone() 491 result = vdo_allocate_block(allocation->zone->allocator, &allocation->pbn); in allocate_and_lock_block() 561 result = vdo_enqueue_clean_slab_waiter(zone->allocator, in continue_allocating() 633 release_pbn_lock_provisional_reference(lock, locked_pbn, zone->allocator); in vdo_release_physical_zone_pbn_lock() 643 vdo_dump_block_allocator(zone->allocator); in vdo_dump_physical_zone()
|
| H A D | repair.h | 11 void vdo_replay_into_slab_journals(struct block_allocator *allocator, void *context);
|
| /linux-6.15/tools/mm/ |
| H A D | page_owner_sort.c | 41 int allocator; member 172 return l1->allocator - l2->allocator; in compare_allocator() 411 int allocator = 0; in get_allocator() local 414 allocator |= ALLOCATOR_CMA; in get_allocator() 416 allocator |= ALLOCATOR_SLAB; in get_allocator() 428 allocator |= ALLOCATOR_VMALLOC; in get_allocator() 430 if (allocator == 0) in get_allocator() 431 allocator = ALLOCATOR_OTHERS; in get_allocator() 432 return allocator; in get_allocator() 623 if (allocator & ALLOCATOR_CMA) in print_allocator() [all …]
|
| /linux-6.15/drivers/firmware/qcom/ |
| H A D | Kconfig | 18 prompt "TrustZone interface memory allocator mode" 22 Selects the mode of the memory allocator providing memory buffers of 29 Use the generic allocator mode. The memory is page-aligned, non-cachable 36 in the 'Generic' allocator but is also explicitly marked as an SHM Bridge 40 using the TZMem allocator or else the TrustZone will refuse to use them.
|
| /linux-6.15/net/core/ |
| H A D | xdp.c | 92 static void mem_allocator_disconnect(void *allocator) in mem_allocator_disconnect() argument 104 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() 311 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model() 335 enum xdp_mem_type type, void *allocator) in xdp_reg_mem_model() argument 339 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator); in xdp_reg_mem_model() 347 enum xdp_mem_type type, void *allocator) in xdp_rxq_info_reg_mem_model() argument 356 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator); in xdp_rxq_info_reg_mem_model() 360 if (type == MEM_TYPE_XSK_BUFF_POOL && allocator) in xdp_rxq_info_reg_mem_model() [all …]
|
| /linux-6.15/include/trace/events/ |
| H A D | xdp.h | 331 __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.15/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-6.15/Documentation/core-api/ |
| H 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 91 useful to understand how hard the page allocator will try to satisfy that 113 **default** page allocator behavior is used. That means that not costly 118 * ``GFP_KERNEL | __GFP_NORETRY`` - overrides the default allocator behavior 123 * ``GFP_KERNEL | __GFP_RETRY_MAYFAIL`` - overrides the default allocator 128 * ``GFP_KERNEL | __GFP_NOFAIL`` - overrides the default allocator behavior 132 Selecting memory allocator 158 request pages from the page allocator. The memory allocated by `vmalloc` 170 cache allocator. The cache should be set up with kmem_cache_create() or
|
| 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-6.15/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-6.15/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-6.15/rust/kernel/ |
| H A D | alloc.rs | 6 pub mod allocator; module 15 pub use self::allocator_test as allocator;
|
| /linux-6.15/Documentation/mm/ |
| H A D | physical_memory.rst | 343 ``struct zone`` is the core data structure of the page allocator. A zone 349 from that zone, if the page allocator can't allocate the requested amount of 354 from which the page allocator allocates memory is ``ZONE_MOVABLE`` > 361 on systems with many cores. The page allocator in the kernel employs a two-step 363 falling back to the buddy allocator. Pages are transferred between the Per-CPU 366 allocator. 412 allocator uses to prevent allocations which could use ``highmem`` from using 445 allocator under a single hold of the lock for efficiency. They are also used 466 ``free_area_init_core()`` and then is reinitialized when memblock allocator 506 the main allocator path. However, the seqlock is written quite infrequently. [all …]
|
| H A D | page_owner.rst | 38 the page allocator hotpath and if not enabled, then allocation is done 45 most of this code is outside page allocator and its hot path. Building 51 is initialized some time later than that page allocator starts in sparse 225 ator allocator memory allocator for pages 235 ator allocator memory allocator for pages
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | kbox.rs | 6 use super::allocator::{KVmalloc, Kmalloc, Vmalloc}; 77 pub type KBox<T> = Box<T, super::allocator::Kmalloc>; 89 pub type VBox<T> = Box<T, super::allocator::Vmalloc>; 101 pub type KVBox<T> = Box<T, super::allocator::KVmalloc>;
|
| /linux-6.15/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-6.15/include/net/ |
| H A D | xdp_priv.h | 12 void *allocator; member
|
| /linux-6.15/mm/ |
| H A D | Kconfig | 129 prompt "Default allocator" 133 Selects the default allocator for the compressed cache for 146 Use the zsmalloc allocator as the default allocator. 193 menu "Slab allocator options" 235 allocator against heap overflows. 304 endmenu # Slab allocator options 307 bool "Page allocator randomization" 310 Randomization of the page allocator improves the average 354 ELF-FDPIC binfmt's brk and stack allocator. 797 the excess and return it to the allocator. [all …]
|
| /linux-6.15/tools/perf/Documentation/ |
| H A D | perf-kmem.txt | 61 Analyze SLAB allocator events. 64 Analyze page allocator events
|
| /linux-6.15/drivers/media/mc/ |
| H A D | Makefile | 7 mc-objs += mc-dev-allocator.o
|
| /linux-6.15/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
|