Home
last modified time | relevance | path

Searched refs:nr_scanned (Results 1 – 14 of 14) sorted by relevance

/linux/include/trace/events/
H A Dcompaction.h19 unsigned long nr_scanned,
22 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken),
27 __field(unsigned long, nr_scanned)
34 __entry->nr_scanned = nr_scanned;
41 __entry->nr_scanned,
50 unsigned long nr_scanned,
53 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
61 unsigned long nr_scanned,
64 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
72 unsigned long nr_scanned,
[all …]
H A Dvmscan.h285 unsigned long nr_scanned,
290 TP_ARGS(highest_zoneidx, order, nr_requested, nr_scanned, nr_skipped, nr_taken, lru),
296 __field(unsigned long, nr_scanned)
306 __entry->nr_scanned = nr_scanned;
320 __entry->nr_scanned,
352 unsigned long nr_scanned, unsigned long nr_reclaimed,
355 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
359 __field(unsigned long, nr_scanned)
375 __entry->nr_scanned = nr_scanned;
391 __entry->nr_scanned, __entry->nr_reclaimed,
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shrinker.c106 unsigned long *nr_scanned, in i915_gem_shrink() argument
255 if (nr_scanned) in i915_gem_shrink()
256 *nr_scanned += scanned; in i915_gem_shrink()
322 sc->nr_scanned = 0; in i915_gem_shrinker_scan()
326 &sc->nr_scanned, in i915_gem_shrinker_scan()
329 if (sc->nr_scanned < sc->nr_to_scan && current_is_kswapd()) { in i915_gem_shrinker_scan()
334 sc->nr_to_scan - sc->nr_scanned, in i915_gem_shrinker_scan()
335 &sc->nr_scanned, in i915_gem_shrinker_scan()
343 return sc->nr_scanned ? freed : SHRINK_STOP; in i915_gem_shrinker_scan()
H A Di915_gem_shrinker.h19 unsigned long *nr_scanned,
/linux/mm/
H A Dcompaction.c595 int nr_scanned = 0, total_isolated = 0; in isolate_freepages_block() local
622 nr_scanned++; in isolate_freepages_block()
636 nr_scanned += (1UL << order) - 1; in isolate_freepages_block()
662 nr_scanned += isolated - 1; in isolate_freepages_block()
692 nr_scanned, total_isolated); in isolate_freepages_block()
705 cc->total_free_scanned += nr_scanned; in isolate_freepages_block()
872 unsigned long nr_scanned = 0, nr_isolated = 0; in isolate_migratepages_block() local
961 nr_scanned++; in isolate_migratepages_block()
992 nr_scanned += (1UL << order) - 1; in isolate_migratepages_block()
1013 nr_scanned += compound_nr(page) - 1; in isolate_migratepages_block()
[all …]
H A Dvmscan.c167 unsigned long nr_scanned; member
1080 sc->nr_scanned += nr_pages; in shrink_folio_list()
1275 sc->nr_scanned -= (nr_pages - 1); in shrink_folio_list()
1377 sc->nr_scanned -= (nr_pages - 1); in shrink_folio_list()
1383 sc->nr_scanned -= (nr_pages - 1); in shrink_folio_list()
1493 sc->nr_scanned -= (nr_pages - 1); in shrink_folio_list()
1651 unsigned long *nr_scanned, struct scan_control *sc, in isolate_lru_folios() argument
1734 *nr_scanned = total_scan; in isolate_lru_folios()
1919 unsigned long nr_scanned; in shrink_inactive_list() local
1946 &nr_scanned, sc, lru); in shrink_inactive_list()
[all …]
H A Dshrinker.c436 shrinkctl->nr_scanned = nr_to_scan; in do_shrink_slab()
442 count_vm_events(SLABS_SCANNED, shrinkctl->nr_scanned); in do_shrink_slab()
443 total_scan -= shrinkctl->nr_scanned; in do_shrink_slab()
444 scanned += shrinkctl->nr_scanned; in do_shrink_slab()
H A Dshrinker_debug.c147 sc.nr_scanned = nr_to_scan; in shrinker_debugfs_scan_write()
H A Dmemcontrol-v1.c306 unsigned long nr_scanned; in mem_cgroup_soft_reclaim() local
338 pgdat, &nr_scanned); in mem_cgroup_soft_reclaim()
339 *total_scanned += nr_scanned; in mem_cgroup_soft_reclaim()
H A Dzswap.c1188 sc->nr_scanned = 0; in zswap_shrinker_scan()
/linux/tools/perf/scripts/python/
H A Dcompaction-times.py220 common_callchain, start_pfn, end_pfn, nr_scanned, nr_taken): argument
223 None, pair(nr_scanned, nr_taken), None)
227 common_callchain, start_pfn, end_pfn, nr_scanned, nr_taken): argument
230 None, None, pair(nr_scanned, nr_taken))
/linux/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl382 my $nr_scanned = $4;
388 $perprocesspid{$process_pid}->{HIGH_NR_SCANNED} += $nr_scanned;
390 $perprocesspid{$process_pid}->{HIGH_NR_FILE_SCANNED} += $nr_scanned;
392 $perprocesspid{$process_pid}->{HIGH_NR_ANON_SCANNED} += $nr_scanned;
/linux/include/linux/
H A Dshrinker.h52 unsigned long nr_scanned; member
H A Dswap.h423 unsigned long *nr_scanned);