Home
last modified time | relevance | path

Searched refs:allocate (Results 1 - 9 of 9) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-heap.h19 * @allocate: allocate dmabuf and return struct dma_buf ptr
22 * allocate returns dmabuf on success, ERR_PTR(-errno) on error.
25 struct dma_buf *(*allocate)(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, member
94 * @heap: dma_heap to allocate from
95 * @len: size to allocate
113 * @heap: dma_heap to allocate from
114 * @len: size to allocate
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_memory_backend.h35 int (*allocate)(void *ctx, ump_dd_mem *descriptor); member
H A Dump_kernel_ref_drv.c55 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().\n")); 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: %lu, requested size: %lu\n", in _ump_ukk_allocate()
170 DBG_MSG(1, ("Failed to allocate secure ID in ump_ioctl_allocate()\n")); in _ump_ukk_allocate()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_memory_backend.h35 int (*allocate)(void *ctx, ump_dd_mem *descriptor); member
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c445 * Avoid trying to allocate memory if the process in system_heap_do_allocate()
537 .allocate = system_heap_allocate,
556 .allocate = system_uncached_heap_not_initialized,
597 mb(); /* make sure we only set allocate after dma_mask is set */ in system_heap_create()
598 system_uncached_heap_ops.allocate = system_uncached_heap_allocate; in system_heap_create()
H A Dcma_heap.c367 .allocate = cma_heap_allocate,
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-heap.c97 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
188 /* If necessary, allocate buffer for ioctl argument */ in dma_heap_ioctl()
311 if (!exp_info->ops || !exp_info->ops->allocate) { in dma_heap_add()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_memory_backend_dedicated.c98 backend->allocate = block_allocator_allocate; in ump_block_allocator_create()
157 MSG_ERR(("Failed to allocate block array\n")); in block_allocator_allocate()
H A Dump_kernel_memory_backend_os.c33 u32 num_pages_max; /**< Maximum number of pages to allocate from the OS */
71 backend->allocate = os_allocate; in ump_os_memory_backend_create()
167 DBG_MSG(1, ("Failed to allocate needed pages\n")); in os_allocate()

Completed in 4 milliseconds