Searched refs:cma_pages (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/ |
| H A D | cma_heap.c | 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() [all …]
|
| H A D | rk_cma_heap.c | 39 struct page *cma_pages; member 145 phys_addr_t phys = page_to_phys(buffer->cma_pages); in cma_heap_dma_buf_begin_cpu_access_partial() 170 phys_addr_t phys = page_to_phys(buffer->cma_pages); in cma_heap_dma_buf_end_cpu_access_partial() 326 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release() 358 struct page *cma_pages; in cma_heap_do_allocate() local 377 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in cma_heap_do_allocate() 378 if (!cma_pages) in cma_heap_do_allocate() 382 if (PageHighMem(cma_pages)) { in cma_heap_do_allocate() 384 struct page *page = cma_pages; in cma_heap_do_allocate() 401 memset(page_address(cma_pages), 0, size); in cma_heap_do_allocate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/ |
| H A D | rk-cma-heap.c | 42 struct page *cma_pages; member 78 sg_set_page(table->sgl, buffer->cma_pages, PAGE_ALIGN(size), 0); in rk_cma_heap_attach() 400 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in rk_cma_heap_dma_buf_release() 434 struct page *cma_pages; in rk_cma_heap_allocate() local 450 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in rk_cma_heap_allocate() 451 if (!cma_pages) in rk_cma_heap_allocate() 455 if (PageHighMem(cma_pages)) { in rk_cma_heap_allocate() 457 struct page *page = cma_pages; in rk_cma_heap_allocate() 474 memset(page_address(cma_pages), 0, size); in rk_cma_heap_allocate() 485 buffer->pages[pg] = &cma_pages[pg]; in rk_cma_heap_allocate() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mmzone.h | 510 unsigned long cma_pages; member 617 return zone->cma_pages; in zone_cma_pages()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | page_alloc.c | 2243 page_zone(page)->cma_pages += pageblock_nr_pages; in init_cma_reserved_pageblock()
|