Home
last modified time | relevance | path

Searched refs:scan_control (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dmemcg_policy.h13 struct scan_control;
22 struct mem_cgroup *memcg, struct scan_control *sc,
24 bool shrink_node_hyperhold(struct pglist_data *pgdat, struct scan_control *sc);
Dswap.h383 struct scan_control;
387 struct scan_control *sc);
389 extern bool cgroup_reclaim(struct scan_control *sc);
393 extern bool writeback_throttling_sane(struct scan_control *sc);
396 struct scan_control *sc);
/kernel/linux/linux-5.10/mm/
Dmemcg_reclaim.c16 static inline bool is_swap_not_allowed(struct scan_control *sc, int swappiness) in is_swap_not_allowed()
32 struct scan_control *sc, unsigned long *nr, in get_scan_count_hyperhold()
187 struct mem_cgroup *memcg, struct scan_control *sc, in shrink_anon_memcg()
234 struct scan_control *sc, unsigned long *nr) in shrink_anon()
314 struct scan_control *sc, unsigned long *nr) in shrink_file()
341 bool shrink_node_hyperhold(struct pglist_data *pgdat, struct scan_control *sc) in shrink_node_hyperhold()
Dvmscan.c153 bool cgroup_reclaim(struct scan_control *sc) in cgroup_reclaim()
171 bool writeback_throttling_sane(struct scan_control *sc) in writeback_throttling_sane()
191 bool cgroup_reclaim(struct scan_control *sc) in cgroup_reclaim()
196 bool writeback_throttling_sane(struct scan_control *sc) in writeback_throttling_sane()
923 struct scan_control *sc) in page_check_references()
1014 struct scan_control *sc, in shrink_page_list()
1442 struct scan_control sc = { in reclaim_clean_pages_from_list()
1595 unsigned long *nr_scanned, struct scan_control *sc, in isolate_lru_pages()
1739 struct scan_control *sc) in too_many_isolated()
1878 struct scan_control *sc, enum lru_list lru) in shrink_inactive_list()
[all …]
Dinternal.h51 struct scan_control { struct
236 struct scan_control *sc, struct reclaim_stat *stat, bool ignore_references);
238 struct list_head *dst, unsigned long *nr_scanned, struct scan_control *sc,
242 struct scan_control *sc, enum lru_list lru);
244 struct scan_control *sc, enum lru_list lru);
245 extern void shrink_lruvec(struct lruvec *lruvec, struct scan_control *sc);
Dmemcg_control.c214 struct scan_control sc = { in reclaim_all_anon_memcg()
362 struct scan_control *sc, struct mem_cgroup *memcg) in purgeable_memcg_node()
388 struct scan_control sc = { in memcg_force_shrink_purgeable_bysize()
Dzswapd.c480 struct lruvec *lruvec, struct scan_control *sc, enum lru_list lru) in zswapd_shrink_active_list()
533 struct scan_control *sc) in zswapd_shrink_list()
561 struct mem_cgroup *memcg, struct scan_control *sc, unsigned long *nr) in zswapd_shrink_anon_memcg()
587 static bool zswapd_shrink_anon(pg_data_t *pgdat, struct scan_control *sc) in zswapd_shrink_anon()
663 struct scan_control sc = { in zswapd_shrink_node()