Searched refs:nr_reclaim (Results 1 – 2 of 2) sorted by relevance
469 unsigned int nr_reclaim; in dmz_should_reclaim() local471 nr_reclaim = dmz_nr_rnd_zones(zrc->metadata, zrc->dev_idx); in dmz_should_reclaim()481 nr_reclaim += dmz_nr_cache_zones(zrc->metadata); in dmz_should_reclaim()485 if (dmz_target_idle(zrc) && nr_reclaim) in dmz_should_reclaim()
749 int nr_reclaim; in swap_reclaim_full_clusters() local764 nr_reclaim = __try_to_reclaim_swap(si, offset, in swap_reclaim_full_clusters()766 if (nr_reclaim) { in swap_reclaim_full_clusters()767 offset += abs(nr_reclaim); in swap_reclaim_full_clusters()