Home
last modified time | relevance | path

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

/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c26 struct cma_heap { struct
32 struct cma_heap *heap; argument
247 struct cma_heap *cma_heap = buffer->heap; in cma_heap_dma_buf_release() local
258 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() local
302 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() local
374 cma_heap = kzalloc(sizeof(*cma_heap), GFP_KERNEL); in __add_cma_heap()
[all …]
H A DMakefile3 obj-$(CONFIG_DMABUF_HEAPS_CMA) += cma_heap.o