Lines Matching refs:css
44 struct cgroup_subsys_state css; member
51 return s ? container_of(s, struct dev_cgroup, css) : NULL; in css_to_devcgroup()
188 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online() argument
190 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_online()
191 struct dev_cgroup *parent_dev_cgroup = css_to_devcgroup(css->parent); in devcgroup_online()
209 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline() argument
211 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_offline()
232 return &dev_cgroup->css; in devcgroup_css_alloc()
235 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free() argument
237 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_css_free()
465 struct dev_cgroup *parent = css_to_devcgroup(childcg->css.parent); in parent_has_perm()
486 struct dev_cgroup *parent = css_to_devcgroup(childcg->css.parent); in parent_allows_removal()
556 css_for_each_descendant_pre(pos, &devcg_root->css) { in propagate_exception()
565 if (pos == &devcg_root->css || !is_devcg_online(devcg)) in propagate_exception()
617 struct dev_cgroup *parent = css_to_devcgroup(devcgroup->css.parent); in devcgroup_update_access()
631 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()
659 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()