Lines Matching refs:root
583 static inline void mem_cgroup_protection(struct mem_cgroup *root,
626 if (root == memcg)
633 void mem_cgroup_calculate_protection(struct mem_cgroup *root,
640 * The root memcg doesn't account charges, and doesn't support
889 * Returns the parent memcg, or NULL if this is the root.
897 struct mem_cgroup *root)
899 if (root == memcg)
901 return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup);
1192 static inline void mem_cgroup_protection(struct mem_cgroup *root,
1200 static inline void mem_cgroup_calculate_protection(struct mem_cgroup *root,
1359 mem_cgroup_iter(struct mem_cgroup *root,
1366 static inline void mem_cgroup_iter_break(struct mem_cgroup *root,