Lines Matching refs:reclaimed
121 unsigned long reclaimed) in vmpressure_calc_level() argument
123 unsigned long scale = scanned + reclaimed; in vmpressure_calc_level()
131 if (reclaimed >= scanned) in vmpressure_calc_level()
140 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level()
145 scanned, reclaimed); in vmpressure_calc_level()
184 unsigned long reclaimed; in vmpressure_work_fn() local
204 reclaimed = vmpr->tree_reclaimed; in vmpressure_work_fn()
209 level = vmpressure_calc_level(scanned, reclaimed); in vmpressure_work_fn()
240 unsigned long scanned, unsigned long reclaimed) in vmpressure() argument
285 vmpr->tree_reclaimed += reclaimed; in vmpressure()
300 reclaimed = vmpr->reclaimed += reclaimed; in vmpressure()
305 vmpr->scanned = vmpr->reclaimed = 0; in vmpressure()
308 level = vmpressure_calc_level(scanned, reclaimed); in vmpressure()