Home
last modified time | relevance | path

Searched defs:memcg (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.15/mm/
Dmemcontrol.c144 struct mem_cgroup *memcg; member
249 struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg) in memcg_to_vmpressure()
333 static void memcg_reparent_objcgs(struct mem_cgroup *memcg, in memcg_reparent_objcgs()
420 struct mem_cgroup *memcg; in mem_cgroup_css_from_page() local
445 struct mem_cgroup *memcg; in page_cgroup_ino() local
460 mem_cgroup_page_nodeinfo(struct mem_cgroup *memcg, struct page *page) in mem_cgroup_page_nodeinfo()
539 static unsigned long soft_limit_excess(struct mem_cgroup *memcg) in soft_limit_excess()
551 static void mem_cgroup_update_tree(struct mem_cgroup *memcg, struct page *page) in mem_cgroup_update_tree()
588 static void mem_cgroup_remove_from_trees(struct mem_cgroup *memcg) in mem_cgroup_remove_from_trees()
644 void __mod_memcg_state(struct mem_cgroup *memcg, int idx, int val) in __mod_memcg_state()
[all …]
Dvmpressure.c77 struct mem_cgroup *memcg = vmpressure_to_memcg(vmpr); in vmpressure_parent() local
239 void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, in vmpressure()
327 void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio) in vmpressure_prio()
366 int vmpressure_register_event(struct mem_cgroup *memcg, in vmpressure_register_event()
427 void vmpressure_unregister_event(struct mem_cgroup *memcg, in vmpressure_unregister_event()
Dvmscan.c208 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()
253 void free_shrinker_info(struct mem_cgroup *memcg) in free_shrinker_info()
267 int alloc_shrinker_info(struct mem_cgroup *memcg) in alloc_shrinker_info()
305 struct mem_cgroup *memcg; in expand_shrinker_info() local
336 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit()
390 struct mem_cgroup *memcg) in xchg_nr_deferred_memcg()
399 struct mem_cgroup *memcg) in add_nr_deferred_memcg()
407 void reparent_shrinker_deferred(struct mem_cgroup *memcg) in reparent_shrinker_deferred()
470 struct mem_cgroup *memcg) in xchg_nr_deferred_memcg()
[all …]
Dlist_lru.c65 struct mem_cgroup *memcg = NULL; in list_lru_from_kmem() local
119 struct mem_cgroup *memcg; in list_lru_add() local
175 int nid, struct mem_cgroup *memcg) in list_lru_count_one()
258 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one()
274 list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one_irq()
Dworkingset.c292 struct mem_cgroup *memcg; in workingset_refault() local
400 struct mem_cgroup *memcg; in workingset_activation() local
Dmmap_lock.c202 struct mem_cgroup *memcg = get_mem_cgroup_from_mm(mm); in get_mm_memcg_path() local
Drmap.c767 struct mem_cgroup *memcg; member
837 struct mem_cgroup *memcg = pra->memcg; in invalid_page_referenced_vma() local
857 struct mem_cgroup *memcg, in page_referenced()
Dpage_io.c270 struct mem_cgroup *memcg; in bio_associate_blkg_from_page() local
Dbacking-dev.c451 struct mem_cgroup *memcg; in cgwb_create() local
713 void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Dhuge_memory.c504 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in get_deferred_split_queue() local
2757 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in deferred_split_huge_page() local
Dmigrate.c473 struct mem_cgroup *memcg; in migrate_page_move_mapping() local
/Linux-v5.15/include/linux/
Dmemcontrol.h153 struct mem_cgroup *memcg; /* Back pointer, we cannot */ member
223 struct mem_cgroup *memcg; member
596 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root()
607 struct mem_cgroup *memcg, in mem_cgroup_protection()
659 static inline bool mem_cgroup_supports_protection(struct mem_cgroup *memcg) in mem_cgroup_supports_protection()
669 static inline bool mem_cgroup_below_low(struct mem_cgroup *memcg) in mem_cgroup_below_low()
678 static inline bool mem_cgroup_below_min(struct mem_cgroup *memcg) in mem_cgroup_below_min()
728 static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, in mem_cgroup_lruvec()
764 struct mem_cgroup *memcg = page_memcg(page); in mem_cgroup_page_lruvec() local
813 static inline void mem_cgroup_put(struct mem_cgroup *memcg) in mem_cgroup_put()
[all …]
Dvmpressure.h47 static inline void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, in vmpressure()
49 static inline void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, in vmpressure_prio()
Dshrinker.h33 struct mem_cgroup *memcg; member
Doom.h37 struct mem_cgroup *memcg; member
Drmap.h287 struct mem_cgroup *memcg, in page_referenced()
Dbacking-dev.h399 static inline void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Dswap.h704 static inline int mem_cgroup_swappiness(struct mem_cgroup *memcg) in mem_cgroup_swappiness()
773 static inline long mem_cgroup_get_nr_swap_pages(struct mem_cgroup *memcg) in mem_cgroup_get_nr_swap_pages()
Dfsnotify_backend.h219 struct mem_cgroup *memcg; /* memcg to charge allocations */ member
Dbpf.h178 struct mem_cgroup *memcg; member
/Linux-v5.15/tools/testing/selftests/cgroup/
Dtest_memcontrol.c161 char *memcg; in test_memcg_current() local
590 char *memcg; in test_memcg_high() local
639 char *memcg; in test_memcg_max() local
716 char *memcg; in test_memcg_swap_max() local
780 char *memcg; in test_memcg_oom_events() local
941 char *memcg; in test_memcg_sock() local
1128 char *memcg; in test_memcg_oom_group_score_events() local
/Linux-v5.15/include/linux/sched/
Dmm.h305 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
321 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
/Linux-v5.15/net/mptcp/
Dsubflow.c1476 struct mem_cgroup *memcg = parent->sk_memcg; in mptcp_attach_cgroup() local
/Linux-v5.15/fs/
Dbuffer.c820 struct mem_cgroup *memcg, *old_memcg; in alloc_page_buffers() local