Lines Matching defs:memcg
208 static struct shrinker_info *shrinker_info_protected(struct mem_cgroup *memcg, in shrinker_info_protected()
215 static int expand_one_shrinker_info(struct mem_cgroup *memcg, in expand_one_shrinker_info()
259 void free_shrinker_info(struct mem_cgroup *memcg) in free_shrinker_info()
273 int alloc_shrinker_info(struct mem_cgroup *memcg) in alloc_shrinker_info()
306 struct mem_cgroup *memcg; in expand_shrinker_info() local
335 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit()
391 struct mem_cgroup *memcg) in xchg_nr_deferred_memcg()
400 struct mem_cgroup *memcg) in add_nr_deferred_memcg()
408 void reparent_shrinker_deferred(struct mem_cgroup *memcg) in reparent_shrinker_deferred()
481 struct mem_cgroup *memcg) in xchg_nr_deferred_memcg()
487 struct mem_cgroup *memcg) in add_nr_deferred_memcg()
605 static inline bool can_reclaim_anon_pages(struct mem_cgroup *memcg, in can_reclaim_anon_pages()
933 struct mem_cgroup *memcg, int priority) in shrink_slab_memcg()
1007 struct mem_cgroup *memcg, int priority) in shrink_slab_memcg()
1034 struct mem_cgroup *memcg, in shrink_slab()
1084 struct mem_cgroup *memcg = NULL; in drop_slab_node() local
3029 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in get_scan_count() local
3280 static struct lruvec *get_lruvec(struct mem_cgroup *memcg, int nid) in get_lruvec()
3302 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in get_swappiness() local
3424 static struct lru_gen_mm_list *get_mm_list(struct mem_cgroup *memcg) in get_mm_list()
3443 struct mem_cgroup *memcg = get_mem_cgroup_from_mm(mm); in lru_gen_add_mm() local
3470 struct mem_cgroup *memcg = NULL; in lru_gen_del_mm() local
3507 struct mem_cgroup *memcg; in lru_gen_migrate_mm() local
3589 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in iterate_mm_list() local
3654 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in iterate_mm_list_nowalk() local
3972 static struct folio *get_pfn_folio(unsigned long pfn, struct mem_cgroup *memcg, in get_pfn_folio()
4013 struct mem_cgroup *memcg = lruvec_memcg(walk->lruvec); in walk_pte_range() local
4081 struct mem_cgroup *memcg = lruvec_memcg(walk->lruvec); in walk_pmd_range_locked() local
4291 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in walk_mm() local
4555 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in lruvec_is_sizable() local
4579 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in lruvec_is_reclaimable() local
4602 struct mem_cgroup *memcg; in lru_gen_age_node() local
4662 struct mem_cgroup *memcg = folio_memcg(folio); in lru_gen_look_around() local
4817 void lru_gen_online_memcg(struct mem_cgroup *memcg) in lru_gen_online_memcg()
4842 void lru_gen_offline_memcg(struct mem_cgroup *memcg) in lru_gen_offline_memcg()
4853 void lru_gen_release_memcg(struct mem_cgroup *memcg) in lru_gen_release_memcg()
4879 void lru_gen_soft_reclaim(struct mem_cgroup *memcg, int nid) in lru_gen_soft_reclaim()
5015 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in scan_folios() local
5183 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in evict_folios() local
5270 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in should_run_aging() local
5337 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in get_nr_to_scan() local
5425 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in shrink_one() local
5472 struct mem_cgroup *memcg; in shrink_many() local
5725 struct mem_cgroup *memcg; in lru_gen_change_state() local
5860 struct mem_cgroup *memcg; in lru_gen_seq_start() local
5892 struct mem_cgroup *memcg = lruvec_memcg(v); in lru_gen_seq_next() local
5967 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in lru_gen_seq_show() local
6076 struct mem_cgroup *memcg = NULL; in run_cmd() local
6247 void lru_gen_init_memcg(struct mem_cgroup *memcg) in lru_gen_init_memcg()
6253 void lru_gen_exit_memcg(struct mem_cgroup *memcg) in lru_gen_exit_memcg()
6499 struct mem_cgroup *memcg; in shrink_node_memcgs() local
7122 unsigned long mem_cgroup_shrink_node(struct mem_cgroup *memcg, in mem_cgroup_shrink_node()
7161 unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *memcg, in try_to_free_mem_cgroup_pages()
7203 struct mem_cgroup *memcg; in kswapd_age_node() local