Home
last modified time | relevance | path

Searched refs:cma_pages (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/dma-buf/heaps/
Dcma_heap.c36 struct page *cma_pages; member
257 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
285 struct page *cma_pages; in cma_heap_allocate() local
301 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()
302 if (!cma_pages) in cma_heap_allocate()
306 if (PageHighMem(cma_pages)) { in cma_heap_allocate()
308 struct page *page = cma_pages; in cma_heap_allocate()
325 memset(page_address(cma_pages), 0, size); in cma_heap_allocate()
335 buffer->pages[pg] = &cma_pages[pg]; in cma_heap_allocate()
337 buffer->cma_pages = cma_pages; in cma_heap_allocate()
[all …]
/Linux-v5.15/include/linux/
Dmmzone.h583 unsigned long cma_pages; member
686 return zone->cma_pages; in zone_cma_pages()
/Linux-v5.15/mm/
Dmemory_hotplug.c748 stats->movable_pages += zone->cma_pages; in auto_movable_stats_account_zone()
749 stats->kernel_early_pages -= zone->cma_pages; in auto_movable_stats_account_zone()
Dpage_alloc.c2271 page_zone(page)->cma_pages += pageblock_nr_pages; in init_cma_reserved_pageblock()