Lines Matching defs:memcg
140 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
812 static inline bool mem_cgroup_tryget(struct mem_cgroup *memcg) in mem_cgroup_tryget()
817 static inline void mem_cgroup_put(struct mem_cgroup *memcg) in mem_cgroup_put()
833 static inline unsigned short mem_cgroup_id(struct mem_cgroup *memcg) in mem_cgroup_id()
843 static inline unsigned long mem_cgroup_ino(struct mem_cgroup *memcg) in mem_cgroup_ino()
873 static inline struct mem_cgroup *parent_mem_cgroup(struct mem_cgroup *memcg) in parent_mem_cgroup()
878 static inline bool mem_cgroup_is_descendant(struct mem_cgroup *memcg, in mem_cgroup_is_descendant()
887 struct mem_cgroup *memcg) in mm_match_cgroup()
903 static inline bool mem_cgroup_online(struct mem_cgroup *memcg) in mem_cgroup_online()
962 static inline bool mem_cgroup_trylock_pages(struct mem_cgroup *memcg) in mem_cgroup_trylock_pages()
979 static inline void mod_memcg_state(struct mem_cgroup *memcg, in mod_memcg_state()
992 struct mem_cgroup *memcg; in mod_memcg_page_state() local
1072 static inline void count_memcg_events(struct mem_cgroup *memcg, in count_memcg_events()
1086 struct mem_cgroup *memcg = page_memcg(page); in count_memcg_page_event() local
1095 struct mem_cgroup *memcg = folio_memcg(folio); in count_memcg_folio_events() local
1104 struct mem_cgroup *memcg; in count_memcg_event_mm() local
1116 static inline void memcg_memory_event(struct mem_cgroup *memcg, in memcg_memory_event()
1144 struct mem_cgroup *memcg; in memcg_memory_event_mm() local
1202 static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg) in mem_cgroup_is_root()
1212 static inline void memcg_memory_event(struct mem_cgroup *memcg, in memcg_memory_event()
1223 struct mem_cgroup *memcg, in mem_cgroup_protection()
1231 struct mem_cgroup *memcg) in mem_cgroup_calculate_protection()
1236 struct mem_cgroup *memcg) in mem_cgroup_unprotected()
1241 struct mem_cgroup *memcg) in mem_cgroup_below_low()
1247 struct mem_cgroup *memcg) in mem_cgroup_below_min()
1280 static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, in mem_cgroup_lruvec()
1297 static inline struct mem_cgroup *parent_mem_cgroup(struct mem_cgroup *memcg) in parent_mem_cgroup()
1303 struct mem_cgroup *memcg) in mm_match_cgroup()
1323 static inline bool mem_cgroup_tryget(struct mem_cgroup *memcg) in mem_cgroup_tryget()
1328 static inline void mem_cgroup_put(struct mem_cgroup *memcg) in mem_cgroup_put()
1370 static inline void mem_cgroup_scan_tasks(struct mem_cgroup *memcg, in mem_cgroup_scan_tasks()
1375 static inline unsigned short mem_cgroup_id(struct mem_cgroup *memcg) in mem_cgroup_id()
1388 static inline unsigned long mem_cgroup_ino(struct mem_cgroup *memcg) in mem_cgroup_ino()
1409 static inline bool mem_cgroup_online(struct mem_cgroup *memcg) in mem_cgroup_online()
1421 static inline unsigned long mem_cgroup_get_max(struct mem_cgroup *memcg) in mem_cgroup_get_max()
1426 static inline unsigned long mem_cgroup_size(struct mem_cgroup *memcg) in mem_cgroup_size()
1432 mem_cgroup_print_oom_context(struct mem_cgroup *memcg, struct task_struct *p) in mem_cgroup_print_oom_context()
1437 mem_cgroup_print_oom_meminfo(struct mem_cgroup *memcg) in mem_cgroup_print_oom_meminfo()
1449 static inline bool mem_cgroup_trylock_pages(struct mem_cgroup *memcg) in mem_cgroup_trylock_pages()
1489 static inline void mem_cgroup_print_oom_group(struct mem_cgroup *memcg) in mem_cgroup_print_oom_group()
1493 static inline void __mod_memcg_state(struct mem_cgroup *memcg, in __mod_memcg_state()
1499 static inline void mod_memcg_state(struct mem_cgroup *memcg, in mod_memcg_state()
1510 static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) in memcg_page_state()
1556 static inline void count_memcg_events(struct mem_cgroup *memcg, in count_memcg_events()
1562 static inline void __count_memcg_events(struct mem_cgroup *memcg, in __count_memcg_events()
1608 struct mem_cgroup *memcg; in parent_lruvec() local
1684 struct mem_cgroup *memcg; in mem_cgroup_track_foreign_dirty() local
1731 static inline bool mem_cgroup_under_socket_pressure(struct mem_cgroup *memcg) in mem_cgroup_under_socket_pressure()
1750 static inline bool mem_cgroup_under_socket_pressure(struct mem_cgroup *memcg) in mem_cgroup_under_socket_pressure()
1755 static inline void set_shrinker_bit(struct mem_cgroup *memcg, in set_shrinker_bit()
1803 static inline int memcg_kmem_id(struct mem_cgroup *memcg) in memcg_kmem_id()
1814 struct mem_cgroup *memcg; in count_objcg_event() local
1866 static inline int memcg_kmem_id(struct mem_cgroup *memcg) in memcg_kmem_id()