| /kernel/linux/linux-4.19/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 passed 151 * This is an allocate-only algorithm, so freeing memory is not possible. 153 * @size: Size in bytes of block to allocate 161 * Allocate a block of memory from the free list that was 163 * address. This is an allocate-only algorithm, so 167 * @size: Size in bytes of block to allocate 168 * @address: Physical address to allocate memory at. If this memory is not 177 * Allocate a block of memory from the free list that was [all …]
|
| /kernel/linux/linux-5.10/drivers/firewire/ |
| D | core-iso.c | 205 int bandwidth, bool allocate) in manage_bandwidth() argument 207 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; in manage_bandwidth() 216 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth() 228 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth() 243 u32 channels_mask, u64 offset, bool allocate) in manage_channel() argument 249 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel() 268 return allocate ? -EAGAIN : channel; in manage_channel() 308 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth 314 * @allocate: whether to allocate (true) or deallocate (false) 316 * In parameters: card, generation, channels_mask, bandwidth, allocate [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | sbitmap.h | 129 * @round_robin: Allocate bits in strict round-robin order. 143 * @depth: Number of bits to allocate. 147 * @node: Memory node to allocate on. 175 * sbitmap_get() - Try to allocate a free bit from a &struct sbitmap. 176 * @sb: Bitmap to allocate from. 178 * @round_robin: If true, be stricter about allocation order; always allocate 189 * sbitmap_get_shallow() - Try to allocate a free bit from a &struct sbitmap, 191 * @sb: Bitmap to allocate from. 193 * @shallow_depth: The maximum number of bits to allocate from a single word. 199 * class can only allocate half of the total bits in the bitmap, preventing it [all …]
|
| /kernel/linux/linux-4.19/drivers/firewire/ |
| D | core-iso.c | 236 int bandwidth, bool allocate) in manage_bandwidth() argument 238 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; in manage_bandwidth() 247 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth() 259 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth() 274 u32 channels_mask, u64 offset, bool allocate) in manage_channel() argument 280 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel() 299 return allocate ? -EAGAIN : channel; in manage_channel() 339 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth 341 * In parameters: card, generation, channels_mask, bandwidth, allocate 364 bool allocate) in fw_iso_resource_manage() argument [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | sbitmap.h | 133 * @round_robin: Allocate bits in strict round-robin order. 147 * @depth: Number of bits to allocate. 151 * @node: Memory node to allocate on. 179 * sbitmap_get() - Try to allocate a free bit from a &struct sbitmap. 180 * @sb: Bitmap to allocate from. 182 * @round_robin: If true, be stricter about allocation order; always allocate 193 * sbitmap_get_shallow() - Try to allocate a free bit from a &struct sbitmap, 195 * @sb: Bitmap to allocate from. 197 * @shallow_depth: The maximum number of bits to allocate from a single word. 203 * class can only allocate half of the total bits in the bitmap, preventing it [all …]
|
| D | dma-heap.h | 19 * @allocate: allocate dmabuf and return fd 21 * allocate returns dmabuf fd on success, -errno on error. 24 int (*allocate)(struct dma_heap *heap, member
|
| /kernel/linux/linux-5.10/lib/ |
| D | genalloc.c | 211 * @pool: pool to allocate from 264 * gen_pool_alloc_algo_owner - allocate special memory from the pool 265 * @pool: pool to allocate from 266 * @size: number of bytes to allocate from the pool 271 * Allocate the requested number of bytes from the specified pool. 328 * gen_pool_dma_alloc - allocate special memory from the pool for DMA usage 329 * @pool: pool to allocate from 330 * @size: number of bytes to allocate from the pool 333 * Allocate the requested number of bytes from the specified pool. 347 * gen_pool_dma_alloc_algo - allocate special memory from the pool for DMA [all …]
|
| /kernel/linux/linux-5.10/fs/ntfs/ |
| D | malloc.h | 16 * __ntfs_malloc - allocate memory in multiples of pages 17 * @size: number of bytes to allocate 42 * ntfs_malloc_nofs - allocate memory in multiples of pages 43 * @size: number of bytes to allocate 56 * ntfs_malloc_nofs_nofail - allocate memory in multiples of pages 57 * @size: number of bytes to allocate
|
| /kernel/linux/linux-5.10/fs/jfs/ |
| D | jfs_extent.c | 53 * FUNCTION: allocate an extent for a specified page range within a 103 * extent if we can allocate the blocks immediately in extAlloc() 114 /* allocate the disk blocks for the extent. initially, extBalloc() in extAlloc() 115 * will try to allocate disk blocks for the requested size (xlen). in extAlloc() 117 * try to allocate a smaller number of blocks (producing a smaller in extAlloc() 121 * and retry the allocation until the number of blocks to allocate in extAlloc() 130 /* Allocate blocks to quota. */ in extAlloc() 238 * try to allocate a new set of blocks large enough for the in extRealloc() 239 * request. in satisfying a request, dbReAlloc() may allocate in extRealloc() 240 * less than what was request but will always allocate enough in extRealloc() [all …]
|
| /kernel/linux/linux-4.19/fs/jfs/ |
| D | jfs_extent.c | 66 * FUNCTION: allocate an extent for a specified page range within a 116 * extent if we can allocate the blocks immediately in extAlloc() 127 /* allocate the disk blocks for the extent. initially, extBalloc() in extAlloc() 128 * will try to allocate disk blocks for the requested size (xlen). in extAlloc() 130 * try to allocate a smaller number of blocks (producing a smaller in extAlloc() 134 * and retry the allocation until the number of blocks to allocate in extAlloc() 143 /* Allocate blocks to quota. */ in extAlloc() 251 * try to allocate a new set of blocks large enough for the in extRealloc() 252 * request. in satisfying a request, dbReAlloc() may allocate in extRealloc() 253 * less than what was request but will always allocate enough in extRealloc() [all …]
|
| /kernel/linux/linux-4.19/fs/ntfs/ |
| D | malloc.h | 30 * __ntfs_malloc - allocate memory in multiples of pages 31 * @size: number of bytes to allocate 56 * ntfs_malloc_nofs - allocate memory in multiples of pages 57 * @size: number of bytes to allocate 70 * ntfs_malloc_nofs_nofail - allocate memory in multiples of pages 71 * @size: number of bytes to allocate
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-4.19/drivers/staging/octeon/ |
| D | ethernet-mem.c | 21 * @pool: Pool to allocate an skbuff for 23 * @elements: Number of buffers to allocate 46 * @pool: Pool to allocate an skbuff for 48 * @elements: Number of buffers to allocate 76 * @elements: Number of buffers to allocate 93 * We allocate an extra 256 bytes to allow for in cvm_oct_fill_hw_memory() 99 pr_warn("Unable to allocate %u bytes for FPA pool %d\n", in cvm_oct_fill_hw_memory()
|
| /kernel/linux/linux-4.19/drivers/hid/intel-ish-hid/ishtp/ |
| D | client-buffers.c | 21 * ishtp_cl_alloc_rx_ring() - Allocate RX ring buffers 24 * Allocate and initialize RX ring buffers 59 * ishtp_cl_alloc_tx_ring() - Allocate TX ring buffers 62 * Allocate and initialize TX ring buffers 72 /* Allocate pool to free Tx bufs */ in ishtp_cl_alloc_tx_ring() 180 * ishtp_io_rb_init() - Allocate and init IO request block 183 * Allocate and initialize request block 202 * ishtp_io_rb_alloc_buf() - Allocate and init response buffer 206 * Allocate respose buffer
|
| /kernel/linux/linux-4.19/kernel/irq/ |
| D | devres.c | 33 * devm_request_threaded_irq - allocate an interrupt line for a managed device 35 * @irq: Interrupt line to allocate 83 * devm_request_any_context_irq - allocate an interrupt line for a managed device 85 * @irq: Interrupt line to allocate 164 * __devm_irq_alloc_descs - Allocate and initialize a range of irq descriptors 166 * @dev: Device to allocate the descriptors for 167 * @irq: Allocate for specific irq number if irq >= 0 169 * @cnt: Number of consecutive irqs to allocate 207 * devm_irq_alloc_generic_chip - Allocate and initialize a generic chip 209 * @dev: Device to allocate the generic chip for
|
| /kernel/linux/linux-5.10/kernel/irq/ |
| D | devres.c | 33 * devm_request_threaded_irq - allocate an interrupt line for a managed device 35 * @irq: Interrupt line to allocate 83 * devm_request_any_context_irq - allocate an interrupt line for a managed device 85 * @irq: Interrupt line to allocate 162 * __devm_irq_alloc_descs - Allocate and initialize a range of irq descriptors 164 * @dev: Device to allocate the descriptors for 165 * @irq: Allocate for specific irq number if irq >= 0 167 * @cnt: Number of consecutive irqs to allocate 205 * devm_irq_alloc_generic_chip - Allocate and initialize a generic chip 207 * @dev: Device to allocate the generic chip for
|
| /kernel/linux/linux-4.19/sound/core/ |
| D | memalloc.c | 37 * snd_malloc_pages - allocate pages with the given size 38 * @size: the size to allocate in bytes 84 /* allocate the coherent DMA pages */ 114 * snd_malloc_dev_iram - allocate memory from on-chip internal ram 116 * @size: number of bytes to allocate from the iram 162 * snd_dma_alloc_pages - allocate the buffer area according to the given type 165 * @size: the buffer size to allocate 225 * snd_dma_alloc_pages_fallback - allocate the buffer area according to the given type with fallback 228 * @size: the buffer size to allocate 233 * tries to allocate again. The size actually allocated is stored in
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | ia_css_dvs.h | 163 /* @brief Allocate the DVS statistics memory on the ISP 177 /* @brief Allocate the DVS 2.0 statistics memory 191 /* @brief Allocate the DVS statistics memory on the host 205 /* @brief Allocate the DVS coefficients memory 219 /* @brief Allocate the DVS 2.0 statistics memory on the host 233 /* @brief Allocate the DVS 2.0 coefficients memory 247 /* @brief Allocate the DVS 2.0 6-axis config memory 261 /* @brief Allocate a dvs statistics map structure 270 * If the data_ptr is NULL, this function will allocate the host-side 274 * Note that this function does not allocate or map any ISP [all …]
|
| /kernel/linux/linux-5.10/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 102 * @alloc_size: minimum size of memory to allocate, must be greater or 144 * to the preferred address. If that fails, allocate as low in efi_relocate_kernel() 152 * If preferred address allocation failed allocate as low as in efi_relocate_kernel() 160 efi_err("Failed to allocate usable memory for kernel.\n"); in efi_relocate_kernel()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| D | vega10_pptable.h | 132 ATOM_Vega10_State states[1]; /* Dynamically allocate entries. */ 166 ATOM_Vega10_GFXCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 172 ATOM_Vega10_MCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 178 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 184 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 190 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 196 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 202 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 216 ATOM_Vega10_MM_Dependency_Record entries[1]; /* Dynamically allocate entries */ 228 ATOM_Vega10_PCIE_Record entries[1]; /* Dynamically allocate entries. */ [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
| D | vega10_pptable.h | 132 ATOM_Vega10_State states[1]; /* Dynamically allocate entries. */ 166 ATOM_Vega10_GFXCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 172 ATOM_Vega10_MCLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 178 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 184 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 190 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 196 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 202 ATOM_Vega10_CLK_Dependency_Record entries[1]; /* Dynamically allocate entries. */ 216 ATOM_Vega10_MM_Dependency_Record entries[1]; /* Dynamically allocate entries */ 228 ATOM_Vega10_PCIE_Record entries[1]; /* Dynamically allocate entries. */ [all …]
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-4.19/fs/xfs/ |
| D | xfs_rtalloc.c | 143 xfs_rtblock_t start, /* start block to allocate */ in xfs_rtallocate_range() 144 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range() 213 * Attempt to allocate an extent minlen<=len<=maxlen starting from 223 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block() 224 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() 261 * i for maxlen is all free, allocate and return that. in xfs_rtallocate_extent_block() 314 * Allocate besti for bestlen & return that. in xfs_rtallocate_extent_block() 333 * Allocate an extent of length minlen<=len<=maxlen, starting at block 342 xfs_rtblock_t bno, /* starting block number to allocate */ in xfs_rtallocate_extent_exact() 343 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact() [all …]
|
| /kernel/linux/linux-5.10/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…
|