Home
last modified time | relevance | path

Searched full:allocated (Results 1 – 25 of 4536) sorted by relevance

12345678910>>...182

/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_buddy_test.c32 LIST_HEAD(allocated); in drm_test_buddy_alloc_range_bias()
67 &allocated, in drm_test_buddy_alloc_range_bias()
76 &allocated, in drm_test_buddy_alloc_range_bias()
85 &allocated, in drm_test_buddy_alloc_range_bias()
95 &allocated, in drm_test_buddy_alloc_range_bias()
136 &allocated, in drm_test_buddy_alloc_range_bias()
149 &allocated, in drm_test_buddy_alloc_range_bias()
160 list_splice_tail(&tmp, &allocated); in drm_test_buddy_alloc_range_bias()
165 drm_buddy_free_list(&mm, &allocated, 0); in drm_test_buddy_alloc_range_bias()
174 * allocated nodes in the middle of the address space. in drm_test_buddy_alloc_range_bias()
[all …]
/linux-6.12.1/Documentation/core-api/
Dmemory-allocation.rst15 memory should be allocated. The GFP acronym stands for "get free
61 ``GFP_HIGHUSER_MOVABLE`` does not require that allocated memory
65 ``GFP_HIGHUSER`` means that the allocated memory is not movable,
70 ``GFP_USER`` means that the allocated memory is not movable and it
82 used to ensure that the allocated memory is accessible by hardware
142 The maximal size of a chunk that can be allocated with `kmalloc` is
147 The address of a chunk allocated with `kmalloc` is aligned to at least
153 Chunks allocated with kmalloc() can be resized with krealloc(). Similarly
158 request pages from the page allocator. The memory allocated by `vmalloc`
176 When the allocated memory is no longer needed it must be freed.
[all …]
/linux-6.12.1/kernel/irq/
Dmatrix.c13 unsigned int allocated; member
155 /* Find the best CPU which has the lowest number of managed IRQs allocated */
159 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local
167 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
171 allocated = cm->managed_allocated; in matrix_find_best_cpu_managed()
180 * @replace: Replace an already allocated vector with a system
198 cm->allocated--; in irq_matrix_assign_system()
252 * This removes not allocated managed interrupts from the map. It does
268 /* Get managed bit which are not allocated */ in irq_matrix_remove_managed()
290 * @mapped_cpu: Pointer to store the CPU for which the irq was allocated
[all …]
/linux-6.12.1/include/drm/
Ddrm_suballoc.h19 * @olist: List of allocated ranges.
20 * @flist: Array[fence context hash] of queues of fenced allocated ranges.
34 * struct drm_suballoc - Sub-allocated range
35 * @olist: List link for list of allocated ranges.
36 * @flist: List linkk for the manager fenced allocated ranges queues.
66 * Return: The start of the allocated range.
77 * Return: The end of the allocated range + 1.
88 * Return: The size of the allocated range.
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-trace-id.h22 * complete. This allows the same CPU to be re-allocated its prior ID when
27 * reserved IDs from being allocated.
50 * allocating an new ID if one is not currently allocated.
52 * Numeric ID values allocated use legacy allocation algorithm if possible,
68 * Release an allocated trace ID associated with the CPU.
83 * Read the current allocated CoreSight Trace ID value for the CPU.
85 * Fast read of the current value that does not allocate if no ID allocated
120 * Release an allocated system trace ID.
122 * Unconditionally release a trace ID allocated to a system component.
124 * @id: value of trace ID allocated.
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dia_css_dvs.h47 u32 size; /* size of allocated memory in data_ptr */
66 * allocated pointer is stored in the data_ptr field. The other fields
74 u32 data_allocated; /* indicate whether data was allocated */
91 * @return error value if temporary memory cannot be allocated
125 * @return error value if temporary memory cannot be allocated
169 * @return Pointer to the allocated DVS statistics buffer on the ISP
183 * @return Pointer to the allocated DVS statistics buffer on the ISP
197 * @return Pointer to the allocated DVS statistics buffer on the host
211 * @return Pointer to the allocated DVS coefficients buffer
225 * @return Pointer to the allocated DVS 2.0 statistics buffer on the host
[all …]
Dia_css_3a.h90 * All of the data behind these pointers is allocated contiguously, the
91 * allocated pointer is stored in the data_ptr field. The other fields
102 was allocated or not. */
108 * @return error value if temporary memory cannot be allocated
137 * @return Pointer to the allocated 3a statistics buffer on the ISP
151 * @return Pointer to the allocated 3a statistics buffer on the host
166 * @return Pointer to the allocated 3a statistics map
189 * was allocated inside ia_css_isp_3a_statistics_map_allocate(), it
/linux-6.12.1/drivers/md/dm-vdo/
Dmemory-alloc.h35 * @what: What is being allocated (for error logging)
36 * @ptr: A pointer to hold the allocated memory
65 * @WHAT: What is being allocated (for error logging)
66 * @PTR: A pointer to hold the allocated memory
78 * allocated memory.
81 * @WHAT: What is being allocated (for error logging)
82 * @PTR: A pointer to hold the allocated memory
105 * @what: What is being allocated (for error logging)
106 * @ptr: A pointer to hold the allocated memory
120 * @what: What is being allocated (for error logging)
[all …]
/linux-6.12.1/sound/firewire/
Diso-resources.c31 r->allocated = false; in fw_iso_resources_init()
43 WARN_ON(r->allocated); in fw_iso_resources_destroy()
111 if (WARN_ON(r->allocated)) in fw_iso_resources_allocate()
137 r->allocated = true; in fw_iso_resources_allocate()
158 * any resources that were allocated before the bus reset. It is safe to call
159 * this function if no resources are currently allocated.
171 if (!r->allocated) { in fw_iso_resources_update()
190 r->allocated = false; in fw_iso_resources_update()
206 * fw_iso_resources_free - frees allocated resources
209 * This function deallocates the channel and bandwidth, if allocated.
[all …]
/linux-6.12.1/include/net/page_pool/
Dhelpers.h24 * allocated from page pool. There is no cache line dirtying for 'struct page'
29 * page allocated from page pool. Page splitting enables memory saving and thus
102 * @offset: offset to the allocated page
108 * Return allocated page fragment, otherwise return NULL.
151 * @offset: offset to the allocated page
152 * @size: in as the requested size, out as the allocated size
159 * Return allocated page or page fragment, otherwise return NULL.
188 * @size: in as the requested size, out as the allocated size
191 * it returns va of the allocated page or page fragment.
194 * Return the va for the allocated page or page fragment, otherwise return NULL.
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/broadwell/
Duncore-interconnect.json3 …"BriefDescription": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture,…
31 … that are in DirectData mode. Such entry is defined as valid when it is allocated till data sent t…
36 … that are in DirectData mode. Such entry is defined as valid when it is allocated till data sent t…
41 …"BriefDescription": "Total number of Core outgoing entries allocated. Accounts for Coherent and no…
50 … "BriefDescription": "Number of Core coherent Data Read entries allocated in DirectData mode",
55 … "PublicDescription": "Number of Core coherent Data Read entries allocated in DirectData mode.",
60 …"BriefDescription": "Number of Writes allocated - any write transactions: full/partials writes and…
/linux-6.12.1/Documentation/mm/
Dpage_owner.rst2 page owner: Tracking about who allocated each page
8 page owner is for the tracking about who allocated each page.
28 allocated base pages, which gives us a quick overview of where the memory
52 memory system, so, until initialization, many pages can be allocated and
53 they would have no owner information. To fix it up, these early allocated
54 pages are investigated and marked as allocated in initialization phase.
56 at least, we can tell whether the page is allocated or not,
57 more accurately. On 2GB memory x86-64 VM box, 13343 early allocated pages
58 are caught and marked, although they are mostly allocated from struct
124 Page allocated via order XXX, ...
[all …]
/linux-6.12.1/drivers/firmware/efi/libstub/
Dmem.c11 * newly allocated memory map
15 * Retrieve the UEFI memory map. The allocated memory leaves room for
74 * @addr: On return the address of the first allocated page. The first
75 * allocated page has alignment EFI_ALLOC_ALIGN which is an
77 * @max: the address that the last allocated memory page shall not
80 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
81 * to EFI_ALLOC_ALIGN. The last allocated page will not exceed the address
118 * only be used to return pages allocated with efi_allocate_pages() or
Drelocate.c11 * @align: minimum alignment of the allocated memory area. It should
13 * @addr: on exit the address of the allocated memory
17 * EFI_LOADER_DATA. The allocated pages are aligned according to @align but at
18 * least EFI_ALLOC_ALIGN. The first allocated page will not below the address
96 * @alignment: minimum alignment of the allocated memory area. It
100 * Copy a memory area to a newly allocated memory area aligned according
102 * is not available, the allocated address will not be below @min_addr.
157 * have been allocated by UEFI, so we can safely use memcpy. in efi_relocate_kernel()
Dalignedmem.c11 * @addr: On return the address of the first allocated page. The first
12 * allocated page has alignment EFI_ALLOC_ALIGN which is an
14 * @max: the address that the last allocated memory page shall not
19 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
20 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will
/linux-6.12.1/include/linux/
Dxz.h26 * dictionary doesn't need to be allocated as
28 * structures are allocated at initialization,
32 * allocated at initialization, so xz_dec_run()
35 * allocated once the required size has been
70 * tried to be allocated was no more than the
177 * Multi-call mode with dynamically allocated dictionary (XZ_DYNALLOC):
192 * @s: Decoder state allocated using xz_dec_init()
211 * xz_dec_reset() - Reset an already allocated decoder state
212 * @s: Decoder state allocated using xz_dec_init()
224 * xz_dec_end() - Free the memory allocated for the decoder state
[all …]
Dlz4.h181 * which must be already allocated
186 * into already allocated 'dest' buffer of size 'maxOutputSize'.
206 * which must be already allocated
231 * @targetDestSize: Size of buffer 'dest' which must be already allocated
236 * from 'source' buffer into already allocated buffer 'dest'
256 * which must be already allocated with 'originalSize' bytes
277 * which must be already allocated
300 * already allocated
333 * which must be already allocated
350 * LZ4_resetStreamHC() - Init an allocated 'LZ4_streamHC_t' structure
[all …]
/linux-6.12.1/kernel/trace/
Dtracing_map.h67 * the way the insertion algorithm works, the size of the allocated
75 * tracing_map_elts are pre-allocated before any call is made to
78 * The tracing_map_entry array is allocated as a single block by
82 * generally be allocated together as a single large array without
83 * failure, they're allocated individually, by tracing_map_init().
85 * The pool of tracing_map_elts are allocated by tracing_map_init()
94 * array holding the pointers which make up the pre-allocated pool of
95 * tracing_map_elts is allocated as a single block and is stored in
113 * is created for each tracing_map_elt, again individually allocated
114 * to avoid failures that might be expected if allocated as a single
[all …]
/linux-6.12.1/drivers/pci/endpoint/
Dpci-epc-mem.c145 * Invoke to cleanup the pci_epc_mem structure allocated in
171 * @epc: the EPC device on which memory has to be allocated
172 * @phys_addr: populate the allocated physical address here
173 * @size: the size of the address space that has to be allocated
236 * pci_epc_mem_free_addr() - free the allocated memory address
237 * @epc: the EPC device on which memory was allocated
238 * @phys_addr: the allocated physical address
239 * @virt_addr: virtual address of the allocated mem space
240 * @size: the size of the allocated address space
242 * Invoke to free the memory allocated using pci_epc_mem_alloc_addr.
/linux-6.12.1/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
Dcache.json105 …nt counts operations where demand access hits an L2 cache refill buffer allocated by software or h…
108 …nt counts operations where demand access hits an L2 cache refill buffer allocated by software or h…
111 …ions where software or hardware prefetch hits an L2 cache refill buffer allocated by demand access…
114 …ions where software or hardware prefetch hits an L2 cache refill buffer allocated by demand access…
117 …nt counts operations where demand access hits an L2 cache refill buffer allocated by software or h…
120 …nt counts operations where demand access hits an L2 cache refill buffer allocated by software or h…
/linux-6.12.1/kernel/dma/
Dcontiguous.c33 * where only movable pages can be allocated from. This way, kernel
35 * it, allocated pages can be migrated.
209 * has been activated and all other subsystems have already allocated/reserved
267 * has been activated and all other subsystems have already allocated/reserved
314 * dma_release_from_contiguous() - release allocated pages
315 * @dev: Pointer to device for which the pages were allocated.
316 * @pages: Allocated pages.
317 * @count: Number of allocated pages.
319 * This function releases memory allocated by dma_alloc_from_contiguous().
391 * dma_free_contiguous() - release allocated pages
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_irq.c48 * @dyn_only: force entry to be dynamically allocated
54 * Returns allocated irq entry or NULL on failure.
279 * allocated interrupt appropriately.
283 * were allocated with ice_pci_alloc_irq_vectors are already used
284 * and dynamically allocated interrupts are supported then new
285 * interrupt will be allocated with pci_msix_alloc_irq_at.
287 * Some callers may only support dynamically allocated interrupts.
313 dev_dbg(dev, "allocated new irq at index %d\n", map.index); in ice_alloc_irq()
332 * Remove allocated interrupt from the interrupt tracker. If interrupt was
333 * allocated dynamically, free respective interrupt vector.
[all …]
/linux-6.12.1/fs/
Dkernel_read_file.c14 * *@buf is NULL, a buffer will be allocated, and
16 * @buf_size: size of buf, if already allocated. If @buf not
17 * allocated, this is the largest size to allocate.
25 * via an already-allocated @buf, in at most @buf_size chunks, and
41 void *allocated = NULL; in kernel_read_file() local
80 *buf = allocated = vmalloc(i_size); in kernel_read_file()
115 if (allocated) { in kernel_read_file()
/linux-6.12.1/include/uapi/xen/
Devtchn.h39 * Return allocated port.
49 * Return allocated port.
59 * Return allocated port.
68 * Unbind previously allocated @port.
77 * Unbind previously allocated @port.
105 * Bind statically allocated @port.
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Ddmx-reqbufs.rst38 Memory mapped buffers are located in device memory and must be allocated
40 space. User buffers are allocated by applications themselves, and this
43 allocated by applications through a device driver, and this ioctl only
54 number allocated in the ``count`` field. The ``count`` can be smaller than the number requested, ev…
56 function correctly. The actual allocated buffer size can is returned

12345678910>>...182