Lines Matching refs:css
23 struct cgroup_subsys_state css; member
39 return s ? container_of(s, struct hugetlb_cgroup, css) : NULL; in hugetlb_cgroup_from_css()
56 return hugetlb_cgroup_from_css(h_cg->css.parent); in parent_hugetlb_cgroup()
106 return &h_cgroup->css; in hugetlb_cgroup_css_alloc()
109 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free() argument
113 h_cgroup = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_free()
161 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline() argument
163 struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_offline()
199 if (!css_tryget(&h_cg->css)) { in hugetlb_cgroup_charge_cgroup()
207 css_put(&h_cg->css); in hugetlb_cgroup_charge_cgroup()
264 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64() argument
268 struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_read_u64()