Lines Matching refs:self
492 return &cgrp->self; in cgroup_css()
533 return &cgrp->self; in cgroup_e_css_by_mask()
620 css_get(&cgrp->self); in cgroup_get_live()
672 return &cgrp->self; in of_css()
732 list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \
1366 BUG_ON(!list_empty(&cgrp->self.children)); in cgroup_destroy_root()
1749 ret = cgroup_addrm_files(&cgrp->self, cgrp, in css_populate_dir()
1755 ret = cgroup_addrm_files(&cgrp->self, cgrp, in css_populate_dir()
2019 INIT_LIST_HEAD(&cgrp->self.sibling); in init_cgroup_housekeeping()
2020 INIT_LIST_HEAD(&cgrp->self.children); in init_cgroup_housekeeping()
2024 cgrp->self.cgroup = cgrp; in init_cgroup_housekeeping()
2025 cgrp->self.flags |= CSS_ONLINE; in init_cgroup_housekeeping()
2069 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
2105 ret = css_populate_dir(&root_cgrp->self); in cgroup_setup_root()
2142 BUG_ON(!list_empty(&root_cgrp->self.children)); in cgroup_setup_root()
2156 percpu_ref_exit(&root_cgrp->self.refcnt); in cgroup_setup_root()
2290 if (list_empty(&root->cgrp.self.children) && root != &cgrp_dfl_root && in cgroup_kill_sb()
2291 !percpu_ref_is_dying(&root->cgrp.self.refcnt)) { in cgroup_kill_sb()
2293 percpu_ref_kill(&root->cgrp.self.refcnt); in cgroup_kill_sb()
3967 css_task_iter_start(&cgrp->self, CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED, &it); in __cgroup_kill()
5055 css_task_iter_start(&cgrp->self, iter_flags, it); in __cgroup_procs_start()
5059 css_task_iter_start(&cgrp->self, iter_flags, it); in __cgroup_procs_start()
5621 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_create()
5639 cgrp->self.parent = &parent->self; in cgroup_create()
5691 cgrp->self.serial_nr = css_serial_nr_next++; in cgroup_create()
5694 list_add_tail_rcu(&cgrp->self.sibling, &cgroup_parent(cgrp)->self.children); in cgroup_create()
5716 percpu_ref_exit(&cgrp->self.refcnt); in cgroup_create()
5779 ret = css_populate_dir(&cgrp->self); in cgroup_mkdir()
5925 if (css_has_online_children(&cgrp->self)) in cgroup_destroy_locked()
5934 cgrp->self.flags &= ~CSS_ONLINE; in cgroup_destroy_locked()
5946 css_clear_dir(&cgrp->self); in cgroup_destroy_locked()
5970 percpu_ref_kill(&cgrp->self.refcnt); in cgroup_destroy_locked()
6066 cgrp_dfl_root.cgrp.self.flags |= CSS_NO_REF; in cgroup_init_early()