Lines Matching refs:css
56 return s ? container_of(s, struct hugetlb_cgroup, css) : NULL; in hugetlb_cgroup_from_css()
73 return hugetlb_cgroup_from_css(h_cg->css.parent); in parent_hugetlb_cgroup()
140 return &h_cgroup->css; in hugetlb_cgroup_css_alloc()
143 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free() argument
147 h_cgroup = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_free()
194 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline() argument
196 struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_offline()
247 if (!css_tryget(&h_cg->css)) { in __hugetlb_cgroup_charge_cgroup()
258 css_put(&h_cg->css); in __hugetlb_cgroup_charge_cgroup()
265 css_put(&h_cg->css); in __hugetlb_cgroup_charge_cgroup()
330 css_put(&h_cg->css); in __hugetlb_cgroup_uncharge_page()
362 css_put(&h_cg->css); in __hugetlb_cgroup_uncharge_cgroup()
381 !resv->css) in hugetlb_cgroup_uncharge_counter()
386 css_put(resv->css); in hugetlb_cgroup_uncharge_counter()
406 css_put(rg->css); in hugetlb_cgroup_uncharge_file_region()
421 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64() argument
426 struct hugetlb_cgroup *h_cg = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_read_u64()