Searched refs:npages_to_free (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_page_alloc.c310 npages_to_free = nr_free; ttm_page_pool_free() local
313 npages_to_free = NUM_PAGES_TO_ALLOC; ttm_page_pool_free()
318 pages_to_free = kmalloc(npages_to_free * sizeof(struct page *), ttm_page_pool_free()
329 if (freed_pages >= npages_to_free) ttm_page_pool_free()
350 npages_to_free = nr_free; ttm_page_pool_free()
352 npages_to_free = NUM_PAGES_TO_ALLOC; ttm_page_pool_free()
H A Dttm_page_alloc_dma.c425 npages_to_free = nr_free; ttm_dma_page_pool_free() local
428 npages_to_free = NUM_PAGES_TO_ALLOC; ttm_dma_page_pool_free()
433 npages_to_free, nr_free); ttm_dma_page_pool_free()
439 pages_to_free = kmalloc(npages_to_free * sizeof(struct page *), ttm_dma_page_pool_free()
454 if (freed_pages >= npages_to_free) ttm_dma_page_pool_free()
480 npages_to_free = nr_free; ttm_dma_page_pool_free()
482 npages_to_free = NUM_PAGES_TO_ALLOC; ttm_dma_page_pool_free()

Completed in 79 milliseconds