Searched refs:cma_heap (Results 1 – 4 of 4) sorted by relevance
26 struct cma_heap { struct32 struct cma_heap *heap; argument248 struct cma_heap *cma_heap = buffer->heap; in cma_heap_dma_buf_release() local259 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()281 struct cma_heap *cma_heap = dma_heap_get_drvdata(heap); in cma_heap_allocate() local303 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()340 buffer->heap = cma_heap; in cma_heap_allocate()359 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()372 struct cma_heap *cma_heap; in __add_cma_heap() local375 cma_heap = kzalloc(sizeof(*cma_heap), GFP_KERNEL); in __add_cma_heap()[all …]
3 obj-$(CONFIG_DMABUF_HEAPS_CMA) += cma_heap.o
[all...]