Lines Matching refs:cma_pages
36 struct page *cma_pages; member
256 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
284 struct page *cma_pages; in cma_heap_allocate() local
300 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in cma_heap_allocate()
301 if (!cma_pages) in cma_heap_allocate()
305 if (PageHighMem(cma_pages)) { in cma_heap_allocate()
307 struct page *page = cma_pages; in cma_heap_allocate()
324 memset(page_address(cma_pages), 0, size); in cma_heap_allocate()
334 buffer->pages[pg] = &cma_pages[pg]; in cma_heap_allocate()
336 buffer->cma_pages = cma_pages; in cma_heap_allocate()
357 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()