Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_page_alloc.c291 npages_to_free = nr_free; in ttm_page_pool_free() local
294 npages_to_free = NUM_PAGES_TO_ALLOC; in ttm_page_pool_free()
299 pages_to_free = kmalloc_array(npages_to_free, in ttm_page_pool_free()
311 if (freed_pages >= npages_to_free) in ttm_page_pool_free()
332 npages_to_free = nr_free; in ttm_page_pool_free()
334 npages_to_free = NUM_PAGES_TO_ALLOC; in ttm_page_pool_free()
Dttm_page_alloc_dma.c413 npages_to_free = nr_free; in ttm_dma_page_pool_free() local
416 npages_to_free = NUM_PAGES_TO_ALLOC; in ttm_dma_page_pool_free()
421 pages_to_free = kmalloc_array(npages_to_free, in ttm_dma_page_pool_free()
437 if (freed_pages >= npages_to_free) in ttm_dma_page_pool_free()
463 npages_to_free = nr_free; in ttm_dma_page_pool_free()
465 npages_to_free = NUM_PAGES_TO_ALLOC; in ttm_dma_page_pool_free()