Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma-buf/
Ddma-heap.c98 struct dma_heap_allocation_data *heap_allocation = data; in dma_heap_ioctl_allocate() local
102 if (heap_allocation->fd) in dma_heap_ioctl_allocate()
105 if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_ioctl_allocate()
108 if (heap_allocation->heap_flags & ~DMA_HEAP_VALID_HEAP_FLAGS) in dma_heap_ioctl_allocate()
111 fd = dma_heap_buffer_alloc(heap, heap_allocation->len, in dma_heap_ioctl_allocate()
112 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
113 heap_allocation->heap_flags); in dma_heap_ioctl_allocate()
117 heap_allocation->fd = fd; in dma_heap_ioctl_allocate()