Lines Matching refs:css
16 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument
18 return css ? container_of(css, struct cgroup_cls_state, css) : NULL; in css_cls_state()
37 return &cs->css; in cgrp_css_alloc()
40 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument
42 struct cgroup_cls_state *cs = css_cls_state(css); in cgrp_css_online()
43 struct cgroup_cls_state *parent = css_cls_state(css->parent); in cgrp_css_online()
51 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() argument
53 kfree(css_cls_state(css)); in cgrp_css_free()
101 struct cgroup_subsys_state *css; in cgrp_attach() local
104 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()
105 update_classid_task(p, css_cls_state(css)->classid); in cgrp_attach()
109 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument
111 return css_cls_state(css)->classid; in read_classid()
114 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() argument
117 struct cgroup_cls_state *cs = css_cls_state(css); in write_classid()
123 css_task_iter_start(css, 0, &it); in write_classid()