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()
244 static void update_if_frozen(struct cgroup_subsys_state *css) in update_if_frozen() argument
246 struct freezer *freezer = css_freezer(css); in update_if_frozen()
259 css_for_each_child(pos, css) { in update_if_frozen()
271 css_task_iter_start(css, 0, &it); in update_if_frozen()
293 struct cgroup_subsys_state *css = seq_css(m), *pos; in freezer_read() local
299 css_for_each_descendant_post(pos, css) { in freezer_read()
313 seq_puts(m, freezer_state_strs(css_freezer(css)->state)); in freezer_read()
323 css_task_iter_start(&freezer->css, 0, &it); in freeze_cgroup()
334 css_task_iter_start(&freezer->css, 0, &it); in unfreeze_cgroup()
396 css_for_each_descendant_pre(pos, &freezer->css) { in freezer_change_state()
437 static u64 freezer_self_freezing_read(struct cgroup_subsys_state *css, in freezer_self_freezing_read() argument
440 struct freezer *freezer = css_freezer(css); in freezer_self_freezing_read()
445 static u64 freezer_parent_freezing_read(struct cgroup_subsys_state *css, in freezer_parent_freezing_read() argument
448 struct freezer *freezer = css_freezer(css); in freezer_parent_freezing_read()