Home
last modified time | relevance | path

Searched refs:scanned (Results 1 – 3 of 3) sorted by relevance

/mm/
Dvmpressure.c121 static enum vmpressure_levels vmpressure_calc_level(unsigned long scanned, in vmpressure_calc_level() argument
124 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() local
199 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 …]
Dvmscan.c474 long scanned = 0, next_deferred; in do_shrink_slab() local
568 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() local
2807 scanned = sc->nr_scanned; in shrink_node()
2816 sc->nr_scanned - scanned, in shrink_node()
Dkmemleak.c1228 struct kmemleak_object *scanned) in scan_block() argument
1262 if (object == scanned) in scan_block()
1286 if (object == scanned) in scan_block()