Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/linux/drivers/acpi/acpica/
A Duttrack.c32 *allocation);
105 allocation = in acpi_ut_allocate_and_track()
107 if (!allocation) { in acpi_ut_allocate_and_track()
168 allocation = in acpi_ut_allocate_zeroed_and_track()
171 if (!allocation) { in acpi_ut_allocate_zeroed_and_track()
279 *allocation) in acpi_ut_find_allocation()
360 allocation)); in acpi_ut_track_allocation()
452 (allocation->previous)->next = allocation->next; in acpi_ut_remove_allocation()
458 (allocation->next)->previous = allocation->previous; in acpi_ut_remove_allocation()
462 &allocation->user_space, allocation->size)); in acpi_ut_remove_allocation()
[all …]
A Dutalloc.c33 void *allocation; in acpi_os_allocate_zeroed() local
37 allocation = acpi_os_allocate(size); in acpi_os_allocate_zeroed()
38 if (allocation) { in acpi_os_allocate_zeroed()
42 memset(allocation, 0, size); in acpi_os_allocate_zeroed()
45 return (allocation); in acpi_os_allocate_zeroed()
/linux/tools/testing/selftests/resctrl/
A Dmba_test.c27 static int runs_per_allocation, allocation = 100; in mba_setup() local
43 if (allocation < ALLOCATION_MIN || allocation > ALLOCATION_MAX) in mba_setup()
46 sprintf(allocation_str, "%d", allocation); in mba_setup()
49 allocation -= ALLOCATION_STEP; in mba_setup()
56 int allocation, runs; in show_mba_info() local
61 for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP; in show_mba_info()
62 allocation++) { in show_mba_info()
72 for (runs = NUM_OF_RUNS * allocation + 1; in show_mba_info()
73 runs < NUM_OF_RUNS * allocation + NUM_OF_RUNS ; runs++) { in show_mba_info()
87 ALLOCATION_MAX - ALLOCATION_STEP * allocation); in show_mba_info()
/linux/mm/
A Ddmapool.c48 size_t allocation; member
95 pages * (pool->allocation / pool->size), in pools_show()
134 size_t allocation; in dma_pool_create() local
148 allocation = max_t(size_t, size, PAGE_SIZE); in dma_pool_create()
151 boundary = allocation; in dma_pool_create()
167 retval->allocation = allocation; in dma_pool_create()
216 } while (offset < pool->allocation); in pool_initialise_page()
326 if (page->offset < pool->allocation) in dma_pool_alloc()
389 if ((dma - page->dma) < pool->allocation) in pool_find_page()
439 while (chain < pool->allocation) { in dma_pool_free()
[all …]
/linux/Documentation/core-api/
A Dmemory-allocation.rst7 Linux provides a variety of APIs for memory allocation. You can
14 Most of the memory allocation APIs use GFP flags to express how that
16 pages", the underlying memory allocation function.
18 Diversity of the allocation APIs combined with the numerous GFP flags
26 Of course there are cases when other allocation APIs and different GFP
45 * If the allocation is performed from an atomic context, e.g interrupt
48 ``GFP_NOWAIT`` allocation is likely to fail. Allocations which
66 example may be a hardware allocation that maps data directly into
100 allocation without any attempt to free memory from the current
158 If you are not sure whether the allocation size is too large for
[all …]
A Dgenalloc.rst4 There are a number of memory-allocation subsystems in the kernel, each
32 which NUMA node should be used for the allocation of the housekeeping
87 how the allocation functions choose which specific piece of memory to
107 - gen_pool_first_fit_align forces the allocation to have a specific
110 - gen_pool_first_fit_order_align aligns the allocation to the order of the
111 size. A 60-byte allocation will thus be 64-byte aligned, for example.
117 If the indicated memory is not available the allocation fails.
/linux/Documentation/trace/
A Devents-kmem.rst5 The kmem tracing system captures events related to object and page allocation
8 - Slab allocation of small objects of unknown type (kmalloc)
9 - Slab allocation of small objects of known type
10 - Page allocation
17 1. Slab allocation of small objects of unknown type
27 internal fragmented as a result of the allocation pattern. By correlating
29 the allocation sites were.
32 2. Slab allocation of small objects of known type
45 3. Page allocation
54 These four events deal with page allocation and freeing. mm_page_alloc is
[all …]
/linux/include/linux/
A Ddmapool.h22 size_t size, size_t align, size_t allocation);
34 size_t size, size_t align, size_t allocation);
39 struct device *dev, size_t size, size_t align, size_t allocation) in dma_pool_create() argument
47 struct device *dev, size_t size, size_t align, size_t allocation) in dmam_pool_create() argument
/linux/Documentation/vm/
A Dpage_frags.rst13 simple allocation framework for page fragments. This is used by the
19 cache is needed. This provides a central point for the fragment allocation
22 which can be expensive at allocation time. However due to the nature of
25 to be disabled when executing the fragment allocation.
28 allocation. The netdev_alloc_cache is used by callers making use of the
43 avoid calling get_page per allocation.
A Dbalance.rst14 be that the caller is willing to fail the allocation without incurring the
16 allocation requests that have order-0 fallback options. In such cases,
19 __GFP_IO allocation requests are made to prevent file system deadlocks.
21 In the absence of non sleepable allocation requests, it seems detrimental
48 with a slight change in the allocation routine, it is possible to reduce
76 probably because all allocation requests are coming from intr context
90 watermark[WMARK_HIGH]. When low_on_memory is set, page allocation requests will
A Dsplit_page_table_lock.rst25 to taken lock or NULL if allocation failed;
59 must be called on PTE table allocation / freeing.
62 allocation: slab uses page->slab_cache for its pages.
69 allocation and pgtable_pmd_page_dtor() on freeing.
72 pmd_free_tlb(), but make sure you cover all PMD table allocation / freeing
A Dnuma.rst77 selected zone/node cannot satisfy the allocation request. This situation,
89 By default, Linux will attempt to satisfy memory allocation requests from the
92 for the node where the request originates. This is called "local allocation."
97 Local allocation will tend to keep subsequent access to the allocated memory
112 allocation behavior using Linux NUMA memory policy. [see
129 Some kernel allocations do not want or cannot tolerate this allocation fallback
134 A typical model for making such an allocation is to obtain the node id of the
137 the node id returned. When such an allocation fails, the requesting subsystem
140 itself on allocation failure. The kernel profiling subsystem is an example of
A Dpage_owner.rst12 When allocation happens, information about allocation such as call stack
17 Although we already have tracepoint for tracing page allocation/free,
35 the page allocator hotpath and if not enabled, then allocation is done
37 not affect to allocation performance, especially if the static keys jump
/linux/Documentation/filesystems/ext4/
A Dbigalloc.rst15 use clustered allocation, so that each bit in the ext4 block allocation
19 This means that each bit in the block allocation bitmap now addresses
20 256 4k blocks. This shrinks the total size of the block allocation
29 128MiB); however, the minimum allocation unit becomes a cluster, not a
/linux/Documentation/admin-guide/mm/
A Dnuma_memory_policy.rst40 use "local allocation" described below. However, during boot
84 A VMA policy will govern the allocation of pages that back
140 support allocation at fault time--a.k.a lazy allocation--so hugetlbfs
199 closest to the node where the allocation takes place.
202 This mode specifies that the allocation should be attempted
212 allocation policy can be viewed as a Preferred policy that
213 starts at the node containing the cpu where the allocation
228 For allocation of anonymous pages and shared memory pages,
235 local allocation. That is, allocation will follow the per
284 (local allocation).
[all …]
A Dtranshuge.rst62 allocation failures to be noticeable from userland. It allows paging
112 guaranteed, but it may be more likely in case the allocation is for a
125 allocation failure and directly reclaim pages and compact
158 Some userspace (such as a test program, or an optimized memory allocation
190 allocation failure to throttle the next allocation attempt::
241 You can control hugepage allocation policy in tmpfs with mount option
322 allocation was successful.
327 the allocation.
339 falls back to using small pages even though the allocation was
371 dropped due race with other allocation. Note, it doesn't count
[all …]
/linux/Documentation/admin-guide/
A Dnumastat.rst12 the preferred node and numa_miss on the node where allocation succeeded.
17 incremented on allocation from a node by CPU on the same node. other_node is
18 similar to numa_miss and is incremented on the node where allocation succeeds
53 preferred node. As a result, such allocation will not increase the numa_foreign
/linux/drivers/soundwire/
A DMakefile11 soundwire-generic-allocation-objs := generic_bandwidth_allocation.o
12 obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
/linux/Documentation/arm64/
A Dmemory-tagging-extension.rst19 allocation tag for each 16-byte granule in the physical address space.
23 the logical tag against the allocation tag and potentially raise an
36 To access the allocation tags, a user process must enable the Tagged
40 ``PROT_MTE`` - Pages allow access to the MTE allocation tags.
42 The allocation tag is set to 0 when such pages are first mapped in the
44 supported and the allocation tags can be shared between processes.
55 ``MADV_FREE`` may have the allocation tags cleared (set to 0) at any
62 the logical and allocation tags occurs on access, there are three
269 * Set the allocation tag on the destination address.
320 /* set the logical and allocation tags */
/linux/drivers/staging/gdm724x/
A DTODO10 - Review use of atomic allocation for tx structs
12 - fix up static tty port allocation to be dynamic
/linux/arch/powerpc/platforms/powernv/
A DKconfig30 bool "Enable runtime allocation of RAM for tracing"
33 Enabling this option allows for runtime allocation of memory (RAM)
/linux/Documentation/devicetree/bindings/dma/ti/
A Dk3-pktdma.yaml61 Array of PKTDMA split tx channel resource subtypes for resource allocation
72 Array of PKTDMA split tx flow resource subtypes for resource allocation
83 Array of PKTDMA split rx channel resource subtypes for resource allocation
94 Array of PKTDMA split rx flow resource subtypes for resource allocation
/linux/Documentation/translations/zh_CN/core-api/
A Dmemory-allocation.rst3 :Original: Documentation/core-api/memory-allocation.rst
13 .. _cn_core-api_memory-allocation:
/linux/scripts/coccinelle/null/
A Deno.cocci2 /// The various basic memory allocation functions don't return ERR_PTR
48 msg = "ERROR: allocation function on line %s returns NULL not ERR_PTR on failure" % (p1[0].line)
/linux/Documentation/x86/x86_64/
A D5level-paging.rst45 But userspace can ask for allocation from full address space by
53 A high hint address would only affect the allocation in question, but not
58 to allocation from 47-bit address space.

Completed in 38 milliseconds

12345678910>>...13