Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/mm/
Dmemcontrol.c136 struct mem_cgroup *memcg; member
241 struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg) in memcg_to_vmpressure()
259 struct mem_cgroup *memcg; in obj_cgroup_release() local
319 static void memcg_reparent_objcgs(struct mem_cgroup *memcg, in memcg_reparent_objcgs()
406 static int memcg_expand_one_shrinker_map(struct mem_cgroup *memcg, in memcg_expand_one_shrinker_map()
436 static void memcg_free_shrinker_maps(struct mem_cgroup *memcg) in memcg_free_shrinker_maps()
454 static int memcg_alloc_shrinker_maps(struct mem_cgroup *memcg) in memcg_alloc_shrinker_maps()
481 struct mem_cgroup *memcg; in memcg_expand_shrinker_maps() local
508 void memcg_set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in memcg_set_shrinker_bit()
535 struct mem_cgroup *memcg; in mem_cgroup_css_from_page() local
[all …]
Dmemcg_control.c36 struct mem_cgroup *memcg = NULL; in get_next_memcg() local
71 void get_next_memcg_break(struct mem_cgroup *memcg) in get_next_memcg_break()
79 struct mem_cgroup *memcg = NULL; in get_prev_memcg() local
116 void get_prev_memcg_break(struct mem_cgroup *memcg) in get_prev_memcg_break()
130 struct mem_cgroup *memcg = list_entry(pos, in memcg_app_score_update() local
143 struct mem_cgroup *memcg = mem_cgroup_from_css(css); in mem_cgroup_app_score_read() local
151 struct mem_cgroup *memcg = mem_cgroup_from_css(css); in mem_cgroup_app_score_write() local
207 unsigned long reclaim_all_anon_memcg(struct pglist_data *pgdat, struct mem_cgroup *memcg) in reclaim_all_anon_memcg()
247 struct mem_cgroup *memcg = mem_cgroup_from_css(of_css(of)); in memcg_force_shrink_anon() local
261 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memcg_name_show() local
[all …]
Dzswapd.c70 u64 memcg_data_size(struct mem_cgroup *memcg, int type) in memcg_data_size()
83 u64 swapin_memcg(struct mem_cgroup *memcg, u64 req_size) in swapin_memcg()
104 static u64 swapout_memcg(struct mem_cgroup *memcg, u64 req_size) in swapout_memcg()
131 struct mem_cgroup *memcg = NULL; in swapout() local
145 struct mem_cgroup *memcg = NULL; in get_zram_used_pages() local
156 struct mem_cgroup *memcg = NULL; in get_eswap_used_pages() local
167 struct mem_cgroup *memcg = NULL; in get_zram_pagefault() local
239 struct mem_cgroup *memcg = NULL; in snapshot_anon_refaults() local
251 static bool get_memcg_anon_refault_status(struct mem_cgroup *memcg) in get_memcg_anon_refault_status()
561 struct mem_cgroup *memcg, struct scan_control *sc, unsigned long *nr) in zswapd_shrink_anon_memcg()
[all …]
Dvmpressure.c78 struct mem_cgroup *memcg = mem_cgroup_from_css(css); in vmpressure_parent() local
240 void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, in vmpressure()
323 void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio) in vmpressure_prio()
362 int vmpressure_register_event(struct mem_cgroup *memcg, in vmpressure_register_event()
423 void vmpressure_unregister_event(struct mem_cgroup *memcg, in vmpressure_unregister_event()
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()
Dzswapd_control.c315 struct mem_cgroup *memcg = NULL; in zswapd_memcgs_param_parse() local
409 struct mem_cgroup *memcg = mem_cgroup_from_css(of_css(of)); in zswapd_single_memcg_param_write() local
484 struct mem_cgroup *memcg = NULL; in memcg_active_app_info_list_show() local
614 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in zswapd_single_memcg_param_show() local
671 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in eswap_info_show() local
682 struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); in memcg_eswap_info_show() local
Dvmscan.c474 struct mem_cgroup *memcg, int priority) in shrink_slab_memcg()
549 struct mem_cgroup *memcg, int priority) in shrink_slab_memcg()
576 struct mem_cgroup *memcg, in shrink_slab()
635 struct mem_cgroup *memcg = NULL; in drop_slab_node() local
2220 struct mem_cgroup *memcg = lruvec_memcg(lruvec); in get_scan_count() local
2601 struct mem_cgroup *memcg; in shrink_node_memcgs() local
3280 unsigned long mem_cgroup_shrink_node(struct mem_cgroup *memcg, in mem_cgroup_shrink_node()
3332 unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *memcg, in try_to_free_mem_cgroup_pages()
3374 struct mem_cgroup *memcg; in age_active_anon() local
4364 struct mem_cgroup *memcg = NULL; in purgeable_node() local
Dworkingset.c299 struct mem_cgroup *memcg; in workingset_refault() local
452 struct mem_cgroup *memcg; in workingset_activation() local
Dmemcg_reclaim.c187 struct mem_cgroup *memcg, struct scan_control *sc, in shrink_anon_memcg()
238 struct mem_cgroup *memcg = NULL; in shrink_anon() local
Drmap.c770 struct mem_cgroup *memcg; member
844 struct mem_cgroup *memcg = pra->memcg; in invalid_page_referenced_vma() local
864 struct mem_cgroup *memcg, in page_referenced()
Dbacking-dev.c430 struct mem_cgroup *memcg; in cgwb_create() local
643 void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Dslab.h307 struct mem_cgroup *memcg; in mod_objcg_state() local
Dhuge_memory.c489 struct mem_cgroup *memcg = compound_head(page)->mem_cgroup; in get_deferred_split_queue() local
2787 struct mem_cgroup *memcg = compound_head(page)->mem_cgroup; in deferred_split_huge_page() local
Dmigrate.c496 struct mem_cgroup *memcg; in migrate_page_move_mapping() local
/kernel/linux/linux-5.10/include/linux/
Dmemcontrol.h133 struct mem_cgroup *memcg; /* Back pointer, we cannot */ member
203 struct mem_cgroup *memcg; member
367 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root()
378 struct mem_cgroup *memcg, in mem_cgroup_protection()
430 static inline bool mem_cgroup_supports_protection(struct mem_cgroup *memcg) in mem_cgroup_supports_protection()
440 static inline bool mem_cgroup_below_low(struct mem_cgroup *memcg) in mem_cgroup_below_low()
449 static inline bool mem_cgroup_below_min(struct mem_cgroup *memcg) in mem_cgroup_below_min()
466 mem_cgroup_nodeinfo(struct mem_cgroup *memcg, int nid) in mem_cgroup_nodeinfo()
479 static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, in mem_cgroup_lruvec()
546 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
Dbacking-dev.h380 static inline void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Drmap.h289 struct mem_cgroup *memcg, in page_referenced()
Dswap.h675 static inline int mem_cgroup_swappiness(struct mem_cgroup *memcg) in mem_cgroup_swappiness()
724 static inline long mem_cgroup_get_nr_swap_pages(struct mem_cgroup *memcg) in mem_cgroup_get_nr_swap_pages()
Dfsnotify_backend.h223 struct mem_cgroup *memcg; /* memcg to charge allocations */ member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/linux/sched/
Dmm.h304 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
320 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dgroup_writeback.c522 void zram_group_track_obj(struct zram *zram, u32 index, struct mem_cgroup *memcg) in zram_group_track_obj()

12