Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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)
Dvmscan.h271 unsigned long nr_scanned,
277 TP_ARGS(highest_zoneidx, order, nr_requested, nr_scanned, nr_skipped, nr_taken, isolate_mode, lru),
283 __field(unsigned long, nr_scanned)
294 __entry->nr_scanned = nr_scanned;
310 __entry->nr_scanned,
372 unsigned long nr_scanned, unsigned long nr_reclaimed,
375 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
379 __field(unsigned long, nr_scanned)
395 __entry->nr_scanned = nr_scanned;
411 __entry->nr_scanned, __entry->nr_reclaimed,
Djbd2.h465 unsigned long nr_freed, unsigned long nr_scanned,
469 nr_scanned, next_tid),
477 __field(unsigned long, nr_scanned)
487 __entry->nr_scanned = nr_scanned;
495 __entry->nr_freed, __entry->nr_scanned, __entry->next_tid)
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c98 unsigned long *nr_scanned, in i915_gem_shrink() argument
224 if (nr_scanned) in i915_gem_shrink()
225 *nr_scanned += scanned; in i915_gem_shrink()
293 sc->nr_scanned = 0; in i915_gem_shrinker_scan()
297 &sc->nr_scanned, in i915_gem_shrinker_scan()
300 if (sc->nr_scanned < sc->nr_to_scan && current_is_kswapd()) { in i915_gem_shrinker_scan()
305 sc->nr_to_scan - sc->nr_scanned, in i915_gem_shrinker_scan()
306 &sc->nr_scanned, in i915_gem_shrinker_scan()
314 return sc->nr_scanned ? freed : SHRINK_STOP; in i915_gem_shrinker_scan()
Di915_gem_shrinker.h17 unsigned long *nr_scanned,
/kernel/linux/linux-5.10/mm/
Dvmscan.c440 shrinkctl->nr_scanned = nr_to_scan; in do_shrink_slab()
446 count_vm_events(SLABS_SCANNED, shrinkctl->nr_scanned); in do_shrink_slab()
447 total_scan -= shrinkctl->nr_scanned; in do_shrink_slab()
448 scanned += shrinkctl->nr_scanned; in do_shrink_slab()
1046 sc->nr_scanned += nr_pages; in shrink_page_list()
1233 sc->nr_scanned -= (nr_pages - 1); in shrink_page_list()
1405 sc->nr_scanned -= (nr_pages - 1); in shrink_page_list()
1595 unsigned long *nr_scanned, struct scan_control *sc, in isolate_lru_pages() argument
1673 *nr_scanned = total_scan; in isolate_lru_pages()
1881 unsigned long nr_scanned; in shrink_inactive_list() local
[all …]
Dzswapd.c483 unsigned long nr_scanned; in zswapd_shrink_active_list() local
496 nr_taken = isolate_lru_pages(nr_to_scan, lruvec, &l_hold, &nr_scanned, sc, lru); in zswapd_shrink_active_list()
500 __count_vm_events(PGREFILL, nr_scanned); in zswapd_shrink_active_list()
501 count_memcg_events(lruvec_memcg(lruvec), PGREFILL, nr_scanned); in zswapd_shrink_active_list()
638 return sc->nr_scanned >= sc->nr_to_reclaim; in zswapd_shrink_anon()
682 sc.nr_scanned = 0; in zswapd_shrink_node()
687 count_vm_events(ZSWAPD_SCANNED, sc.nr_scanned); in zswapd_shrink_node()
Dcompaction.c560 int nr_scanned = 0, total_isolated = 0; in isolate_freepages_block() local
588 nr_scanned++; in isolate_freepages_block()
666 nr_scanned, total_isolated); in isolate_freepages_block()
679 cc->total_free_scanned += nr_scanned; in isolate_freepages_block()
804 unsigned long nr_scanned = 0, nr_isolated = 0; in isolate_migratepages_block() local
880 nr_scanned++; in isolate_migratepages_block()
1090 nr_scanned, nr_isolated); in isolate_migratepages_block()
1093 cc->total_migrate_scanned += nr_scanned; in isolate_migratepages_block()
1300 unsigned int nr_scanned = 0; in fast_isolate_freepages() local
1357 nr_scanned++; in fast_isolate_freepages()
[all …]
Dmemcg_reclaim.c255 scanned = sc->nr_scanned; in shrink_anon()
301 sc->nr_scanned - scanned, in shrink_anon()
Dinternal.h121 unsigned long nr_scanned; member
238 struct list_head *dst, unsigned long *nr_scanned, struct scan_control *sc,
Dmemcontrol.c1777 unsigned long nr_scanned; in mem_cgroup_soft_reclaim() local
1809 pgdat, &nr_scanned); in mem_cgroup_soft_reclaim()
1810 *total_scanned += nr_scanned; in mem_cgroup_soft_reclaim()
3429 unsigned long nr_scanned; in mem_cgroup_soft_limit_reclaim() local
3457 nr_scanned = 0; in mem_cgroup_soft_limit_reclaim()
3459 gfp_mask, &nr_scanned); in mem_cgroup_soft_limit_reclaim()
3461 *total_scanned += nr_scanned; in mem_cgroup_soft_limit_reclaim()
/kernel/linux/linux-5.10/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))
/kernel/linux/linux-5.10/include/linux/
Dshrinker.h30 unsigned long nr_scanned; member
Dswap.h369 unsigned long *nr_scanned);
/kernel/linux/linux-5.10/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;
/kernel/linux/linux-5.10/fs/jbd2/
Dcheckpoint.c513 unsigned long nr_scanned = *nr_to_scan; in jbd2_journal_shrink_checkpoint_list() local
575 nr_scanned -= *nr_to_scan; in jbd2_journal_shrink_checkpoint_list()
577 nr_freed, nr_scanned, next_tid); in jbd2_journal_shrink_checkpoint_list()