Lines Matching refs:css

44 	struct cgroup_subsys_state	css;  member
50 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() argument
52 return css ? container_of(css, struct freezer, css) : NULL; in css_freezer()
62 return css_freezer(freezer->css.parent); in parent_freezer()
94 return &freezer->css; in freezer_css_alloc()
105 static int freezer_css_online(struct cgroup_subsys_state *css) in freezer_css_online() argument
107 struct freezer *freezer = css_freezer(css); in freezer_css_online()
130 static void freezer_css_offline(struct cgroup_subsys_state *css) in freezer_css_offline() argument
132 struct freezer *freezer = css_freezer(css); in freezer_css_offline()
144 static void freezer_css_free(struct cgroup_subsys_state *css) in freezer_css_free() argument
146 kfree(css_freezer(css)); in freezer_css_free()
245 static void update_if_frozen(struct cgroup_subsys_state *css) in update_if_frozen() argument
247 struct freezer *freezer = css_freezer(css); in update_if_frozen()
260 css_for_each_child(pos, css) { in update_if_frozen()
272 css_task_iter_start(css, 0, &it); in update_if_frozen()
286 struct cgroup_subsys_state *css = seq_css(m), *pos; in freezer_read() local
292 css_for_each_descendant_post(pos, css) { in freezer_read()
306 seq_puts(m, freezer_state_strs(css_freezer(css)->state)); in freezer_read()
316 css_task_iter_start(&freezer->css, 0, &it); in freeze_cgroup()
327 css_task_iter_start(&freezer->css, 0, &it); in unfreeze_cgroup()
389 css_for_each_descendant_pre(pos, &freezer->css) { in freezer_change_state()
430 static u64 freezer_self_freezing_read(struct cgroup_subsys_state *css, in freezer_self_freezing_read() argument
433 struct freezer *freezer = css_freezer(css); in freezer_self_freezing_read()
438 static u64 freezer_parent_freezing_read(struct cgroup_subsys_state *css, in freezer_parent_freezing_read() argument
441 struct freezer *freezer = css_freezer(css); in freezer_parent_freezing_read()