Searched refs:caching_array (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_page_alloc.c | 496 struct page **caching_array; ttm_alloc_new_pages() local 504 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); ttm_alloc_new_pages() 506 if (!caching_array) { ttm_alloc_new_pages() 520 r = ttm_set_pages_caching(caching_array, ttm_alloc_new_pages() 525 caching_array, cpages); ttm_alloc_new_pages() 538 caching_array[cpages++] = p; ttm_alloc_new_pages() 541 r = ttm_set_pages_caching(caching_array, ttm_alloc_new_pages() 546 caching_array, cpages); ttm_alloc_new_pages() 557 r = ttm_set_pages_caching(caching_array, cstate, cpages); ttm_alloc_new_pages() 561 caching_array, cpages); ttm_alloc_new_pages() 564 kfree(caching_array); ttm_alloc_new_pages()
|
H A D | ttm_page_alloc_dma.c | 717 struct page **caching_array; ttm_dma_pool_alloc_new_pages() local 726 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); ttm_dma_pool_alloc_new_pages() 728 if (!caching_array) { ttm_dma_pool_alloc_new_pages() 748 r = ttm_set_pages_caching(pool, caching_array, ttm_dma_pool_alloc_new_pages() 752 pool, d_pages, caching_array, ttm_dma_pool_alloc_new_pages() 766 caching_array[cpages++] = p; ttm_dma_pool_alloc_new_pages() 769 r = ttm_set_pages_caching(pool, caching_array, ttm_dma_pool_alloc_new_pages() 773 pool, d_pages, caching_array, ttm_dma_pool_alloc_new_pages() 784 r = ttm_set_pages_caching(pool, caching_array, cpages); ttm_dma_pool_alloc_new_pages() 787 caching_array, cpages); ttm_dma_pool_alloc_new_pages() 790 kfree(caching_array); ttm_dma_pool_alloc_new_pages()
|
Completed in 84 milliseconds