Home
last modified time | relevance | path

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

12345678910>>...148

/linux-5.10/kernel/irq/
Dmatrix.c15 unsigned int allocated; member
149 /* Find the best CPU which has the lowest number of managed IRQs allocated */
153 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local
161 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
165 allocated = cm->managed_allocated; in matrix_find_best_cpu_managed()
174 * @replace: Replace an already allocated vector with a system
192 cm->allocated--; in irq_matrix_assign_system()
246 * This removes not allocated managed interrupts from the map. It does
262 /* Get managed bit which are not allocated */ in irq_matrix_remove_managed()
283 * @cpu: On which CPU the interrupt should be allocated
[all …]
/linux-5.10/Documentation/vm/
Dpage_owner.rst4 page owner: Tracking about who allocated each page
10 page owner is for the tracking about who allocated each page.
61 memory system, so, until initialization, many pages can be allocated and
62 they would have no owner information. To fix it up, these early allocated
63 pages are investigated and marked as allocated in initialization phase.
65 at least, we can tell whether the page is allocated or not,
66 more accurately. On 2GB memory x86-64 VM box, 13343 early allocated pages
67 are catched and marked, although they are mostly allocated from struct
88 See the result about who allocated each page
Dzsmalloc.rst29 location of the allocated object. The reason for this indirection is that
64 the number of objects allocated
66 the number of objects allocated to the user
68 the number of pages allocated for the class
74 * n = number of allocated objects
/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_dvs.h45 u32 size; /* size of allocated memory in data_ptr */
62 * allocated pointer is stored in the data_ptr field. The other fields
70 u32 data_allocated; /* indicate whether data was allocated */
87 * @return error value if temporary memory cannot be allocated
121 * @return error value if temporary memory cannot be allocated
165 * @return Pointer to the allocated DVS statistics buffer on the ISP
179 * @return Pointer to the allocated DVS statistics buffer on the ISP
193 * @return Pointer to the allocated DVS statistics buffer on the host
207 * @return Pointer to the allocated DVS coefficients buffer
221 * @return Pointer to the allocated DVS 2.0 statistics buffer on the host
[all …]
Dia_css_3a.h85 * All of the data behind these pointers is allocated contiguously, the
86 * allocated pointer is stored in the data_ptr field. The other fields
97 was allocated or not. */
103 * @return error value if temporary memory cannot be allocated
132 * @return Pointer to the allocated 3a statistics buffer on the ISP
146 * @return Pointer to the allocated 3a statistics buffer on the host
161 * @return Pointer to the allocated 3a statistics map
184 * was allocated inside ia_css_isp_3a_statistics_map_allocate(), it
Dia_css_frame_public.h172 bool contiguous; /** memory is allocated physically contiguously */
205 * @param frame The allocated frame.
214 * allocated in the CSS address space.
226 * @param frame The allocated frame.
250 * @param frame The allocated frame.
272 * @param frame The allocated frame.
288 * @param frame The allocated frame.
321 * @param[in] data Pointer to the allocated frame data.
324 * @return The allocated frame structure.
326 * This function maps a pre-allocated pointer into a CSS frame. This can be
[all …]
/linux-5.10/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-5.10/drivers/firmware/efi/libstub/
Dmem.c21 * Retrieve the UEFI memory map. The allocated memory leaves room for
79 * @addr: On return the address of the first allocated page. The first
80 * allocated page has alignment EFI_ALLOC_ALIGN which is an
82 * @max: the address that the last allocated memory page shall not
85 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
86 * to EFI_ALLOC_ALIGN. The last allocated page will not exceed the address
120 * 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
105 * @alignment: minimum alignment of the allocated memory area. It
109 * Copy a memory area to a newly allocated memory area aligned according
111 * is not available, the allocated address will not be below @min_addr.
166 * 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
18 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
19 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will
/linux-5.10/sound/core/
Dmemalloc.c58 * @dmab: buffer allocation record to store the allocated data
84 * snd_free_dev_iram - free allocated specific memory from on-chip internal ram
85 * @dmab: buffer allocation record to store the allocated data
117 * @dmab: buffer allocation record to store the allocated data
122 * Return: Zero if the buffer with the given size is allocated successfully,
189 * @dmab: buffer allocation record to store the allocated data
193 * tries to allocate again. The size actually allocated is stored in
196 * Return: Zero if the buffer with the given size is allocated successfully,
220 * snd_dma_free_pages - release the allocated buffer
223 * Releases the allocated buffer via snd_dma_alloc_pages().
/linux-5.10/drivers/pci/endpoint/
Dpci-epc-mem.c135 * Invoke to cleanup the pci_epc_mem structure allocated in
161 * @epc: the EPC device on which memory has to be allocated
162 * @phys_addr: populate the allocated physical address here
163 * @size: the size of the address space that has to be allocated
226 * pci_epc_mem_free_addr() - free the allocated memory address
227 * @epc: the EPC device on which memory was allocated
228 * @phys_addr: the allocated physical address
229 * @virt_addr: virtual address of the allocated mem space
230 * @size: the size of the allocated address space
232 * Invoke to free the memory allocated using pci_epc_mem_alloc_addr.
/linux-5.10/Documentation/core-api/
Dmemory-allocation.rst15 memory should be allocated. The GFP acronym stands for "get free
60 ``GFP_HIGHUSER_MOVABLE`` does not require that allocated memory
64 ``GFP_HIGHUSER`` means that the allocated memory is not movable,
69 ``GFP_USER`` means that the allocated memory is not movable and it
81 used to ensure that the allocated memory is accessible by hardware
141 The maximal size of a chunk that can be allocated with `kmalloc` is
146 The address of a chunk allocated with `kmalloc` is aligned to at least
151 request pages from the page allocator. The memory allocated by `vmalloc`
169 When the allocated memory is no longer needed it must be freed. You can
170 use kvfree() for the memory allocated with `kmalloc`, `vmalloc` and
/linux-5.10/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-5.10/kernel/dma/
Dcontiguous.c33 * where only movable pages can be allocated from. This way, kernel
35 * it, allocated pages can be migrated.
164 * has been activated and all other subsystems have already allocated/reserved
220 * has been activated and all other subsystems have already allocated/reserved
267 * dma_release_from_contiguous() - release allocated pages
268 * @dev: Pointer to device for which the pages were allocated.
269 * @pages: Allocated pages.
270 * @count: Number of allocated pages.
272 * This function releases memory allocated by dma_alloc_from_contiguous().
337 * dma_free_contiguous() - release allocated pages
[all …]
/linux-5.10/include/linux/
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 …]
Dxz.h32 * dictionary doesn't need to be allocated as
34 * structures are allocated at initialization,
38 * allocated at initialization, so xz_dec_run()
41 * allocated once the required size has been
76 * tried to be allocated was no more than the
183 * Multi-call mode with dynamically allocated dictionary (XZ_DYNALLOC):
198 * @s: Decoder state allocated using xz_dec_init()
217 * xz_dec_reset() - Reset an already allocated decoder state
218 * @s: Decoder state allocated using xz_dec_init()
230 * xz_dec_end() - Free the memory allocated for the decoder state
[all …]
Didr.h50 * DEFINE_IDR() - Define a statically-allocated IDR.
146 * Initialise a dynamically allocated IDR. To initialise a
147 * statically allocated IDR, use DEFINE_IDR().
155 * idr_is_empty() - Are there any IDs allocated?
158 * Return: %true if any IDs have been allocated from this IDR.
268 * Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
286 * Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
304 * Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
/linux-5.10/Documentation/core-api/irq/
Dirq-domain.rst63 be allocated.
86 hwirq number. When a hwirq is mapped, an irq_desc is allocated for
92 allocated for in-use IRQs. The disadvantage is that the table must be
111 IRQs. When an hwirq is mapped, an irq_desc is allocated and the
152 range of irq_descs allocated for the hwirqs. It is used when the
160 been allocated for the controller and that the IRQ number can be
164 allocated for every hwirq, even if it is unused.
175 descriptors will be allocated on-the-fly for it, and if no range is
177 *no* irq descriptors will be allocated.
183 used and no descriptor gets allocated it is very important to make sure
[all …]
/linux-5.10/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-5.10/tools/perf/pmu-events/arch/x86/broadwell/
Duncore.json199 … that are in DirectData mode. Such entry is defined as valid when it is allocated till data sent t…
200 … that are in DirectData mode. Such entry is defined as valid when it is allocated till data sent t…
211 …"BriefDescription": "Total number of Core outgoing entries allocated. Accounts for Coherent and no…
212 …"PublicDescription": "Total number of Core outgoing entries allocated. Accounts for Coherent and n…
223 "BriefDescription": "Number of Core coherent Data Read entries allocated in DirectData mode",
224 "PublicDescription": "Number of Core coherent Data Read entries allocated in DirectData mode.",
235 …"BriefDescription": "Number of Writes allocated - any write transactions: full/partials writes and…
236 …"PublicDescription": "Number of Writes allocated - any write transactions: full/partials writes an…
247 …"BriefDescription": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture,…
248 …"PublicDescription": "Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture…
/linux-5.10/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
/linux-5.10/include/trace/events/
Dsock.h95 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
97 TP_ARGS(sk, prot, allocated, kind),
102 __field(long, allocated)
114 __entry->allocated = allocated;
123 …TP_printk("proto:%s sysctl_mem=%ld,%ld,%ld allocated=%ld sysctl_rmem=%d rmem_alloc=%d sysctl_wmem=…
128 __entry->allocated,
/linux-5.10/tools/testing/radix-tree/
Dmain.c243 printv(1, "starting single_thread_tests: %d allocated, preempt %d\n", in single_thread_tests()
247 printv(2, "after multiorder_check: %d allocated, preempt %d\n", in single_thread_tests()
251 printv(2, "after tag_check: %d allocated, preempt %d\n", in single_thread_tests()
255 printv(2, "after gang_check: %d allocated, preempt %d\n", in single_thread_tests()
259 printv(2, "after add_and_check: %d allocated, preempt %d\n", in single_thread_tests()
263 printv(2, "after dynamic_height_check: %d allocated, preempt %d\n", in single_thread_tests()
268 printv(2, "after idr_checks: %d allocated, preempt %d\n", in single_thread_tests()
272 printv(2, "after big_gang_check: %d allocated, preempt %d\n", in single_thread_tests()
280 printv(2, "after copy_tag_check: %d allocated, preempt %d\n", in single_thread_tests()
323 printv(2, "after rcu_barrier: %d allocated, preempt %d\n", in main()
/linux-5.10/include/crypto/
Dacompress.h42 * @dst_free: Frees destination buffer if allocated inside the
60 * @dst_free: Frees destination buffer if allocated inside the algorithm
65 * was allocated. In case the cryptographic hardware has some
104 * Return: allocated handle in case of success; IS_ERR() is true in case
122 * Return: allocated handle in case of success; IS_ERR() is true in case
167 * @tfm: ACOMPRESS tfm handle allocated with crypto_alloc_acomp()
186 * @tfm: ACOMPRESS tfm handle allocated with crypto_alloc_acomp()
188 * Return: allocated handle in case of success or NULL in case of an error
194 * request as well as the output buffer if allocated

12345678910>>...148