Lines Matching refs:reclaim_idx
150 s8 reclaim_idx; member
2205 if (folio_zonenum(folio) > sc->reclaim_idx) { in isolate_lru_folios()
2266 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_folios()
2993 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count()
4833 for (zone = sc->reclaim_idx; zone >= 0; zone--) { in scan_folios()
5146 for (i = 0; i <= sc->reclaim_idx; i++) { in should_abort_scan()
5721 .reclaim_idx = MAX_NR_ZONES - 1, in lru_gen_seq_write()
6039 for (z = 0; z <= sc->reclaim_idx; z++) { in should_continue_reclaim()
6044 switch (compaction_suitable(zone, sc->order, 0, sc->reclaim_idx)) { in should_continue_reclaim()
6240 suitable = compaction_suitable(zone, sc->order, 0, sc->reclaim_idx); in compaction_ready()
6259 return zone_watermark_ok_safe(zone, 0, watermark, sc->reclaim_idx); in compaction_ready()
6318 sc->reclaim_idx = gfp_zone(sc->gfp_mask); in shrink_zones()
6322 sc->reclaim_idx, sc->nodemask) { in shrink_zones()
6434 __count_zid_vm_events(ALLOCSTALL, sc->reclaim_idx, 1); in do_try_to_free_pages()
6458 for_each_zone_zonelist_nodemask(zone, z, zonelist, sc->reclaim_idx, in do_try_to_free_pages()
6648 .reclaim_idx = gfp_zone(gfp_mask), in try_to_free_pages()
6698 .reclaim_idx = MAX_NR_ZONES - 1, in mem_cgroup_shrink_node()
6737 .reclaim_idx = MAX_NR_ZONES - 1, in try_to_free_mem_cgroup_pages()
6918 for (z = 0; z <= sc->reclaim_idx; z++) { in kswapd_shrink_node()
7037 sc.reclaim_idx = highest_zoneidx; in balance_pgdat()
7055 sc.reclaim_idx = i; in balance_pgdat()
7457 .reclaim_idx = MAX_NR_ZONES - 1, in shrink_all_memory()
7619 .reclaim_idx = gfp_zone(gfp_mask), in __node_reclaim()