Searched refs:cma_heap (Results 1 – 2 of 2) sorted by relevance
26 struct cma_heap { struct32 struct cma_heap *heap; argument247 struct cma_heap *cma_heap = buffer->heap; in cma_heap_dma_buf_release() local258 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()280 struct cma_heap *cma_heap = dma_heap_get_drvdata(heap); in cma_heap_allocate() local302 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()339 buffer->heap = cma_heap; in cma_heap_allocate()358 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()371 struct cma_heap *cma_heap; in __add_cma_heap() local374 cma_heap = kzalloc(sizeof(*cma_heap), GFP_KERNEL); in __add_cma_heap()[all …]
3 obj-$(CONFIG_DMABUF_HEAPS_CMA) += cma_heap.o