/linux-6.1.9/mm/ |
D | memcontrol.c | 134 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 …]
|
D | list_lru.c | 69 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
|
D | vmpressure.c | 77 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()
|
D | vmscan.c | 223 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 …]
|
D | shrinker_debug.c | 17 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
|
D | workingset.c | 231 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
|
D | mmap_lock.c | 202 struct mem_cgroup *memcg = get_mem_cgroup_from_mm(mm); in get_mm_memcg_path() local
|
D | backing-dev.c | 440 struct mem_cgroup *memcg; in cgwb_create() local 702 void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
|
D | rmap.c | 801 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()
|
D | page_io.c | 224 struct mem_cgroup *memcg; in bio_associate_blkg_from_page() local
|
D | page_owner.c | 364 struct mem_cgroup *memcg; in print_page_owner_memcg() local
|
D | huge_memory.c | 564 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/ |
D | memcontrol.h | 137 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 …]
|
D | vmpressure.h | 47 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()
|
D | oom.h | 37 struct mem_cgroup *memcg; member
|
D | shrinker.h | 33 struct mem_cgroup *memcg; member
|
D | backing-dev.h | 354 static inline void wb_memcg_offline(struct mem_cgroup *memcg) in wb_memcg_offline()
|
D | swap.h | 627 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()
|
D | rmap.h | 474 struct mem_cgroup *memcg, in folio_referenced()
|
D | fsnotify_backend.h | 232 struct mem_cgroup *memcg; /* memcg to charge allocations */ member
|
/linux-6.1.9/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 165 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/ |
D | mm.h | 378 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/ |
D | encl.c | 980 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/ |
D | memalloc.c | 166 struct mem_cgroup *memcg = NULL, *old_memcg; in alloc_bulk() local
|
D | syscall.c | 447 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
|