Searched refs:caching_array (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_page_alloc.c | 526 vm_page_t *caching_array; in ttm_alloc_new_pages() local 534 caching_array = malloc(max_cpages * sizeof(vm_page_t), M_TEMP, in ttm_alloc_new_pages() 545 r = ttm_set_pages_caching(caching_array, in ttm_alloc_new_pages() 550 caching_array, cpages); in ttm_alloc_new_pages() 563 caching_array[cpages++] = p; in ttm_alloc_new_pages() 566 r = ttm_set_pages_caching(caching_array, in ttm_alloc_new_pages() 571 caching_array, cpages); in ttm_alloc_new_pages() 582 r = ttm_set_pages_caching(caching_array, cstate, cpages); in ttm_alloc_new_pages() 586 caching_array, cpages); in ttm_alloc_new_pages() 589 free(caching_array, M_TEMP); in ttm_alloc_new_pages()
|
H A D | ttm_page_alloc_dma.c | 709 struct page **caching_array; in ttm_dma_pool_alloc_new_pages() local 718 caching_array = kmalloc(max_cpages*sizeof(struct page *), GFP_KERNEL); in ttm_dma_pool_alloc_new_pages() 720 if (!caching_array) { in ttm_dma_pool_alloc_new_pages() 740 r = ttm_set_pages_caching(pool, caching_array, in ttm_dma_pool_alloc_new_pages() 744 pool, d_pages, caching_array, in ttm_dma_pool_alloc_new_pages() 758 caching_array[cpages++] = p; in ttm_dma_pool_alloc_new_pages() 761 r = ttm_set_pages_caching(pool, caching_array, in ttm_dma_pool_alloc_new_pages() 765 pool, d_pages, caching_array, in ttm_dma_pool_alloc_new_pages() 776 r = ttm_set_pages_caching(pool, caching_array, cpages); in ttm_dma_pool_alloc_new_pages() 779 caching_array, cpages); in ttm_dma_pool_alloc_new_pages() [all …]
|