Home
last modified time | relevance | path

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

/linux-6.6.21/include/trace/events/
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 …]
Dvmscan.h285 unsigned long nr_scanned,
291 TP_ARGS(highest_zoneidx, order, nr_requested, nr_scanned, nr_skipped, nr_taken, isolate_mode, lru),
297 __field(unsigned long, nr_scanned)
308 __entry->nr_scanned = nr_scanned;
324 __entry->nr_scanned,
356 unsigned long nr_scanned, unsigned long nr_reclaimed,
359 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
363 __field(unsigned long, nr_scanned)
379 __entry->nr_scanned = nr_scanned;
395 __entry->nr_scanned, __entry->nr_reclaimed,
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c105 unsigned long *nr_scanned, in i915_gem_shrink() argument
251 if (nr_scanned) in i915_gem_shrink()
252 *nr_scanned += scanned; in i915_gem_shrink()
320 sc->nr_scanned = 0; in i915_gem_shrinker_scan()
324 &sc->nr_scanned, in i915_gem_shrinker_scan()
327 if (sc->nr_scanned < sc->nr_to_scan && current_is_kswapd()) { in i915_gem_shrinker_scan()
332 sc->nr_to_scan - sc->nr_scanned, in i915_gem_shrinker_scan()
333 &sc->nr_scanned, in i915_gem_shrinker_scan()
341 return sc->nr_scanned ? freed : SHRINK_STOP; in i915_gem_shrinker_scan()
Di915_gem_shrinker.h19 unsigned long *nr_scanned,
/linux-6.6.21/mm/
Dcompaction.c591 int nr_scanned = 0, total_isolated = 0; in isolate_freepages_block() local
618 nr_scanned++; in isolate_freepages_block()
632 nr_scanned += (1UL << order) - 1; in isolate_freepages_block()
657 nr_scanned += isolated - 1; in isolate_freepages_block()
688 nr_scanned, total_isolated); in isolate_freepages_block()
701 cc->total_free_scanned += nr_scanned; in isolate_freepages_block()
842 unsigned long nr_scanned = 0, nr_isolated = 0; in isolate_migratepages_block() local
930 nr_scanned++; in isolate_migratepages_block()
967 nr_scanned += compound_nr(page) - 1; in isolate_migratepages_block()
1005 nr_scanned += (1UL << freepage_order) - 1; in isolate_migratepages_block()
[all …]
Dvmscan.c153 unsigned long nr_scanned; member
899 shrinkctl->nr_scanned = nr_to_scan; in do_shrink_slab()
905 count_vm_events(SLABS_SCANNED, shrinkctl->nr_scanned); in do_shrink_slab()
906 total_scan -= shrinkctl->nr_scanned; in do_shrink_slab()
907 scanned += shrinkctl->nr_scanned; in do_shrink_slab()
1742 sc->nr_scanned += nr_pages; in shrink_folio_list()
1937 sc->nr_scanned -= (nr_pages - 1); in shrink_folio_list()
2130 sc->nr_scanned -= (nr_pages - 1); in shrink_folio_list()
2306 unsigned long *nr_scanned, struct scan_control *sc, in isolate_lru_folios() argument
2390 *nr_scanned = total_scan; in isolate_lru_folios()
[all …]
Dshrinker_debug.c158 sc.nr_scanned = nr_to_scan; in shrinker_debugfs_scan_write()
Dmemcontrol.c1756 unsigned long nr_scanned; in mem_cgroup_soft_reclaim() local
1788 pgdat, &nr_scanned); in mem_cgroup_soft_reclaim()
1789 *total_scanned += nr_scanned; in mem_cgroup_soft_reclaim()
/linux-6.6.21/tools/perf/scripts/python/
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-6.6.21/Documentation/trace/postprocess/
Dtrace-vmscan-postprocess.pl385 my $nr_scanned = $5;
394 $perprocesspid{$process_pid}->{HIGH_NR_SCANNED} += $nr_scanned;
396 $perprocesspid{$process_pid}->{HIGH_NR_FILE_SCANNED} += $nr_scanned;
398 $perprocesspid{$process_pid}->{HIGH_NR_ANON_SCANNED} += $nr_scanned;
/linux-6.6.21/include/linux/
Dshrinker.h33 unsigned long nr_scanned; member
Dswap.h416 unsigned long *nr_scanned);