Lines Matching refs:cgroup_subsys_state

244 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp,
247 static void kill_css(struct cgroup_subsys_state *css);
248 static int cgroup_addrm_files(struct cgroup_subsys_state *css,
485 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
505 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask()
539 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
542 struct cgroup_subsys_state *css; in cgroup_e_css()
569 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
572 struct cgroup_subsys_state *css; in cgroup_get_e_css()
634 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css()
910 static unsigned long css_set_hash(struct cgroup_subsys_state **css) in css_set_hash()
973 struct cgroup_subsys_state *template[]) in compare_css_sets()
1051 struct cgroup_subsys_state **template) in find_existing_css_set()
1171 struct cgroup_subsys_state *template[CGROUP_SUBSYS_COUNT] = { }; in find_css_set()
1238 struct cgroup_subsys_state *css = cset->subsys[ssid]; in find_css_set()
1661 struct cgroup_subsys_state *css = cgroup_css(cgrp, cft->ss); in cgroup_rm_file()
1678 static void css_clear_dir(struct cgroup_subsys_state *css) in css_clear_dir()
1711 static int css_populate_dir(struct cgroup_subsys_state *css) in css_populate_dir()
1806 struct cgroup_subsys_state *css = cgroup_css(scgrp, ss); in rebind_subsystems()
2445 struct cgroup_subsys_state **dst_cssp) in cgroup_taskset_first()
2462 struct cgroup_subsys_state **dst_cssp) in cgroup_taskset_next()
2985 struct cgroup_subsys_state *d_css; in cgroup_update_dfl_csses()
3056 struct cgroup_subsys_state *d_css; in cgroup_lock_and_drain_offline()
3065 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); in cgroup_lock_and_drain_offline()
3096 struct cgroup_subsys_state *d_css; in cgroup_save_control()
3116 struct cgroup_subsys_state *d_css; in cgroup_propagate_control()
3137 struct cgroup_subsys_state *d_css; in cgroup_restore_control()
3146 static bool css_visible(struct cgroup_subsys_state *css) in css_visible()
3174 struct cgroup_subsys_state *d_css; in cgroup_apply_control_enable()
3180 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); in cgroup_apply_control_enable()
3220 struct cgroup_subsys_state *d_css; in cgroup_apply_control_disable()
3226 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); in cgroup_apply_control_disable()
3447 struct cgroup_subsys_state *d_css; in cgroup_enable_threaded()
3644 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
3647 struct cgroup_subsys_state *css; in cgroup_tryget_css()
3662 struct cgroup_subsys_state *css; in cgroup_extra_stat_show()
3681 struct cgroup_subsys_state *css; in cgroup_local_stat_show()
3967 struct cgroup_subsys_state *css; in cgroup_kill()
4051 struct cgroup_subsys_state *css; in cgroup_file_write()
4127 struct cgroup_subsys_state *css = seq_css(m); in cgroup_seqfile_show()
4182 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
4230 static int cgroup_addrm_files(struct cgroup_subsys_state *css, in cgroup_addrm_files()
4272 struct cgroup_subsys_state *css; in cgroup_apply_cftypes()
4523 struct cgroup_subsys_state *css_next_child(struct cgroup_subsys_state *pos, in css_next_child()
4524 struct cgroup_subsys_state *parent) in css_next_child()
4526 struct cgroup_subsys_state *next; in css_next_child()
4551 next = list_entry_rcu(parent->children.next, struct cgroup_subsys_state, sibling); in css_next_child()
4553 next = list_entry_rcu(pos->sibling.next, struct cgroup_subsys_state, sibling); in css_next_child()
4591 struct cgroup_subsys_state *
4592 css_next_descendant_pre(struct cgroup_subsys_state *pos, in css_next_descendant_pre()
4593 struct cgroup_subsys_state *root) in css_next_descendant_pre()
4595 struct cgroup_subsys_state *next; in css_next_descendant_pre()
4633 struct cgroup_subsys_state *
4634 css_rightmost_descendant(struct cgroup_subsys_state *pos) in css_rightmost_descendant()
4636 struct cgroup_subsys_state *last, *tmp; in css_rightmost_descendant()
4651 static struct cgroup_subsys_state *
4652 css_leftmost_descendant(struct cgroup_subsys_state *pos) in css_leftmost_descendant()
4654 struct cgroup_subsys_state *last; in css_leftmost_descendant()
4686 struct cgroup_subsys_state *
4687 css_next_descendant_post(struct cgroup_subsys_state *pos, in css_next_descendant_post()
4688 struct cgroup_subsys_state *root) in css_next_descendant_post()
4690 struct cgroup_subsys_state *next; in css_next_descendant_post()
4719 bool css_has_online_children(struct cgroup_subsys_state *css) in css_has_online_children()
4721 struct cgroup_subsys_state *child; in css_has_online_children()
4917 void css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags, in css_task_iter_start()
5346 struct cgroup_subsys_state *css = container_of(to_rcu_work(work), in css_free_rwork_fn()
5347 struct cgroup_subsys_state, destroy_rwork); in css_free_rwork_fn()
5355 struct cgroup_subsys_state *parent = css->parent; in css_free_rwork_fn()
5396 struct cgroup_subsys_state *css = in css_release_work_fn()
5397 container_of(work, struct cgroup_subsys_state, destroy_work); in css_release_work_fn()
5450 struct cgroup_subsys_state *css = in css_release()
5451 container_of(ref, struct cgroup_subsys_state, refcnt); in css_release()
5457 static void init_and_link_css(struct cgroup_subsys_state *css, in init_and_link_css()
5486 static int online_css(struct cgroup_subsys_state *css) in online_css()
5507 static void offline_css(struct cgroup_subsys_state *css) in offline_css()
5534 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
5538 struct cgroup_subsys_state *parent_css = cgroup_css(parent, ss); in css_create()
5539 struct cgroup_subsys_state *css; in css_create()
5786 struct cgroup_subsys_state *css = in css_killed_work_fn()
5787 container_of(work, struct cgroup_subsys_state, destroy_work); in css_killed_work_fn()
5804 struct cgroup_subsys_state *css = in css_killed_ref_fn()
5805 container_of(ref, struct cgroup_subsys_state, refcnt); in css_killed_ref_fn()
5822 static void kill_css(struct cgroup_subsys_state *css) in kill_css()
5884 struct cgroup_subsys_state *css; in cgroup_destroy_locked()
5978 struct cgroup_subsys_state *css; in cgroup_init_subsys()
6101 struct cgroup_subsys_state *css = in cgroup_init()
6340 struct cgroup_subsys_state *css; in cgroup_v1v2_get_from_file()
6776 struct cgroup_subsys_state *css_tryget_online_from_dir(struct dentry *dentry, in css_tryget_online_from_dir()
6781 struct cgroup_subsys_state *css = NULL; in css_tryget_online_from_dir()
6815 struct cgroup_subsys_state *css_from_id(int id, struct cgroup_subsys *ss) in css_from_id()