Lines Matching refs:caching_array
496 struct page **caching_array; in ttm_alloc_new_pages() local
504 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); in ttm_alloc_new_pages()
506 if (!caching_array) { in ttm_alloc_new_pages()
520 r = ttm_set_pages_caching(caching_array, in ttm_alloc_new_pages()
525 caching_array, cpages); in ttm_alloc_new_pages()
538 caching_array[cpages++] = p; in ttm_alloc_new_pages()
541 r = ttm_set_pages_caching(caching_array, in ttm_alloc_new_pages()
546 caching_array, cpages); in ttm_alloc_new_pages()
557 r = ttm_set_pages_caching(caching_array, cstate, cpages); in ttm_alloc_new_pages()
561 caching_array, cpages); in ttm_alloc_new_pages()
564 kfree(caching_array); in ttm_alloc_new_pages()