Home
last modified time | relevance | path

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

12345678910>>...113

/linux/Documentation/core-api/
H A 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 …]
H A Dswiotlb.rst67 multiple memory buffer segments, a separate bounce buffer must be allocated for
89 pre-allocated at boot time (but see Dynamic swiotlb below). Because swiotlb
91 allocated as a single contiguous block.
97 this pre-allocated memory is not available for other uses in the system. The
131 Hence there may be pre-padding space that is allocated prior to the start of
137 allocated entirely from granules that are not used for any other purpose.
141 Memory used for swiotlb bounce buffers is allocated from overall system memory
142 as one or more "pools". The default pool is allocated during system boot with a
149 CONFIG_SWIOTLB_DYNAMIC is enabled, additional pools may be allocated later in
151 memory. The default pool is allocated below the 4 GiB physical address line so
[all …]
/linux/drivers/firmware/efi/libstub/
H A Dmem.c11 * newly allocated memory map
15 * Retrieve the UEFI memory map. The allocated memory leaves room for
70 * @addr: On return the address of the first allocated page. The first
71 * allocated page has alignment EFI_ALLOC_ALIGN which is an
73 * @max: the address that the last allocated memory page shall not
76 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
77 * to EFI_ALLOC_ALIGN. The last allocated page will not exceed the address
114 * only be used to return pages allocated with efi_allocate_pages() or
131 * @align: minimum alignment of the allocated memory area. It should
133 * @addr: on exit the address of the allocated memory
[all …]
H A 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/tools/perf/pmu-events/arch/x86/broadwell/
H A 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/drivers/net/ethernet/intel/ice/
H A Dice_irq.c66 * @dyn_allowed: allow entry to be dynamically allocated
72 * Returns allocated irq entry or NULL on failure.
88 /* only already allocated if the caller says so */ in ice_get_irq_res()
168 * allocated interrupt appropriately.
172 * were allocated with ice_pci_alloc_irq_vectors are already used
173 * and dynamically allocated interrupts are supported then new
174 * interrupt will be allocated with pci_msix_alloc_irq_at.
176 * Some callers may only support dynamically allocated interrupts.
197 dev_dbg(dev, "allocated new irq at index %d\n", map.index); in ice_alloc_irq()
216 * Remove allocated interrupt from the interrupt tracker. If interrupt was
[all …]
/linux/include/linux/
H A 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 …]
H A Didr.h51 * DEFINE_IDR() - Define a statically-allocated IDR.
163 * Initialise a dynamically allocated IDR. To initialise a
164 * statically allocated IDR, use DEFINE_IDR().
172 * idr_is_empty() - Are there any IDs allocated?
175 * Return: %true if any IDs have been allocated from this IDR.
288 * Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
306 * Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
324 * Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
H A Dkfence.h80 * allocated from it. Because KFENCE objects are not referenced from the cache
84 * not return if allocated objects still exist: it prints an error message and
88 * cache, but instead try to provide more useful debug info by making allocated
114 * allowing it to transparently return KFENCE-allocated objects with a low
133 * kfence_ksize() - get actual amount of memory allocated for a KFENCE object
148 * @addr: address within a KFENCE-allocated object
152 * SL[AU]B-allocated objects are laid out within a page one by one, so it is
156 * beginning of a KFENCE-allocated object.
/linux/mm/
H A Dmempool.c214 * May be called on a zeroed but uninitialized mempool (i.e. allocated with
230 * @pool: pointer to the memory pool which was allocated via
288 * allocated for this pool.
311 * allocated for this pool.
348 * @pool: pointer to the memory pool which was allocated via
351 * allocated for this pool.
426 unsigned int count, unsigned int allocated, in mempool_alloc_from_pool() argument
433 if (unlikely(pool->curr_nr < count - allocated)) in mempool_alloc_from_pool()
435 while (allocated < count) in mempool_alloc_from_pool()
436 elems[allocated++] = remove_element(pool); in mempool_alloc_from_pool()
[all …]
/linux/drivers/pci/endpoint/
H A 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
239 * pci_epc_mem_free_addr() - free the allocated memory address
240 * @epc: the EPC device on which memory was allocated
241 * @phys_addr: the allocated physical address
242 * @virt_addr: virtual address of the allocated mem space
243 * @size: the size of the allocated address space
245 * Invoke to free the memory allocated using pci_epc_mem_alloc_addr.
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
H A 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/include/uapi/xen/
H A 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/drivers/net/ipa/
H A Dgsi_trans.h79 * @max_alloc: Maximum number of elements allocated at a time from pool
91 * Return: Virtual address of element(s) allocated from the pool
107 * @max_alloc: Maximum number of elements allocated at a time from pool
121 * Return: Virtual address of element allocated from the pool
123 * Only one element at a time may be allocated from a DMA pool.
135 * gsi_channel_trans_idle() - Return whether no transactions are allocated
139 * Return: True if no transactions are allocated, false otherwise
159 * gsi_trans_free() - Free a previously-allocated GSI transaction
/linux/tools/testing/radix-tree/
H A 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/Documentation/userspace-api/media/dvb/
H A 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/kernel/dma/
H A Dcontiguous.c33 * where only movable pages can be allocated from. This way, kernel
35 * it, allocated pages can be migrated.
247 * has been activated and all other subsystems have already allocated/reserved
331 * has been activated and all other subsystems have already allocated/reserved
378 * dma_release_from_contiguous() - release allocated pages
379 * @dev: Pointer to device for which the pages were allocated.
380 * @pages: Allocated pages.
381 * @count: Number of allocated pages.
383 * This function releases memory allocated by dma_alloc_from_contiguous().
447 * dma_free_contiguous() - release allocated pages
[all …]
/linux/Documentation/arch/arm64/
H A Dgcs.rst102 the stack will remain allocated for the lifetime of the thread. At present
117 allocated for it of half the standard stack size or 2 gigabytes,
121 new Guarded Control Stack will be allocated for the new thread with
124 * When a stack is allocated by enabling GCS or during thread creation then
129 * Additional Guarded Control Stacks can be allocated using the
132 * Stacks allocated using map_shadow_stack() can optionally have an end of
140 * Stacks allocated using map_shadow_stack() must have a size which is a
146 * When a thread is freed the Guarded Control Stack initially allocated for
208 If GCS is enabled via ptrace no new GCS will be allocated for the thread.
/linux/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c36 * if return address is in LR and if a new frame was allocated.
63 * Return address is in LR. Check if a frame was allocated in check_return_reg()
74 * If call frame address is in r1, no new frame was allocated. in check_return_reg()
81 * A new frame was allocated but has not yet been used. in check_return_reg()
139 * 1 if return address is in LR and no new stack frame was allocated
140 * 2 if return address is in LR and a new frame was allocated (but not
202 * allocated but the LR was not saved into it, then the LR contains the
249 * New frame allocated but return address still in LR. in arch_skip_callchain_idx()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_data.h30 * Thread-specific memory for storing TLD is allocated lazily on the first call to
38 * TLD_DYN_DATA_SIZE - The maximum size of memory allocated for TLDs created dynamically
43 * possibly known statically, a memory area of size TLD_DYN_DATA_SIZE will be allocated
44 * for these TLDs. This additional memory is allocated for every thread that calls
47 * will be allocated for TLDs created with it.
56 * TLD_DONT_ROUND_UP_DATA_SIZE - Don't round up memory size allocated for data if
247 * TLD_DYN_DATA_SIZE is allocated for tld_create_key() in __tld_create_key()
291 * enough memory will be allocated for each thread on the first call to tld_get_data().
315 * An additional TLD_DYN_DATA_SIZE bytes are allocated per-thread to accommodate TLDs
359 /* tld_data_p is allocated on the first invocation of tld_get_data() */ in tld_get_data()
/linux/arch/mips/math-emu/
H A Ddsemul.c20 * page in response to a call to mips_dsemul(). Each thread may be allocated
26 * the thread. In these cases the allocated frame will either be reused by
54 * frame allocated to each thread, allowing us to clean it up at later
59 * trust that BRK_MEMU means there's actually a valid frame allocated
153 /* Clear any allocated frame, retrieving its index */ in dsemul_thread_cleanup()
156 /* If no frame was allocated, we're done */ in dsemul_thread_cleanup()
162 /* Free the frame that this thread had allocated */ in dsemul_thread_cleanup()
190 * of the emupage - we'll free the allocated frame anyway. in dsemul_thread_rollback()
294 /* Cleanup the allocated frame, returning if there wasn't one */ in do_dsemulret()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-bootmem.h79 * Size actually allocated for named block (may differ from
153 * memory cannot be allocated at the specified address.
165 * Frees a previously allocated named bootmem block.
200 * @align: Alignment of memory to be allocated. (must be a power of 2)
214 * freed. If the requested name block is already allocated, return
221 * @param align Alignment of memory to be allocated. (must be a power of 2)
271 * Returns physical address of block allocated, or -1 on failure
297 * @return physical address of block allocated, or -1 on failure
307 * of the block that was allocated, or the list will become
/linux/drivers/acpi/acpica/
H A Dutownerid.c81 * allocated and update the global ID mask. in acpi_ut_allocate_owner_id()
92 * permanently allocated (prevents +1 overflow) in acpi_ut_allocate_owner_id()
98 "Allocated OwnerId: 0x%3.3X\n", in acpi_ut_allocate_owner_id()
108 * All owner_ids have been allocated. This typically should in acpi_ut_allocate_owner_id()
110 * allocated upon table load (one per table) and method execution, and in acpi_ut_allocate_owner_id()
130 * PARAMETERS: owner_id_ptr - Pointer to a previously allocated owner_ID
182 "Attempted release of non-allocated OwnerId: 0x%3.3X", in acpi_ut_release_owner_id()
/linux/Documentation/gpu/
H A Dxen-front.rst15 Buffers allocated by the frontend driver
19 :doc: Buffers allocated by the frontend driver
21 Buffers allocated by the backend
25 :doc: Buffers allocated by the backend
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c16 u8 allocated: 1; member
94 if (!hwc->sfs[i].allocated && free_idx == -1) { in mlx5_sf_hw_table_id_alloc()
99 if (hwc->sfs[i].allocated && hwc->sfs[i].usr_sfnum == usr_sfnum) in mlx5_sf_hw_table_id_alloc()
107 hwc->sfs[free_idx].allocated = true; in mlx5_sf_hw_table_id_alloc()
118 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_id_free()
186 hwc->sfs[idx].allocated = false; in mlx5_sf_hw_table_hwc_sf_free()
209 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_sf_deferred_free()
224 if (hwc->sfs[i].allocated) in mlx5_sf_hw_table_hwc_dealloc_all()
422 if (sf_hw->allocated && sf_hw->pending_delete) in mlx5_sf_hw_vhca_event()
479 if (sf_hw->allocated && sf_hw->pending_delete) in mlx5_sf_hw_table_esw_changed_event_handler()

12345678910>>...113