Home
last modified time | relevance | path

Searched full:allocate (Results 1 – 25 of 6319) sorted by relevance

12345678910>>...253

/OK3568_Linux_fs/kernel/include/linux/
H A Drk-dma-heap.h46 * rk_dma_heap_buffer_alloc - Allocate dma-buf from a dma_heap
47 * @heap: dma_heap to allocate from
48 * @len: size to allocate
60 * rk_dma_heap_bufferfd_alloc - Allocate dma-buf fd from a dma_heap
61 * @heap: dma_heap to allocate from
62 * @len: size to allocate
72 * rk_dma_heap_alloc_contig_pages - Allocate contiguous pages from a dma_heap
73 * @heap: dma_heap to allocate from
74 * @len: size to allocate
75 * @name: the name who allocate
[all …]
H A Ddma-heap.h20 * @allocate: allocate dmabuf and return struct dma_buf ptr
23 * allocate returns dmabuf on success, ERR_PTR(-errno) on error.
26 struct dma_buf *(*allocate)(struct dma_heap *heap, member
99 * dma_heap_buffer_alloc - Allocate dma-buf from a dma_heap
100 * @heap: dma_heap to allocate from
101 * @len: size to allocate
119 * dma_heap_bufferfd_alloc - Allocate dma-buf fd from a dma_heap
120 * @heap: dma_heap to allocate from
121 * @len: size to allocate
H A Dsbitmap.h133 * @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 …]
/OK3568_Linux_fs/kernel/drivers/firewire/
H A Dcore-iso.c205 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 …]
/OK3568_Linux_fs/external/rknpu2/runtime/RV1106/Linux/librknn_api/armhf/
H A Dlibrknn_api.so ... taskseg taskinfo_num in config! E RKNN: failed to allocate taskinfos config! E RKNN: failed to allocate task_start ...
HDlibrknnmrt.so ... taskseg taskinfo_num in config! E RKNN: failed to allocate taskinfos config! E RKNN: failed to allocate task_start ...
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-bootmem.h29 * 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 …]
/OK3568_Linux_fs/kernel/lib/
H A Dgenalloc.c211 * @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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Dalloc_traits.h217 -> decltype(__a.allocate(__n, __hint)) in _GLIBCXX_VISIBILITY()
218 { return __a.allocate(__n, __hint); } in _GLIBCXX_VISIBILITY()
223 { return __a.allocate(__n); } in _GLIBCXX_VISIBILITY()
306 * @brief Allocate memory. in _GLIBCXX_VISIBILITY()
308 * @param __n The number of objects to allocate space for. in _GLIBCXX_VISIBILITY()
310 * Calls @c a.allocate(n) in _GLIBCXX_VISIBILITY()
313 allocate(_Alloc& __a, size_type __n) in _GLIBCXX_VISIBILITY()
314 { return __a.allocate(__n); } in _GLIBCXX_VISIBILITY()
317 * @brief Allocate memory. in _GLIBCXX_VISIBILITY()
319 * @param __n The number of objects to allocate space for. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Dalloc_traits.h217 -> decltype(__a.allocate(__n, __hint)) in _GLIBCXX_VISIBILITY()
218 { return __a.allocate(__n, __hint); } in _GLIBCXX_VISIBILITY()
223 { return __a.allocate(__n); } in _GLIBCXX_VISIBILITY()
306 * @brief Allocate memory. in _GLIBCXX_VISIBILITY()
308 * @param __n The number of objects to allocate space for. in _GLIBCXX_VISIBILITY()
310 * Calls @c a.allocate(n) in _GLIBCXX_VISIBILITY()
313 allocate(_Alloc& __a, size_type __n) in _GLIBCXX_VISIBILITY()
314 { return __a.allocate(__n); } in _GLIBCXX_VISIBILITY()
317 * @brief Allocate memory. in _GLIBCXX_VISIBILITY()
319 * @param __n The number of objects to allocate space for. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/kernel/fs/jfs/
H A Djfs_extent.c53 * 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_ref_drv.c52 /* Allocate the ump_dd_mem struct for this allocation */ in ump_dd_handle_create_from_phys_blocks()
55 DBG_MSG(1, ("Could not allocate ump_dd_mem in ump_dd_handle_create_from_phys_blocks()\n")); in ump_dd_handle_create_from_phys_blocks()
63 …DBG_MSG(1, ("Could not allocate a mem handle for function ump_dd_handle_create_from_phys_blocks().… in ump_dd_handle_create_from_phys_blocks()
86 DBG_MSG(1, ("Failed to allocate secure ID in ump_dd_handle_create_from_phys_blocks()\n")); in ump_dd_handle_create_from_phys_blocks()
115 DBG_MSG(1, ("Failed to allocate ump_session_memory_list_element in ump_ioctl_allocate()\n")); in _ump_ukk_allocate()
123 DBG_MSG(1, ("Failed to allocate ump_dd_mem in _ump_ukk_allocate()\n")); in _ump_ukk_allocate()
146 if (!device.backend->allocate(device.backend->ctx, new_allocation)) { in _ump_ukk_allocate()
147 …DBG_MSG(3, ("OOM: No more UMP memory left. Failed to allocate memory in ump_ioctl_allocate(). Size… in _ump_ukk_allocate()
170 DBG_MSG(1, ("Failed to allocate secure ID in ump_ioctl_allocate()\n")); in _ump_ukk_allocate()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Dia_css_dvs.h163 /* @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 …]
/OK3568_Linux_fs/kernel/fs/ntfs/
H A Dmalloc.h16 * __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
/OK3568_Linux_fs/kernel/kernel/irq/
H A Ddevres.c33 * 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
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_pptable.h132 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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libtiff/tiff/
H A D0003-add-checks-for-return-value-of-limitMalloc-392.patch25 + TIFFError("createImageSection", "Unable to allocate/reallocate section buffer");
37 + TIFFError("createImageSection", "Unable to allocate/reallocate section buffer");
46 - TIFFError("createImageSection", "Unable to allocate/reallocate section buffer");
59 + TIFFError("createCroppedImage", "Unable to allocate/reallocate crop buffer");
71 + TIFFError("createCroppedImage", "Unable to allocate/reallocate crop buffer");
80 - TIFFError("createCroppedImage", "Unable to allocate/reallocate crop buffer");
/OK3568_Linux_fs/kernel/drivers/staging/octeon/
H A Dethernet-mem.c18 * @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()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_rtalloc.c145 xfs_rtblock_t start, /* start block to allocate */ in xfs_rtallocate_range()
146 xfs_extlen_t len, /* length to allocate */ in xfs_rtallocate_range()
215 * Attempt to allocate an extent minlen<=len<=maxlen starting from
225 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_block()
226 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block()
263 * i for maxlen is all free, allocate and return that. in xfs_rtallocate_extent_block()
316 * Allocate besti for bestlen & return that. in xfs_rtallocate_extent_block()
335 * Allocate an extent of length minlen<=len<=maxlen, starting at block
344 xfs_rtblock_t bno, /* starting block number to allocate */ in xfs_rtallocate_extent_exact()
345 xfs_extlen_t minlen, /* minimum length to allocate */ in xfs_rtallocate_extent_exact()
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Drelocate.c9 * 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()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dallocator.h45 * count = number of instances to allocate.
49 T* allocate(size_t count = 1)
84 void* loc; /* Current location in block to next allocate memory. */
141 /* Allocate new storage. */ in allocateMemory()
145 // use the standard C malloc to allocate memory in allocateMemory()
148 fprintf(stderr,"Failed to allocate memory.\n"); in allocateMemory()
175 * count = number of instances to allocate.
179 T* allocate(size_t count = 1)
/OK3568_Linux_fs/kernel/drivers/hid/intel-ish-hid/ishtp/
H A Dclient-buffers.c12 * 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
/OK3568_Linux_fs/kernel/scripts/coccinelle/api/
H A Dkfree_mismatch.cocci169 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…
/OK3568_Linux_fs/kernel/sound/core/
H A Dmemalloc.c26 /* allocate the coherent DMA pages */
57 * snd_malloc_dev_iram - allocate memory from on-chip internal ram
59 * @size: number of bytes to allocate from the iram
114 * snd_dma_alloc_pages - allocate the buffer area according to the given type
117 * @size: the buffer size to allocate
187 * snd_dma_alloc_pages_fallback - allocate the buffer area according to the given type with fallback
190 * @size: the buffer size to allocate
195 * tries to allocate again. The size actually allocated is stored in
/OK3568_Linux_fs/kernel/drivers/misc/lkdtm/
H A Dheap.c70 pr_info("Unable to allocate base memory.\n"); in lkdtm_READ_AFTER_FREE()
76 pr_info("Unable to allocate val memory.\n"); in lkdtm_READ_AFTER_FREE()
103 pr_info("Unable to allocate free page\n"); in lkdtm_WRITE_BUDDY_AFTER_FREE()
126 pr_info("Unable to allocate free page\n"); in lkdtm_READ_BUDDY_AFTER_FREE()
132 pr_info("Unable to allocate val memory.\n"); in lkdtm_READ_BUDDY_AFTER_FREE()
161 pr_info("Unable to allocate double_free_cache memory.\n"); in lkdtm_SLAB_FREE_DOUBLE()
178 pr_info("Unable to allocate a_cache memory.\n"); in lkdtm_SLAB_FREE_CROSS()

12345678910>>...253