Lines Matching refs:cma_pages
40 struct page *cma_pages; member
262 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
290 struct page *cma_pages; in cma_heap_allocate() local
306 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()
307 if (!cma_pages) in cma_heap_allocate()
311 if (PageHighMem(cma_pages)) { in cma_heap_allocate()
313 struct page *page = cma_pages; in cma_heap_allocate()
330 memset(page_address(cma_pages), 0, size); in cma_heap_allocate()
340 buffer->pages[pg] = &cma_pages[pg]; in cma_heap_allocate()
342 buffer->cma_pages = cma_pages; in cma_heap_allocate()
362 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()