| /kernel/linux/linux-6.6/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/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-6.6/include/asm-generic/ |
| D | pgalloc.h | 11 * __pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 31 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 53 * __pte_alloc_one - allocate memory for a PTE-level user page table 57 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor(). 81 * pte_alloc_one - allocate a page for PTE-level user page table 84 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor(). 117 * pmd_alloc_one - allocate memory for a PMD-level page table 120 * Allocate memory for a page table and ptdesc and runs pagetable_pmd_ctor(). 177 * pud_alloc_one - allocate memory for a PUD-level page table 180 * Allocate memory for a page table using %GFP_PGTABLE_USER for user context
|
| /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-6.6/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-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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /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-6.6/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 …]
|
| /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-6.6/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-6.6/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 …]
|
| /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-6.6/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-6.6/drivers/misc/lkdtm/ |
| D | heap.c | 105 pr_info("Unable to allocate base memory.\n"); in lkdtm_READ_AFTER_FREE() 111 pr_info("Unable to allocate val memory.\n"); in lkdtm_READ_AFTER_FREE() 139 pr_info("Unable to allocate free page\n"); in lkdtm_WRITE_BUDDY_AFTER_FREE() 162 pr_info("Unable to allocate free page\n"); in lkdtm_READ_BUDDY_AFTER_FREE() 168 pr_info("Unable to allocate val memory.\n"); in lkdtm_READ_BUDDY_AFTER_FREE() 199 pr_info("Unable to allocate 512 bytes the first time.\n"); in lkdtm_SLAB_INIT_ON_ALLOC() 208 pr_info("Unable to allocate 512 bytes the second time.\n"); in lkdtm_SLAB_INIT_ON_ALLOC() 231 pr_info("Unable to allocate first free page\n"); in lkdtm_BUDDY_INIT_ON_ALLOC() 240 pr_info("Unable to allocate second free page\n"); in lkdtm_BUDDY_INIT_ON_ALLOC() 263 pr_info("Unable to allocate double_free_cache memory.\n"); in lkdtm_SLAB_FREE_DOUBLE() [all …]
|
| /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-6.6/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-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-6.6/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-6.6/drivers/hwtracing/coresight/ |
| D | coresight-trace-id.h | 16 * The system will allocate Ids on a demand basis, and allow them to be 64 /* Allocate and release IDs for a single default trace ID map */ 67 * Read and optionally allocate a CoreSight trace ID and associate with a CPU. 75 * @cpu: The CPU index to allocate for. 97 * Fast read of the current value that does not allocate if no ID allocated 115 * Allocate a CoreSight trace ID for a system component. 119 * Used to allocate IDs for system trace sources such as STM.
|
| /kernel/linux/linux-6.6/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 96 * @alloc_size: minimum size of memory to allocate, must be greater or 138 * to the preferred address. If that fails, allocate as low in efi_relocate_kernel() 146 * If preferred address allocation failed allocate as low as in efi_relocate_kernel() 154 efi_err("Failed to allocate usable memory for kernel.\n"); in efi_relocate_kernel()
|
| /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 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()
|