Lines Matching refs:cgroup
66 struct cgroup *from_cgrp; in cgroup_attach_task_all()
100 int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from) in cgroup_transfer_tasks()
193 struct cgroup *owner;
202 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all()
283 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find()
304 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create()
332 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
403 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start()
463 mutex_unlock(&seq_css(s)->cgroup->pidlist_mutex); in cgroup_pidlist_stop()
498 struct cgroup *cgrp; in __cgroup1_procs_write()
555 struct cgroup *cgrp; in cgroup_release_agent_write()
582 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show()
600 return notify_on_release(css->cgroup); in cgroup_read_notify_on_release()
607 set_bit(CGRP_NOTIFY_ON_RELEASE, &css->cgroup->flags); in cgroup_write_notify_on_release()
609 clear_bit(CGRP_NOTIFY_ON_RELEASE, &css->cgroup->flags); in cgroup_write_notify_on_release()
616 return test_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags); in cgroup_clone_children_read()
623 set_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags); in cgroup_clone_children_write()
625 clear_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags); in cgroup_clone_children_write()
712 struct cgroup *cgrp; in cgroupstats_build()
764 void cgroup1_check_for_release(struct cgroup *cgrp) in cgroup1_check_for_release()
796 struct cgroup *cgrp = in cgroup1_release_agent()
797 container_of(work, struct cgroup, release_agent_work); in cgroup1_release_agent()
843 struct cgroup *cgrp = kn->priv; in cgroup1_rename()