Searched refs:nr_scanned (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/include/trace/events/
H A Dvmscan.h271 unsigned long nr_scanned,
276 TP_ARGS(order, nr_requested, nr_scanned, nr_taken, isolate_mode, file),
281 __field(unsigned long, nr_scanned)
290 __entry->nr_scanned = nr_scanned;
296 TP_printk("isolate_mode=%d order=%d nr_requested=%lu nr_scanned=%lu nr_taken=%lu file=%d",
300 __entry->nr_scanned,
309 unsigned long nr_scanned,
314 TP_ARGS(order, nr_requested, nr_scanned, nr_taken, isolate_mode, file)
322 unsigned long nr_scanned,
327 TP_ARGS(order, nr_requested, nr_scanned, nr_taken, isolate_mode, file)
357 unsigned long nr_scanned, unsigned long nr_reclaimed,
360 TP_ARGS(nid, zid, nr_scanned, nr_reclaimed, priority, reclaim_flags),
365 __field(unsigned long, nr_scanned)
374 __entry->nr_scanned = nr_scanned;
380 TP_printk("nid=%d zid=%d nr_scanned=%ld nr_reclaimed=%ld priority=%d flags=%s",
382 __entry->nr_scanned, __entry->nr_reclaimed,
H A Dcompaction.h73 unsigned long nr_scanned,
76 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken),
81 __field(unsigned long, nr_scanned)
88 __entry->nr_scanned = nr_scanned;
92 TP_printk("range=(0x%lx ~ 0x%lx) nr_scanned=%lu nr_taken=%lu",
95 __entry->nr_scanned,
104 unsigned long nr_scanned,
107 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
115 unsigned long nr_scanned,
118 TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
/linux-4.4.14/tools/perf/scripts/python/
H A Dcompaction-times.py220 common_callchain, start_pfn, end_pfn, nr_scanned, nr_taken):
223 None, pair(nr_scanned, nr_taken), None)
227 common_callchain, start_pfn, end_pfn, nr_scanned, nr_taken):
230 None, None, pair(nr_scanned, nr_taken))
/linux-4.4.14/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl115 my $regex_lru_isolate_default = 'isolate_mode=([0-9]*) order=([0-9]*) nr_requested=([0-9]*) nr_scanned=([0-9]*) nr_taken=([0-9]*) file=([0-9]*)';
116 my $regex_lru_shrink_inactive_default = 'nid=([0-9]*) zid=([0-9]*) nr_scanned=([0-9]*) nr_reclaimed=([0-9]*) priority=([0-9]*) flags=([A-Z_|]*)';
117 my $regex_lru_shrink_active_default = 'lru=([A-Z_]*) nr_scanned=([0-9]*) nr_rotated=([0-9]*) priority=([0-9]*)';
209 "nr_requested", "nr_scanned", "nr_taken",
215 "nr_scanned", "nr_reclaimed", "priority",
222 "nr_scanned", "nr_rotated", "priority");
384 my $nr_scanned = $4;
393 $perprocesspid{$process_pid}->{HIGH_NR_SCANNED} += $nr_scanned;
395 $perprocesspid{$process_pid}->{HIGH_NR_FILE_SCANNED} += $nr_scanned;
397 $perprocesspid{$process_pid}->{HIGH_NR_ANON_SCANNED} += $nr_scanned;
/linux-4.4.14/mm/
H A Dvmscan.c103 unsigned long nr_scanned; member in struct:scan_control
268 unsigned long nr_scanned, do_shrink_slab()
293 delta = (4 * nr_scanned) / shrinker->seeks; do_shrink_slab()
327 nr_scanned, nr_eligible, do_shrink_slab()
382 * @nr_scanned: pressure numerator
396 * @nr_scanned and @nr_eligible form a ratio that indicate how much of
399 * LRU lists that it considered on @nid, plus a bias in @nr_scanned
408 unsigned long nr_scanned, shrink_slab()
417 if (nr_scanned == 0) shrink_slab()
418 nr_scanned = SWAP_CLUSTER_MAX; shrink_slab()
444 freed += do_shrink_slab(&sc, shrinker, nr_scanned, nr_eligible); shrink_slab()
921 sc->nr_scanned++; shrink_page_list()
931 sc->nr_scanned++; shrink_page_list()
1349 * @nr_scanned: The number of pages that were scanned.
1358 unsigned long *nr_scanned, struct scan_control *sc, isolate_lru_pages()
1393 *nr_scanned = scan; isolate_lru_pages()
1562 unsigned long nr_scanned; shrink_inactive_list() local
1593 &nr_scanned, sc, isolate_mode, lru); shrink_inactive_list()
1599 __mod_zone_page_state(zone, NR_PAGES_SCANNED, nr_scanned); shrink_inactive_list()
1601 __count_zone_vm_events(PGSCAN_KSWAPD, zone, nr_scanned); shrink_inactive_list()
1603 __count_zone_vm_events(PGSCAN_DIRECT, zone, nr_scanned); shrink_inactive_list()
1696 nr_scanned, nr_reclaimed, shrink_inactive_list()
1767 unsigned long nr_scanned; shrink_active_list() local
1789 &nr_scanned, sc, isolate_mode, lru); shrink_active_list()
1791 __mod_zone_page_state(zone, NR_PAGES_SCANNED, nr_scanned); shrink_active_list()
1795 __count_zone_vm_events(PGREFILL, zone, nr_scanned); shrink_active_list()
2219 unsigned long nr_scanned; shrink_lruvec() local
2274 nr_scanned = targets[lru] - nr[lru];
2276 nr[lru] -= min(nr[lru], nr_scanned);
2279 nr_scanned = targets[lru] - nr[lru];
2281 nr[lru] -= min(nr[lru], nr_scanned);
2319 unsigned long nr_scanned, should_continue_reclaim()
2337 if (!nr_reclaimed && !nr_scanned) should_continue_reclaim()
2378 unsigned long nr_reclaimed, nr_scanned; shrink_zone() local
2391 nr_scanned = sc->nr_scanned; shrink_zone()
2408 scanned = sc->nr_scanned; shrink_zone()
2415 memcg, sc->nr_scanned - scanned, shrink_zone()
2441 sc->nr_scanned - nr_scanned, shrink_zone()
2450 sc->nr_scanned - nr_scanned, shrink_zone()
2457 sc->nr_scanned - nr_scanned, sc)); shrink_zone()
2589 sc->nr_scanned += nr_soft_scanned; for_each_zone_zonelist_nodemask()
2644 sc->nr_scanned = 0; do_try_to_free_pages()
2647 total_scanned += sc->nr_scanned; do_try_to_free_pages()
2865 unsigned long *nr_scanned) mem_cgroup_shrink_node_zone()
2896 *nr_scanned = sc.nr_scanned; mem_cgroup_shrink_node_zone()
3132 return sc->nr_scanned >= sc->nr_to_reclaim; kswapd_shrink_zone()
3271 sc.nr_scanned = 0; balance_pgdat()
266 do_shrink_slab(struct shrink_control *shrinkctl, struct shrinker *shrinker, unsigned long nr_scanned, unsigned long nr_eligible) do_shrink_slab() argument
406 shrink_slab(gfp_t gfp_mask, int nid, struct mem_cgroup *memcg, unsigned long nr_scanned, unsigned long nr_eligible) shrink_slab() argument
1356 isolate_lru_pages(unsigned long nr_to_scan, struct lruvec *lruvec, struct list_head *dst, unsigned long *nr_scanned, struct scan_control *sc, isolate_mode_t mode, enum lru_list lru) isolate_lru_pages() argument
2317 should_continue_reclaim(struct zone *zone, unsigned long nr_reclaimed, unsigned long nr_scanned, struct scan_control *sc) should_continue_reclaim() argument
2862 mem_cgroup_shrink_node_zone(struct mem_cgroup *memcg, gfp_t gfp_mask, bool noswap, struct zone *zone, unsigned long *nr_scanned) mem_cgroup_shrink_node_zone() argument
H A Dcompaction.c400 int nr_scanned = 0, total_isolated = 0; isolate_freepages_block() local
423 nr_scanned++; isolate_freepages_block()
514 nr_scanned, total_isolated); isolate_freepages_block()
534 count_compact_events(COMPACTFREE_SCANNED, nr_scanned); isolate_freepages_block()
668 unsigned long nr_scanned = 0, nr_isolated = 0; isolate_migratepages_block() local
711 nr_scanned++; isolate_migratepages_block()
843 nr_scanned, nr_isolated); isolate_migratepages_block()
845 count_compact_events(COMPACTMIGRATE_SCANNED, nr_scanned); isolate_migratepages_block()
H A Dmemcontrol.c1523 unsigned long nr_scanned; mem_cgroup_soft_reclaim() local
1556 zone, &nr_scanned); mem_cgroup_soft_reclaim()
1557 *total_scanned += nr_scanned; mem_cgroup_soft_reclaim()
2646 unsigned long nr_scanned; mem_cgroup_soft_limit_reclaim() local
2665 nr_scanned = 0; mem_cgroup_soft_limit_reclaim()
2667 gfp_mask, &nr_scanned); mem_cgroup_soft_limit_reclaim()
2669 *total_scanned += nr_scanned; mem_cgroup_soft_limit_reclaim()
H A Dpage_alloc.c803 unsigned long nr_scanned; free_pcppages_bulk() local
806 nr_scanned = zone_page_state(zone, NR_PAGES_SCANNED); free_pcppages_bulk()
807 if (nr_scanned) free_pcppages_bulk()
808 __mod_zone_page_state(zone, NR_PAGES_SCANNED, -nr_scanned); free_pcppages_bulk()
858 unsigned long nr_scanned; free_one_page() local
860 nr_scanned = zone_page_state(zone, NR_PAGES_SCANNED); free_one_page()
861 if (nr_scanned) free_one_page()
862 __mod_zone_page_state(zone, NR_PAGES_SCANNED, -nr_scanned); free_one_page()
/linux-4.4.14/include/linux/
H A Dswap.h329 unsigned long *nr_scanned);

Completed in 302 milliseconds