Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v4.19/drivers/acpi/acpica/
Duttrack.c32 *allocation);
94 struct acpi_debug_mem_block *allocation; in acpi_ut_allocate_and_track() local
105 allocation = in acpi_ut_allocate_and_track()
107 if (!allocation) { in acpi_ut_allocate_and_track()
118 acpi_ut_track_allocation(allocation, size, ACPI_MEM_MALLOC, in acpi_ut_allocate_and_track()
121 acpi_os_free(allocation); in acpi_ut_allocate_and_track()
135 return ((void *)&allocation->user_space); in acpi_ut_allocate_and_track()
157 struct acpi_debug_mem_block *allocation; in acpi_ut_allocate_zeroed_and_track() local
168 allocation = in acpi_ut_allocate_zeroed_and_track()
171 if (!allocation) { in acpi_ut_allocate_zeroed_and_track()
[all …]
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-v4.19/mm/
Ddmapool.c50 size_t allocation; member
98 pages * (pool->allocation / pool->size), in show_pools()
135 size_t allocation; in dma_pool_create() local
151 allocation = max_t(size_t, size, PAGE_SIZE); in dma_pool_create()
154 boundary = allocation; in dma_pool_create()
170 retval->allocation = allocation; in dma_pool_create()
219 } while (offset < pool->allocation); in pool_initialise_page()
229 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page()
233 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page()
255 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page()
[all …]
/Linux-v4.19/drivers/staging/android/ion/
Dion-ioctl.c14 struct ion_allocation_data allocation; member
76 fd = ion_alloc(data.allocation.len, in ion_ioctl()
77 data.allocation.heap_id_mask, in ion_ioctl()
78 data.allocation.flags); in ion_ioctl()
82 data.allocation.fd = fd; in ion_ioctl()
/Linux-v4.19/include/linux/
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-v4.19/Documentation/trace/
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-v4.19/Documentation/vm/
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.
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
Dsplit_page_table_lock.rst25 to taken lock or NULL if allocation failed;
59 which 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
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
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.
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
/Linux-v4.19/drivers/staging/gdm724x/
DTODO10 - Review use of atomic allocation for tx structs
12 - fix up static tty port allocation to be dynamic
/Linux-v4.19/Documentation/core-api/
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.
Dboot-time-mm.rst14 allocation interfaces to memblock calls.
33 functions and macros for memory allocations. The allocation request
36 when an allocation fails and those that don't. And more recent and
Didr.rst18 only ID allocation, and as a result is much more memory-efficient.
33 ID by passing a ``NULL`` pointer to the allocation function; initialise the
64 :c:func:`idr_preload_end` after the allocation.
/Linux-v4.19/Documentation/admin-guide/mm/
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
142 Although hugetlbfs segments now support lazy allocation, their support
199 closest to the node where the allocation takes place.
202 This mode specifies that the allocation should be attempted
204 allocation fails, the kernel will search other nodes, in order
211 and the policy is interpreted as local allocation. "Local"
212 allocation policy can be viewed as a Preferred policy that
213 starts at the node containing the cpu where the allocation
[all …]
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::
234 You can control hugepage allocation policy in tmpfs with mount option
256 There's also sysfs knob to control hugepage allocation policy for internal
316 the allocation.
351 dropped due race with other allocation. Note, it doesn't count
352 every map of the huge zero page, only its allocation.
[all …]
/Linux-v4.19/scripts/coccinelle/null/
Deno.cocci1 /// The various basic memory allocation functions don't return ERR_PTR
47 msg = "ERROR: allocation function on line %s returns NULL not ERR_PTR on failure" % (p1[0].line)
/Linux-v4.19/Documentation/x86/x86_64/
D5level-paging.txt38 But userspace can ask for allocation from full address space by
46 A high hint address would only affect the allocation in question, but not
51 to allocation from 47-bit address space.
/Linux-v4.19/Documentation/devicetree/bindings/reserved-memory/
Dqcom,rmtfs-mem.txt14 Usage: required for static allocation
20 Usage: required for dynamic allocation
Dreserved-memory.txt29 static allocation.
33 a) static allocation
35 b) dynamic allocation
39 - Address boundary for alignment of allocation.
/Linux-v4.19/Documentation/
DSM501.txt41 The centralised memory allocation allows the driver to ensure that the
42 maximum possible resource allocation can be made to the video subsystem
45 The primary issue with memory allocation is that of moving the video
/Linux-v4.19/drivers/media/dvb-core/
DKconfig19 bool "Dynamic DVB minor allocation"
24 allocation for any device that uses the DVB major number.
/Linux-v4.19/fs/dlm/
Dlowcomms.h21 void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
/Linux-v4.19/tools/perf/Documentation/
Dperf-kmem.txt40 Show per-allocation statistics
64 Show live page stat. The perf kmem shows total allocation stat by

12345678910>>...12