Lines Matching refs:heap
30 struct dma_heap *heap; member
385 static struct dma_buf *system_heap_do_allocate(struct dma_heap *heap, in system_heap_do_allocate() argument
408 buffer->heap = heap; in system_heap_do_allocate()
446 exp_info.exp_name = dma_heap_get_name(heap); in system_heap_do_allocate()
464 dma_map_sgtable(dma_heap_get_dev(heap), table, DMA_BIDIRECTIONAL, 0); in system_heap_do_allocate()
465 dma_unmap_sgtable(dma_heap_get_dev(heap), table, DMA_BIDIRECTIONAL, 0); in system_heap_do_allocate()
485 static struct dma_buf *system_heap_allocate(struct dma_heap *heap, in system_heap_allocate() argument
490 return system_heap_do_allocate(heap, len, fd_flags, heap_flags, false); in system_heap_allocate()
493 static long system_get_pool_size(struct dma_heap *heap) in system_get_pool_size() argument
513 static struct dma_buf *system_uncached_heap_allocate(struct dma_heap *heap, in system_uncached_heap_allocate() argument
518 return system_heap_do_allocate(heap, len, fd_flags, heap_flags, true); in system_uncached_heap_allocate()
522 static struct dma_buf *system_uncached_heap_not_initialized(struct dma_heap *heap, in system_uncached_heap_not_initialized() argument