Home
last modified time | relevance | path

Searched refs:heap_allocation (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-heap.c141 struct dma_heap_allocation_data *heap_allocation = data; in dma_heap_ioctl_allocate() local
145 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()
/OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/
H A Drk-dma-heap.c237 struct rk_dma_heap_allocation_data *heap_allocation = data; in rk_dma_heap_ioctl_allocate() local
241 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()