Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/virtio/
Dvirtio_balloon.c785 unsigned long pages_freed = 0; in shrink_balloon_pages() local
792 while (vb->num_pages && pages_freed < pages_to_free) in shrink_balloon_pages()
793 pages_freed += leak_balloon_pages(vb, in shrink_balloon_pages()
794 pages_to_free - pages_freed); in shrink_balloon_pages()
798 return pages_freed; in shrink_balloon_pages()
804 unsigned long pages_to_free, pages_freed = 0; in virtio_balloon_shrinker_scan() local
811 pages_freed = shrink_free_pages(vb, pages_to_free); in virtio_balloon_shrinker_scan()
813 if (pages_freed >= pages_to_free) in virtio_balloon_shrinker_scan()
814 return pages_freed; in virtio_balloon_shrinker_scan()
816 pages_freed += shrink_balloon_pages(vb, pages_to_free - pages_freed); in virtio_balloon_shrinker_scan()
[all …]
/Linux-v5.4/mm/
Dzsmalloc.c2334 unsigned long pages_freed; in zs_shrinker_scan() local
2338 pages_freed = pool->stats.pages_compacted; in zs_shrinker_scan()
2344 pages_freed = zs_compact(pool) - pages_freed; in zs_shrinker_scan()
2346 return pages_freed ? pages_freed : SHRINK_STOP; in zs_shrinker_scan()