Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/dma-buf/heaps/
Dcma_heap.c36 struct page *cma_pages; member
259 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
287 struct page *cma_pages; in cma_heap_allocate() local
303 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()
304 if (!cma_pages) in cma_heap_allocate()
308 if (PageHighMem(cma_pages)) { in cma_heap_allocate()
310 struct page *page = cma_pages; in cma_heap_allocate()
327 memset(page_address(cma_pages), 0, size); in cma_heap_allocate()
337 buffer->pages[pg] = &cma_pages[pg]; in cma_heap_allocate()
339 buffer->cma_pages = cma_pages; in cma_heap_allocate()
[all …]
/linux-6.6.21/include/linux/
Dmmzone.h907 unsigned long cma_pages; member
1015 return zone->cma_pages; in zone_cma_pages()
/linux-6.6.21/mm/
Dmemory_hotplug.c805 stats->movable_pages += zone->cma_pages; in auto_movable_stats_account_zone()
806 stats->kernel_early_pages -= zone->cma_pages; in auto_movable_stats_account_zone()
Dmm_init.c2355 page_zone(page)->cma_pages += pageblock_nr_pages; in init_cma_reserved_pageblock()