Home
last modified time | relevance | path

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

12

/linux-6.6.21/mm/
Dmemcontrol.c138 struct mem_cgroup *memcg; member
240 struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg) in memcg_to_vmpressure()
324 static void memcg_reparent_objcgs(struct mem_cgroup *memcg, in memcg_reparent_objcgs()
372 struct mem_cgroup *memcg = folio_memcg(folio); in mem_cgroup_css_from_folio() local
395 struct mem_cgroup *memcg; in page_cgroup_ino() local
468 static unsigned long soft_limit_excess(struct mem_cgroup *memcg) in soft_limit_excess()
480 static void mem_cgroup_update_tree(struct mem_cgroup *memcg, int nid) in mem_cgroup_update_tree()
523 static void mem_cgroup_remove_from_trees(struct mem_cgroup *memcg) in mem_cgroup_remove_from_trees()
619 static inline void memcg_rstat_updated(struct mem_cgroup *memcg, int val) in memcg_rstat_updated()
754 unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) in memcg_page_state()
[all …]
Dlist_lru.c69 struct mem_cgroup *memcg = NULL; in list_lru_from_kmem() local
123 struct mem_cgroup *memcg; in list_lru_add() local
179 int nid, struct mem_cgroup *memcg) in list_lru_count_one()
268 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one()
284 list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one_irq()
430 void memcg_reparent_list_lrus(struct mem_cgroup *memcg, struct mem_cgroup *parent) in memcg_reparent_list_lrus()
464 static inline bool memcg_list_lru_allocated(struct mem_cgroup *memcg, in memcg_list_lru_allocated()
472 int memcg_list_lru_alloc(struct mem_cgroup *memcg, struct list_lru *lru, in memcg_list_lru_alloc()
479 struct mem_cgroup *memcg; in memcg_list_lru_alloc() member
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()
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()
[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()
335 void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio) in vmpressure_prio()
374 int vmpressure_register_event(struct mem_cgroup *memcg, in vmpressure_register_event()
435 void vmpressure_unregister_event(struct mem_cgroup *memcg, in vmpressure_unregister_event()
Dshrinker_debug.c17 struct mem_cgroup *memcg, in shrinker_count_objects()
49 struct mem_cgroup *memcg; in shrinker_debugfs_count_show() local
117 struct mem_cgroup *memcg = NULL; in shrinker_debugfs_scan_write() local
Dworkingset.c242 struct mem_cgroup *memcg = folio_memcg(folio); in lru_gen_eviction() local
267 struct mem_cgroup *memcg; in lru_gen_test_recent() local
512 struct mem_cgroup *memcg; in workingset_refault() local
569 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.c799 struct mem_cgroup *memcg; member
864 struct mem_cgroup *memcg = pra->memcg; in invalid_folio_referenced_vma() local
898 struct mem_cgroup *memcg, unsigned long *vm_flags) in folio_referenced()
Dbacking-dev.c578 struct mem_cgroup *memcg; in cgwb_create() local
837 void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Dpage_io.c221 struct mem_cgroup *memcg; in bio_associate_blkg_from_page() local
Dpage_owner.c366 struct mem_cgroup *memcg; in print_page_owner_memcg() local
/linux-6.6.21/include/linux/
Dmemcontrol.h140 struct mem_cgroup *memcg; /* Back pointer, we cannot */ member
195 struct mem_cgroup *memcg; member
528 struct mem_cgroup *memcg; in get_mem_cgroup_from_objcg() local
570 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root()
581 struct mem_cgroup *memcg, in mem_cgroup_protection()
634 struct mem_cgroup *memcg) in mem_cgroup_unprotected()
646 struct mem_cgroup *memcg) in mem_cgroup_below_low()
656 struct mem_cgroup *memcg) in mem_cgroup_below_min()
727 static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, in mem_cgroup_lruvec()
762 struct mem_cgroup *memcg = folio_memcg(folio); in folio_lruvec() local
[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()
Doom.h37 struct mem_cgroup *memcg; member
Dshrinker.h36 struct mem_cgroup *memcg; member
Dbacking-dev.h363 static inline void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Dmmzone.h590 static inline void lru_gen_init_memcg(struct mem_cgroup *memcg) in lru_gen_init_memcg()
594 static inline void lru_gen_exit_memcg(struct mem_cgroup *memcg) in lru_gen_exit_memcg()
598 static inline void lru_gen_online_memcg(struct mem_cgroup *memcg) in lru_gen_online_memcg()
602 static inline void lru_gen_offline_memcg(struct mem_cgroup *memcg) in lru_gen_offline_memcg()
606 static inline void lru_gen_release_memcg(struct mem_cgroup *memcg) in lru_gen_release_memcg()
610 static inline void lru_gen_soft_reclaim(struct mem_cgroup *memcg, int nid) in lru_gen_soft_reclaim()
Dswap.h613 static inline int mem_cgroup_swappiness(struct mem_cgroup *memcg) in mem_cgroup_swappiness()
683 static inline long mem_cgroup_get_nr_swap_pages(struct mem_cgroup *memcg) in mem_cgroup_get_nr_swap_pages()
Drmap.h484 struct mem_cgroup *memcg, in folio_referenced()
/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_memcontrol.c170 char *memcg; in test_memcg_current() local
503 char *memcg; in test_memcg_high() local
566 char *memcg; in test_memcg_high_sync() local
628 char *memcg; in test_memcg_max() local
686 static bool reclaim_until(const char *memcg, long goal) in reclaim_until()
720 char *memcg; in test_memcg_reclaim() local
823 char *memcg; in test_memcg_swap_max() local
887 char *memcg; in test_memcg_oom_events() local
1048 char *memcg; in test_memcg_sock() local
1246 char *memcg; in test_memcg_oom_group_score_events() local
/linux-6.6.21/include/linux/sched/
Dmm.h410 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
426 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
/linux-6.6.21/mm/damon/
Dpaddr.c192 struct mem_cgroup *memcg; in __damos_pa_filter_out() local
/linux-6.6.21/kernel/bpf/
Dmemalloc.c206 struct mem_cgroup *memcg = NULL, *old_memcg; in alloc_bulk() local
920 struct mem_cgroup *memcg, *old_memcg; in bpf_mem_cache_alloc_flags() local
Dsyscall.c417 struct mem_cgroup *memcg, *old_memcg; in bpf_map_kmalloc_node() local
431 struct mem_cgroup *memcg, *old_memcg; in bpf_map_kzalloc() local
446 struct mem_cgroup *memcg, *old_memcg; in bpf_map_kvcalloc() local
461 struct mem_cgroup *memcg, *old_memcg; in bpf_map_alloc_percpu() local
/linux-6.6.21/arch/x86/kernel/cpu/sgx/
Dencl.c1002 struct mem_cgroup *memcg = NULL; in sgx_encl_get_mem_cgroup() local
1066 struct mem_cgroup *memcg = set_active_memcg(encl_memcg); in sgx_encl_alloc_backing() local

12