Searched refs:shrinkctl (Results 1 – 1 of 1) sorted by relevance
776 static unsigned long do_shrink_slab(struct shrink_control *shrinkctl, in do_shrink_slab() argument789 freeable = shrinker->count_objects(shrinker, shrinkctl); in do_shrink_slab()798 nr = xchg_nr_deferred(shrinker, shrinkctl); in do_shrink_slab()817 trace_mm_shrink_slab_start(shrinker, shrinkctl, nr, in do_shrink_slab()840 shrinkctl->nr_to_scan = nr_to_scan; in do_shrink_slab()841 shrinkctl->nr_scanned = nr_to_scan; in do_shrink_slab()842 ret = shrinker->scan_objects(shrinker, shrinkctl); in do_shrink_slab()847 count_vm_events(SLABS_SCANNED, shrinkctl->nr_scanned); in do_shrink_slab()848 total_scan -= shrinkctl->nr_scanned; in do_shrink_slab()849 scanned += shrinkctl->nr_scanned; in do_shrink_slab()[all …]