Searched refs:pages_freed (Results 1 – 2 of 2) sorted by relevance
785 unsigned long pages_freed = 0; in shrink_balloon_pages() local792 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() local811 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 …]
2334 unsigned long pages_freed; in zs_shrinker_scan() local2338 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()