Searched refs:max_cpages (Results 1 – 2 of 2) sorted by relevance
530 unsigned max_cpages = min(count, in ttm_alloc_new_pages() local534 caching_array = malloc(max_cpages * sizeof(vm_page_t), M_TEMP, in ttm_alloc_new_pages()564 if (cpages == max_cpages) { in ttm_alloc_new_pages()
714 unsigned max_cpages = min(count, in ttm_dma_pool_alloc_new_pages() local718 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); in ttm_dma_pool_alloc_new_pages()759 if (cpages == max_cpages) { in ttm_dma_pool_alloc_new_pages()