Home
last modified time | relevance | path

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

12

/linux-6.1.9/mm/
Dmemcontrol.c134 struct mem_cgroup *memcg; member
236 struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg) in memcg_to_vmpressure()
320 static void memcg_reparent_objcgs(struct mem_cgroup *memcg, in memcg_reparent_objcgs()
365 struct mem_cgroup *memcg; in mem_cgroup_css_from_page() local
390 struct mem_cgroup *memcg; in page_cgroup_ino() local
462 static unsigned long soft_limit_excess(struct mem_cgroup *memcg) in soft_limit_excess()
474 static void mem_cgroup_update_tree(struct mem_cgroup *memcg, int nid) in mem_cgroup_update_tree()
511 static void mem_cgroup_remove_from_trees(struct mem_cgroup *memcg) in mem_cgroup_remove_from_trees()
607 static inline void memcg_rstat_updated(struct mem_cgroup *memcg, int val) in memcg_rstat_updated()
723 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
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.c223 static struct shrinker_info *shrinker_info_protected(struct mem_cgroup *memcg, in shrinker_info_protected()
230 static int expand_one_shrinker_info(struct mem_cgroup *memcg, in expand_one_shrinker_info()
268 void free_shrinker_info(struct mem_cgroup *memcg) in free_shrinker_info()
282 int alloc_shrinker_info(struct mem_cgroup *memcg) in alloc_shrinker_info()
320 struct mem_cgroup *memcg; in expand_shrinker_info() local
351 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit()
405 struct mem_cgroup *memcg) in xchg_nr_deferred_memcg()
414 struct mem_cgroup *memcg) in add_nr_deferred_memcg()
422 void reparent_shrinker_deferred(struct mem_cgroup *memcg) in reparent_shrinker_deferred()
485 struct mem_cgroup *memcg) in xchg_nr_deferred_memcg()
[all …]
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.c231 struct mem_cgroup *memcg = folio_memcg(folio); in lru_gen_eviction() local
256 struct mem_cgroup *memcg; in lru_gen_refault() local
393 struct mem_cgroup *memcg; in workingset_refault() local
509 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
Dbacking-dev.c440 struct mem_cgroup *memcg; in cgwb_create() local
702 void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Drmap.c801 struct mem_cgroup *memcg; member
876 struct mem_cgroup *memcg = pra->memcg; in invalid_folio_referenced_vma() local
897 struct mem_cgroup *memcg, unsigned long *vm_flags) in folio_referenced()
Dpage_io.c224 struct mem_cgroup *memcg; in bio_associate_blkg_from_page() local
Dpage_owner.c364 struct mem_cgroup *memcg; in print_page_owner_memcg() local
Dhuge_memory.c564 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in get_deferred_split_queue() local
2802 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in deferred_split_huge_page() local
/linux-6.1.9/include/linux/
Dmemcontrol.h137 struct mem_cgroup *memcg; /* Back pointer, we cannot */ member
192 struct mem_cgroup *memcg; member
513 struct mem_cgroup *memcg; in get_mem_cgroup_from_objcg() local
555 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root()
566 struct mem_cgroup *memcg, in mem_cgroup_protection()
618 static inline bool mem_cgroup_supports_protection(struct mem_cgroup *memcg) in mem_cgroup_supports_protection()
628 static inline bool mem_cgroup_below_low(struct mem_cgroup *memcg) in mem_cgroup_below_low()
637 static inline bool mem_cgroup_below_min(struct mem_cgroup *memcg) in mem_cgroup_below_min()
708 static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, in mem_cgroup_lruvec()
743 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.h33 struct mem_cgroup *memcg; member
Dbacking-dev.h354 static inline void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
Dswap.h627 static inline int mem_cgroup_swappiness(struct mem_cgroup *memcg) in mem_cgroup_swappiness()
706 static inline long mem_cgroup_get_nr_swap_pages(struct mem_cgroup *memcg) in mem_cgroup_get_nr_swap_pages()
Drmap.h474 struct mem_cgroup *memcg, in folio_referenced()
Dfsnotify_backend.h232 struct mem_cgroup *memcg; /* memcg to charge allocations */ member
/linux-6.1.9/tools/testing/selftests/cgroup/
Dtest_memcontrol.c165 char *memcg; in test_memcg_current() local
480 char *memcg; in test_memcg_high() local
543 char *memcg; in test_memcg_high_sync() local
605 char *memcg; in test_memcg_max() local
655 char *memcg; in test_memcg_reclaim() local
787 char *memcg; in test_memcg_swap_max() local
851 char *memcg; in test_memcg_oom_events() local
1009 char *memcg; in test_memcg_sock() local
1207 char *memcg; in test_memcg_oom_group_score_events() local
/linux-6.1.9/include/linux/sched/
Dmm.h378 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
394 set_active_memcg(struct mem_cgroup *memcg) in set_active_memcg()
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Dencl.c980 struct mem_cgroup *memcg = NULL; in sgx_encl_get_mem_cgroup() local
1044 struct mem_cgroup *memcg = set_active_memcg(encl_memcg); in sgx_encl_alloc_backing() local
/linux-6.1.9/kernel/bpf/
Dmemalloc.c166 struct mem_cgroup *memcg = NULL, *old_memcg; in alloc_bulk() local
Dsyscall.c447 struct mem_cgroup *memcg, *old_memcg; in bpf_map_kmalloc_node() local
461 struct mem_cgroup *memcg, *old_memcg; in bpf_map_kzalloc() local
476 struct mem_cgroup *memcg, *old_memcg; in bpf_map_alloc_percpu() local

12