Searched refs:heap_allocation (Results 1 – 2 of 2) sorted by relevance
141 struct dma_heap_allocation_data *heap_allocation = data; in dma_heap_ioctl_allocate() local145 if (heap_allocation->fd) in dma_heap_ioctl_allocate()148 fd = dma_heap_bufferfd_alloc(heap, heap_allocation->len, in dma_heap_ioctl_allocate()149 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()150 heap_allocation->heap_flags); in dma_heap_ioctl_allocate()154 heap_allocation->fd = fd; in dma_heap_ioctl_allocate()
237 struct rk_dma_heap_allocation_data *heap_allocation = data; in rk_dma_heap_ioctl_allocate() local241 if (heap_allocation->fd) in rk_dma_heap_ioctl_allocate()244 fd = rk_dma_heap_bufferfd_alloc(heap, heap_allocation->len, in rk_dma_heap_ioctl_allocate()245 heap_allocation->fd_flags, in rk_dma_heap_ioctl_allocate()246 heap_allocation->heap_flags, NULL); in rk_dma_heap_ioctl_allocate()250 heap_allocation->fd = fd; in rk_dma_heap_ioctl_allocate()