Searched refs:freed_pages (Results 1 – 2 of 2) sorted by relevance
286 unsigned freed_pages) in ttm_pool_update_free_locked() argument288 pool->npages -= freed_pages; in ttm_pool_update_free_locked()289 pool->nfrees += freed_pages; in ttm_pool_update_free_locked()309 unsigned freed_pages = 0, in ttm_page_pool_free() local329 if (freed_pages >= npages_to_free) in ttm_page_pool_free()332 pages_to_free[freed_pages++] = p; in ttm_page_pool_free()334 if (freed_pages >= NUM_PAGES_TO_ALLOC) { in ttm_page_pool_free()338 ttm_pool_update_free_locked(pool, freed_pages); in ttm_page_pool_free()345 ttm_pages_put(pages_to_free, freed_pages); in ttm_page_pool_free()347 nr_free -= freed_pages; in ttm_page_pool_free()[all …]
370 unsigned freed_pages) in ttm_pool_update_free_locked() argument372 pool->npages_free -= freed_pages; in ttm_pool_update_free_locked()373 pool->nfrees += freed_pages; in ttm_pool_update_free_locked()424 unsigned freed_pages = 0, in ttm_dma_page_pool_free() local454 if (freed_pages >= npages_to_free) in ttm_dma_page_pool_free()460 pages_to_free[freed_pages++] = dma_p->p; in ttm_dma_page_pool_free()462 if (freed_pages >= NUM_PAGES_TO_ALLOC) { in ttm_dma_page_pool_free()464 ttm_pool_update_free_locked(pool, freed_pages); in ttm_dma_page_pool_free()472 freed_pages); in ttm_dma_page_pool_free()477 nr_free -= freed_pages; in ttm_dma_page_pool_free()[all …]