Lines Matching defs:memcg
54 static inline void memcg1_soft_limit_reset(struct mem_cgroup *memcg) in memcg1_soft_limit_reset()
81 static inline bool memcg1_tcpmem_active(struct mem_cgroup *memcg) in memcg1_tcpmem_active()
87 static inline void memcg1_uncharge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages) in memcg1_uncharge_skmem()
98 static inline bool memcg1_alloc_events(struct mem_cgroup *memcg) { return true; } in memcg1_alloc_events()
99 static inline void memcg1_free_events(struct mem_cgroup *memcg) {} in memcg1_free_events()
101 static inline void memcg1_memcg_init(struct mem_cgroup *memcg) {} in memcg1_memcg_init()
102 static inline void memcg1_remove_from_trees(struct mem_cgroup *memcg) {} in memcg1_remove_from_trees()
103 static inline void memcg1_soft_limit_reset(struct mem_cgroup *memcg) {} in memcg1_soft_limit_reset()
104 static inline void memcg1_css_offline(struct mem_cgroup *memcg) {} in memcg1_css_offline()
106 static inline bool memcg1_oom_prepare(struct mem_cgroup *memcg, bool *locked) { return true; } in memcg1_oom_prepare()
107 static inline void memcg1_oom_finish(struct mem_cgroup *memcg, bool locked) {} in memcg1_oom_finish()
108 static inline void memcg1_oom_recover(struct mem_cgroup *memcg) {} in memcg1_oom_recover()
111 struct mem_cgroup *memcg) {} in memcg1_commit_charge()
113 static inline void memcg1_uncharge_batch(struct mem_cgroup *memcg, in memcg1_uncharge_batch()
117 static inline void memcg1_stat_format(struct mem_cgroup *memcg, struct seq_buf *s) {} in memcg1_stat_format()
119 static inline void memcg1_account_kmem(struct mem_cgroup *memcg, int nr_pages) {} in memcg1_account_kmem()
120 static inline bool memcg1_tcpmem_active(struct mem_cgroup *memcg) { return false; } in memcg1_tcpmem_active()
121 static inline bool memcg1_charge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages, in memcg1_charge_skmem()
123 static inline void memcg1_uncharge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages) {} in memcg1_uncharge_skmem()