/linux-6.12.1/drivers/md/dm-vdo/ |
D | memory-alloc.h | 19 * Allocate storage based on element counts, sizes, and alignment. 31 * @count: The number of objects to allocate 33 * @extra: The number of additional bytes to allocate 49 * address space (minus one byte) and thus the system can never allocate that much in __vdo_do_allocation() 60 * Allocate one or more elements of the indicated type, logging an error if the allocation fails. 63 * @COUNT: The number of objects to allocate 64 * @TYPE: The type of objects to allocate. This type determines the alignment of the allocation. 74 * Allocate one object of an indicated type, followed by one or more elements of a second type, 77 * @TYPE1: The type of the primary object to allocate. This type determines the alignment of the 79 * @COUNT: The number of objects to allocate [all …]
|
D | memory-alloc.c | 17 * UDS and VDO keep track of which threads are allowed to allocate memory freely, and which threads 35 * If no flag is supplied, the thread is always allowed to allocate storage without complaint. 63 * We do not use kernel functions like the kvasprintf() method, which allocate memory indirectly 70 * We allocate very few large objects, and allocation/deallocation isn't done in a 159 * vmalloc can allocate any integral number of pages. 161 * kmalloc can allocate any number of bytes up to a configured limit, which defaults to 8 megabytes 169 * The advantages of kmalloc do not help out UDS or VDO, because we allocate all our memory up 181 * @size: How many bytes to allocate 189 * Allocate storage based on memory size and alignment, logging an error if the allocation fails. 235 * It is possible for kmalloc to fail to allocate memory because there is in vdo_allocate_memory() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | idpf_controlq_setup.c | 7 * idpf_ctlq_alloc_desc_ring - Allocate Control Queue (CQ) rings 24 * idpf_ctlq_alloc_bufs - Allocate Control Queue (CQ) buffers 28 * Allocate the buffer head for all control queues, and if it's a receive 29 * queue, allocate DMA buffers 36 /* Do not allocate DMA buffers for transmit queues */ in idpf_ctlq_alloc_bufs() 41 * allocate the mapped buffers for the event processing in idpf_ctlq_alloc_bufs() 48 /* allocate the mapped buffers (except for the last one) */ in idpf_ctlq_alloc_bufs() 143 * idpf_ctlq_alloc_ring_res - allocate memory for descriptor ring and bufs 154 /* allocate the ring memory */ in idpf_ctlq_alloc_ring_res() 159 /* allocate buffers in the rings */ in idpf_ctlq_alloc_ring_res()
|
/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | cvmx-bootmem.h | 29 * Simple allocate only memory allocator. Used to allocate memory at 45 /* Allocate from end of block instead of beginning */ 149 * Allocate a block of memory from the free list that was 151 * address. This is an allocate-only algorithm, so 155 * @size: Size in bytes of block to allocate 156 * @address: Physical address to allocate memory at. If this memory is not 175 * Allocate a block of memory from the free list that was passed 180 * @size: Size in bytes of block to allocate 190 * Allocate a block of memory from a specific range of the free list 197 * @size: Size in bytes of block to allocate [all …]
|
/linux-6.12.1/drivers/firewire/ |
D | core-iso.c | 277 int bandwidth, bool allocate) in manage_bandwidth() argument 279 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; in manage_bandwidth() 288 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth() 300 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth() 315 u32 channels_mask, u64 offset, bool allocate) in manage_channel() argument 321 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel() 340 return allocate ? -EAGAIN : channel; in manage_channel() 380 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth 386 * @allocate: whether to allocate (true) or deallocate (false) 388 * In parameters: card, generation, channels_mask, bandwidth, allocate [all …]
|
/linux-6.12.1/include/asm-generic/ |
D | pgalloc.h | 11 * __pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 32 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 55 * __pte_alloc_one - allocate memory for a PTE-level user page table 59 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor(). 84 * pte_alloc_one - allocate a page for PTE-level user page table 87 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor(). 121 * pmd_alloc_one - allocate memory for a PMD-level page table 124 * Allocate memory for a page table and ptdesc and runs pagetable_pmd_ctor(). 185 * pud_alloc_one - allocate memory for a PUD-level page table 188 * Allocate memory for a page table using %GFP_PGTABLE_USER for user context
|
/linux-6.12.1/lib/ |
D | genalloc.c | 212 * @pool: pool to allocate from 265 * gen_pool_alloc_algo_owner - allocate special memory from the pool 266 * @pool: pool to allocate from 267 * @size: number of bytes to allocate from the pool 272 * Allocate the requested number of bytes from the specified pool. 329 * gen_pool_dma_alloc - allocate special memory from the pool for DMA usage 330 * @pool: pool to allocate from 331 * @size: number of bytes to allocate from the pool 334 * Allocate the requested number of bytes from the specified pool. 348 * gen_pool_dma_alloc_algo - allocate special memory from the pool for DMA [all …]
|
/linux-6.12.1/tools/testing/memblock/tests/ |
D | alloc_helpers_api.c | 5 * A simple test that tries to allocate a memory region above a specified, 16 * Expect to allocate a cleared region at the minimal memory address. 47 * A test that tries to allocate a memory region above a certain address. 59 * Expect to allocate a cleared region at the closest aligned memory address. 91 * A test that tries to allocate a memory region above an address that is too 136 * A test that tries to allocate a memory region when there is no space 148 * requirement and to allocate next to the previously reserved region. The 183 * A test that tries to allocate a memory region with a minimal address below 219 * A test that tries to allocate a memory region above an address that is too 262 * A test that tries to allocate a memory region when there is no space [all …]
|
D | alloc_nid_api.c | 51 * A simple test that tries to allocate a memory region within min_addr and 62 * Expect to allocate a region that ends at max_addr. 100 * A simple test that tries to allocate a memory region within min_addr and 114 * Expect to allocate an aligned region that ends before max_addr. 153 * A simple test that tries to allocate a memory region, which spans over the 164 * Expect to allocate a region that starts at min_addr and ends at 203 * A test that tries to allocate a memory region, which can't fit into 216 * Expect to drop the lower limit and allocate a memory region which 252 * A test that tries to allocate a memory region, which can't fit into 296 * A test that tries to allocate a memory region within min_addr min_addr range, [all …]
|
D | alloc_exact_nid_api.c | 23 * A test that tries to allocate a memory region in a specific NUMA node that 24 * has enough memory to allocate a region of the requested size. 25 * Expect to allocate an aligned region at the end of the requested node. 65 * A test that tries to allocate a memory region in a specific NUMA node that 76 * Expect to allocate an aligned region at the end of the requested node. The 121 * A test that tries to allocate a memory region that spans over the min_addr 137 * Expect to drop the lower limit and allocate a memory region that ends at 178 * A test that tries to allocate a memory region that spans over the min_addr 194 * Expect to drop the lower limit and allocate a memory region that ends at 235 * A test that tries to allocate memory within min_addr and max_add range when [all …]
|
D | alloc_api.c | 21 * A simple test that tries to allocate a small memory region. 22 * Expect to allocate an aligned region near the end of the available memory. 53 * A test that tries to allocate memory next to a reserved region that starts at 114 * A test that tries to allocate memory when there is enough space at the end 156 * A test that tries to allocate memory when there is not enough space at the 204 * A test that tries to allocate memory when there are two reserved regions with 211 * Expect to allocate a region before the one that starts at the lower address, 254 * A test that tries to allocate memory when there are two reserved regions with 308 * A test that tries to allocate memory when the memory is filled with reserved 347 * A test that tries to allocate memory when all memory is reserved. [all …]
|
/linux-6.12.1/include/linux/ |
D | sbitmap.h | 69 * @round_robin: Allocate bits in strict round-robin order. 157 * @depth: Number of bits to allocate. 161 * @node: Memory node to allocate on. 162 * @round_robin: If true, be stricter about allocation order; always allocate 203 * sbitmap_get() - Try to allocate a free bit from a &struct sbitmap. 204 * @sb: Bitmap to allocate from. 213 * sbitmap_get_shallow() - Try to allocate a free bit from a &struct sbitmap, 215 * @sb: Bitmap to allocate from. 216 * @shallow_depth: The maximum number of bits to allocate from a single word. 222 * class can only allocate half of the total bits in the bitmap, preventing it [all …]
|
D | dma-heap.h | 18 * @allocate: allocate dmabuf and return struct dma_buf ptr 20 * allocate returns dmabuf on success, ERR_PTR(-errno) on error. 23 struct dma_buf *(*allocate)(struct dma_heap *heap, member
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_dvs.h | 167 /* @brief Allocate the DVS statistics memory on the ISP 181 /* @brief Allocate the DVS 2.0 statistics memory 195 /* @brief Allocate the DVS statistics memory on the host 209 /* @brief Allocate the DVS coefficients memory 223 /* @brief Allocate the DVS 2.0 statistics memory on the host 237 /* @brief Allocate the DVS 2.0 coefficients memory 251 /* @brief Allocate the DVS 2.0 6-axis config memory 265 /* @brief Allocate a dvs statistics map structure 274 * If the data_ptr is NULL, this function will allocate the host-side 278 * Note that this function does not allocate or map any ISP [all …]
|
/linux-6.12.1/drivers/staging/octeon/ |
D | ethernet-mem.c | 18 * @pool: Pool to allocate an skbuff for 20 * @elements: Number of buffers to allocate 43 * @pool: Pool to allocate an skbuff for 45 * @elements: Number of buffers to allocate 73 * @elements: Number of buffers to allocate 90 * We allocate an extra 256 bytes to allow for in cvm_oct_fill_hw_memory() 96 pr_warn("Unable to allocate %u bytes for FPA pool %d\n", in cvm_oct_fill_hw_memory()
|
/linux-6.12.1/fs/jfs/ |
D | jfs_extent.c | 50 * FUNCTION: allocate an extent for a specified page range within a 100 * extent if we can allocate the blocks immediately in extAlloc() 111 /* allocate the disk blocks for the extent. initially, extBalloc() in extAlloc() 112 * will try to allocate disk blocks for the requested size (xlen). in extAlloc() 114 * try to allocate a smaller number of blocks (producing a smaller in extAlloc() 118 * and retry the allocation until the number of blocks to allocate in extAlloc() 127 /* Allocate blocks to quota. */ in extAlloc() 270 * FUNCTION: allocate disk blocks to form an extent. 272 * initially, we will try to allocate disk blocks for the 274 * contiguous free blocks not available), we'll try to allocate [all …]
|
/linux-6.12.1/drivers/misc/lkdtm/ |
D | heap.c | 106 pr_info("Unable to allocate base memory.\n"); in lkdtm_READ_AFTER_FREE() 112 pr_info("Unable to allocate val memory.\n"); in lkdtm_READ_AFTER_FREE() 163 pr_err("FAIL: Unable to allocate kfence memory!\n"); in lkdtm_KFENCE_READ_AFTER_FREE() 198 pr_info("Unable to allocate free page\n"); in lkdtm_WRITE_BUDDY_AFTER_FREE() 221 pr_info("Unable to allocate free page\n"); in lkdtm_READ_BUDDY_AFTER_FREE() 227 pr_info("Unable to allocate val memory.\n"); in lkdtm_READ_BUDDY_AFTER_FREE() 258 pr_info("Unable to allocate 512 bytes the first time.\n"); in lkdtm_SLAB_INIT_ON_ALLOC() 267 pr_info("Unable to allocate 512 bytes the second time.\n"); in lkdtm_SLAB_INIT_ON_ALLOC() 290 pr_info("Unable to allocate first free page\n"); in lkdtm_BUDDY_INIT_ON_ALLOC() 299 pr_info("Unable to allocate second free page\n"); in lkdtm_BUDDY_INIT_ON_ALLOC() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega10_pptable.h | 132 ATOM_Vega10_State states[]; /* Dynamically allocate entries. */ 166 ATOM_Vega10_GFXCLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 172 ATOM_Vega10_MCLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 178 ATOM_Vega10_CLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 184 ATOM_Vega10_CLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 190 ATOM_Vega10_CLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 196 ATOM_Vega10_CLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 202 ATOM_Vega10_CLK_Dependency_Record entries[]; /* Dynamically allocate entries. */ 216 ATOM_Vega10_MM_Dependency_Record entries[]; /* Dynamically allocate entries */ 228 ATOM_Vega10_PCIE_Record entries[]; /* Dynamically allocate entries. */ [all …]
|
/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | relocate.c | 9 * efi_low_alloc_above() - allocate pages at or above given address 10 * @size: size of the memory area to allocate 16 * Allocate at the lowest possible address that is not below @min as 93 * @alloc_size: minimum size of memory to allocate, must be greater or 135 * to the preferred address. If that fails, allocate as low in efi_relocate_kernel() 143 * If preferred address allocation failed allocate as low as in efi_relocate_kernel() 151 efi_err("Failed to allocate usable memory for kernel.\n"); in efi_relocate_kernel()
|
/linux-6.12.1/kernel/irq/ |
D | devres.c | 34 * devm_request_threaded_irq - allocate an interrupt line for a managed device 36 * @irq: Interrupt line to allocate 84 * devm_request_any_context_irq - allocate an interrupt line for a managed device 86 * @irq: Interrupt line to allocate 163 * __devm_irq_alloc_descs - Allocate and initialize a range of irq descriptors 165 * @dev: Device to allocate the descriptors for 166 * @irq: Allocate for specific irq number if irq >= 0 168 * @cnt: Number of consecutive irqs to allocate 206 * devm_irq_alloc_generic_chip - Allocate and initialize a generic chip 208 * @dev: Device to allocate the generic chip for
|
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/ |
D | client-buffers.c | 12 * ishtp_cl_alloc_rx_ring() - Allocate RX ring buffers 15 * Allocate and initialize RX ring buffers 50 * ishtp_cl_alloc_tx_ring() - Allocate TX ring buffers 53 * Allocate and initialize TX ring buffers 65 /* Allocate pool to free Tx bufs */ in ishtp_cl_alloc_tx_ring() 175 * ishtp_io_rb_init() - Allocate and init IO request block 178 * Allocate and initialize request block 197 * ishtp_io_rb_alloc_buf() - Allocate and init response buffer 201 * Allocate respose buffer
|
/linux-6.12.1/scripts/coccinelle/api/ |
D | kfree_mismatch.cocci | 169 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line) 177 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line) 185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line) 193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line) 201 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line) 209 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line) 218 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li… 227 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
|
/linux-6.12.1/drivers/soc/fsl/qe/ |
D | qe_common.c | 70 pr_err("Cannot allocate memory pool for CPM/QE muram"); in cpm_muram_init() 108 * @size: number of bytes to allocate 139 * cpm_muram_alloc - allocate the requested size worth of multi-user ram 140 * @size: number of bytes to allocate 200 * @dev: Device to allocate memory for 201 * @size: number of bytes to allocate 237 * @size: number of bytes to allocate 260 * @dev: Device to allocate memory for 262 * @size: number of bytes to allocate
|
/linux-6.12.1/Documentation/admin-guide/ |
D | numastat.rst | 10 are able to allocate memory from nodes they prefer. If they succeed, numa_hit 25 numa_hit A process wanted to allocate memory from this node, 28 numa_miss A process wanted to allocate memory from another node, 31 numa_foreign A process wanted to allocate on this node, 40 interleave_hit Interleaving wanted to allocate from this node
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-trace-id.h | 16 * The system will allocate Ids on a demand basis, and allow them to be 47 * Read and optionally allocate a CoreSight trace ID and associate with a CPU. 55 * @cpu: The CPU index to allocate for. 85 * Fast read of the current value that does not allocate if no ID allocated 109 * Allocate a CoreSight trace ID for a system component. 113 * Used to allocate IDs for system trace sources such as STM.
|