Home
last modified time | relevance | path

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

123456

/linux-6.12.1/drivers/md/dm-vdo/
Dslab-depot.c150 struct list_head *dirty_list = &journal->slab->allocator->dirty_slab_journals; in mark_slab_journal_dirty()
186 read_only = vdo_is_read_only(slab->allocator->depot->vdo); in check_if_slab_drained()
231 static void check_summary_drain_complete(struct block_allocator *allocator) in check_summary_drain_complete() argument
233 if (!vdo_is_state_draining(&allocator->summary_state) || in check_summary_drain_complete()
234 (allocator->summary_write_count > 0)) in check_summary_drain_complete()
237 vdo_finish_operation(&allocator->summary_state, in check_summary_drain_complete()
238 (vdo_is_read_only(allocator->depot->vdo) ? in check_summary_drain_complete()
247 static void notify_summary_waiters(struct block_allocator *allocator, in notify_summary_waiters() argument
250 int result = (vdo_is_read_only(allocator->depot->vdo) ? in notify_summary_waiters()
265 notify_summary_waiters(block->allocator, &block->current_update_waiters); in finish_updating_slab_summary_block()
[all …]
Dslab-depot.h212 struct block_allocator *allocator; member
344 struct block_allocator *allocator; member
527 int __must_check vdo_allocate_block(struct block_allocator *allocator,
530 int vdo_enqueue_clean_slab_waiter(struct block_allocator *allocator,
536 int __must_check vdo_release_block_reference(struct block_allocator *allocator,
541 void vdo_dump_block_allocator(const struct block_allocator *allocator);
Dphysical-zone.c157 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()
Drepair.h11 void vdo_replay_into_slab_journals(struct block_allocator *allocator, void *context);
/linux-6.12.1/tools/mm/
Dpage_owner_sort.c41 int allocator; member
172 return l1->allocator - l2->allocator; in compare_allocator()
410 int allocator = 0; in get_allocator() local
413 allocator |= ALLOCATOR_CMA; in get_allocator()
415 allocator |= ALLOCATOR_SLAB; in get_allocator()
427 allocator |= ALLOCATOR_VMALLOC; in get_allocator()
429 if (allocator == 0) in get_allocator()
430 allocator = ALLOCATOR_OTHERS; in get_allocator()
431 return allocator; in get_allocator()
498 list[list_size].allocator = get_allocator(buf, ext_buf); in add_list()
[all …]
/linux-6.12.1/net/core/
Dxdp.c92 static void mem_allocator_disconnect(void *allocator) in mem_allocator_disconnect() argument
104 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()
/linux-6.12.1/drivers/firmware/qcom/
DKconfig18 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.12.1/include/trace/events/
Dxdp.h331 __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.12.1/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.12.1/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
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
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.12.1/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.12.1/mm/
DKconfig129 prompt "Default allocator"
134 Selects the default allocator for the compressed cache for
147 Use the zbud allocator as the default allocator.
153 Use the z3fold allocator as the default allocator.
162 Use the zsmalloc allocator as the default allocator.
174 tristate "2:1 compression allocator (zbud)"
177 A special purpose allocator for storing compressed pages.
184 tristate "3:1 compression allocator (z3fold) (DEPRECATED)"
191 A special purpose allocator for storing compressed pages.
204 prompt "N:1 compression allocator (zsmalloc)" if (ZSWAP || ZRAM)
[all …]
/linux-6.12.1/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.12.1/Documentation/mm/
Dpage_owner.rst38 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.12.1/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.12.1/Documentation/translations/zh_CN/mm/
Dpage_owner.rst160 ator allocator 页面的内存分配器
170 ator allocator 页面的内存分配器
/linux-6.12.1/include/net/
Dxdp_priv.h12 void *allocator; member
/linux-6.12.1/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.12.1/tools/perf/Documentation/
Dperf-kmem.txt61 Analyze SLAB allocator events.
64 Analyze page allocator events
/linux-6.12.1/drivers/media/mc/
DMakefile7 mc-objs += mc-dev-allocator.o
/linux-6.12.1/drivers/bus/fsl-mc/
DMakefile16 fsl-mc-allocator.o \
/linux-6.12.1/Documentation/features/io/dma-contiguous/
Darch-support.txt4 # description: arch supports the DMA CMA (continuous memory allocator)

123456