Searched refs:freed_pages (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_shrinker.c | 323 unsigned long unevictable, available, freed_pages; in i915_gem_shrinker_oom() local 327 freed_pages = 0; in i915_gem_shrinker_oom() 329 freed_pages += i915_gem_shrink(i915, -1UL, NULL, in i915_gem_shrinker_oom() 348 if (freed_pages || available) in i915_gem_shrinker_oom() 351 freed_pages, unevictable, available); in i915_gem_shrinker_oom() 353 *(unsigned long *)ptr += freed_pages; in i915_gem_shrinker_oom() 363 unsigned long freed_pages = 0; in i915_gem_shrinker_vmap() local 367 freed_pages += i915_gem_shrink(i915, -1UL, NULL, in i915_gem_shrinker_vmap() 382 freed_pages += count; in i915_gem_shrinker_vmap() 386 *(unsigned long *)ptr += freed_pages; in i915_gem_shrinker_vmap()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 267 unsigned freed_pages) in ttm_pool_update_free_locked() argument 269 pool->npages -= freed_pages; in ttm_pool_update_free_locked() 270 pool->nfrees += freed_pages; in ttm_pool_update_free_locked() 290 unsigned freed_pages = 0, in ttm_page_pool_free() local 311 if (freed_pages >= npages_to_free) in ttm_page_pool_free() 314 pages_to_free[freed_pages++] = p; in ttm_page_pool_free() 316 if (freed_pages >= NUM_PAGES_TO_ALLOC) { in ttm_page_pool_free() 320 ttm_pool_update_free_locked(pool, freed_pages); in ttm_page_pool_free() 327 ttm_pages_put(pages_to_free, freed_pages, pool->order); in ttm_page_pool_free() 329 nr_free -= freed_pages; in ttm_page_pool_free() [all …]
|
D | ttm_page_alloc_dma.c | 344 unsigned freed_pages) in ttm_pool_update_free_locked() argument 346 pool->npages_free -= freed_pages; in ttm_pool_update_free_locked() 347 pool->nfrees += freed_pages; in ttm_pool_update_free_locked() 411 unsigned freed_pages = 0, in ttm_dma_page_pool_free() local 436 if (freed_pages >= npages_to_free) in ttm_dma_page_pool_free() 442 pages_to_free[freed_pages++] = dma_p->p; in ttm_dma_page_pool_free() 444 if (freed_pages >= NUM_PAGES_TO_ALLOC) { in ttm_dma_page_pool_free() 446 ttm_pool_update_free_locked(pool, freed_pages); in ttm_dma_page_pool_free() 454 freed_pages); in ttm_dma_page_pool_free() 459 nr_free -= freed_pages; in ttm_dma_page_pool_free() [all …]
|