Searched refs:max_cpages (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_page_alloc.c500 unsigned max_cpages = min(count, ttm_alloc_new_pages() local
504 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); ttm_alloc_new_pages()
539 if (cpages == max_cpages) { ttm_alloc_new_pages()
H A Dttm_page_alloc_dma.c722 unsigned max_cpages = min(count, ttm_dma_pool_alloc_new_pages() local
726 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); ttm_dma_pool_alloc_new_pages()
767 if (cpages == max_cpages) { ttm_dma_pool_alloc_new_pages()

Completed in 86 milliseconds