Lines Matching refs:refcnt
2069 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
2156 percpu_ref_exit(&root_cgrp->self.refcnt); in cgroup_setup_root()
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()
3144 if (!css || !percpu_ref_is_dying(&css->refcnt)) in cgroup_lock_and_drain_offline()
3267 WARN_ON_ONCE(percpu_ref_is_dying(&css->refcnt)); in cgroup_apply_control_enable()
3307 WARN_ON_ONCE(percpu_ref_is_dying(&css->refcnt)); in cgroup_apply_control_disable()
5374 percpu_ref_exit(&css->refcnt); in css_free_rwork_fn()
5473 container_of(ref, struct cgroup_subsys_state, refcnt); in css_release()
5574 err = percpu_ref_init(&css->refcnt, css_release, 0, GFP_KERNEL); in css_create()
5621 ret = percpu_ref_init(&cgrp->self.refcnt, css_release, 0, GFP_KERNEL); in cgroup_create()
5716 percpu_ref_exit(&cgrp->self.refcnt); in cgroup_create()
5828 container_of(ref, struct cgroup_subsys_state, refcnt); in css_killed_ref_fn()
5876 percpu_ref_kill_and_confirm(&css->refcnt, css_killed_ref_fn); in kill_css()
5970 percpu_ref_kill(&cgrp->self.refcnt); in cgroup_destroy_locked()