Searched refs:scanned (Results 1 – 3 of 3) sorted by relevance
121 static enum vmpressure_levels vmpressure_calc_level(unsigned long scanned, in vmpressure_calc_level() argument124 unsigned long scale = scanned + reclaimed; in vmpressure_calc_level()132 if (reclaimed >= scanned) in vmpressure_calc_level()141 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level()146 scanned, reclaimed); in vmpressure_calc_level()184 unsigned long scanned; in vmpressure_work_fn() local199 scanned = vmpr->tree_scanned; in vmpressure_work_fn()200 if (!scanned) { in vmpressure_work_fn()210 level = vmpressure_calc_level(scanned, reclaimed); in vmpressure_work_fn()241 unsigned long scanned, unsigned long reclaimed) in vmpressure() argument[all …]
474 long scanned = 0, next_deferred; in do_shrink_slab() local568 scanned += shrinkctl->nr_scanned; in do_shrink_slab()573 if (next_deferred >= scanned) in do_shrink_slab()574 next_deferred -= scanned; in do_shrink_slab()2773 unsigned long scanned; in shrink_node() local2807 scanned = sc->nr_scanned; in shrink_node()2816 sc->nr_scanned - scanned, in shrink_node()
1228 struct kmemleak_object *scanned) in scan_block() argument1262 if (object == scanned) in scan_block()1286 if (object == scanned) in scan_block()