Lines Matching refs:caching_array
484 struct page **caching_array; in ttm_alloc_new_pages() local
492 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); in ttm_alloc_new_pages()
494 if (!caching_array) { in ttm_alloc_new_pages()
509 r = ttm_set_pages_caching(caching_array, in ttm_alloc_new_pages()
514 caching_array, cpages); in ttm_alloc_new_pages()
527 caching_array[cpages++] = p; in ttm_alloc_new_pages()
530 r = ttm_set_pages_caching(caching_array, in ttm_alloc_new_pages()
535 caching_array, cpages); in ttm_alloc_new_pages()
546 r = ttm_set_pages_caching(caching_array, cstate, cpages); in ttm_alloc_new_pages()
550 caching_array, cpages); in ttm_alloc_new_pages()
553 kfree(caching_array); in ttm_alloc_new_pages()