Lines Matching refs:css
43 struct cgroup_subsys_state css; member
50 return s ? container_of(s, struct dev_cgroup, css) : NULL; in css_to_devcgroup()
176 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online() argument
178 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_online()
179 struct dev_cgroup *parent_dev_cgroup = css_to_devcgroup(css->parent); in devcgroup_online()
197 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline() argument
199 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_offline()
220 return &dev_cgroup->css; in devcgroup_css_alloc()
223 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free() argument
225 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_css_free()
453 struct dev_cgroup *parent = css_to_devcgroup(childcg->css.parent); in parent_has_perm()
474 struct dev_cgroup *parent = css_to_devcgroup(childcg->css.parent); in parent_allows_removal()
544 css_for_each_descendant_pre(pos, &devcg_root->css) { in propagate_exception()
553 if (pos == &devcg_root->css || !is_devcg_online(devcg)) in propagate_exception()
605 struct dev_cgroup *parent = css_to_devcgroup(devcgroup->css.parent); in devcgroup_update_access()
617 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()
633 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()