Lines Matching refs:threadgroup
2821 int cgroup_migrate(struct task_struct *leader, bool threadgroup, in cgroup_migrate() argument
2836 if (!threadgroup) in cgroup_migrate()
2854 bool threadgroup) in cgroup_attach_task() argument
2866 if (!threadgroup) in cgroup_attach_task()
2875 ret = cgroup_migrate(leader, threadgroup, &mgctx); in cgroup_attach_task()
2880 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); in cgroup_attach_task()
2885 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start() argument
2906 *threadgroup_locked = pid || threadgroup; in cgroup_procs_write_start()
2920 if (threadgroup) in cgroup_procs_write_start()
4981 struct super_block *sb, bool threadgroup, in cgroup_attach_permissions() argument
4994 if (!threadgroup && (src_cgrp->dom_cgrp != dst_cgrp->dom_cgrp)) in cgroup_attach_permissions()
5001 bool threadgroup) in __cgroup_procs_write() argument
5014 task = cgroup_procs_write_start(buf, threadgroup, &threadgroup_locked, dst_cgrp); in __cgroup_procs_write()
5032 threadgroup, ctx->ns); in __cgroup_procs_write()
5037 ret = cgroup_attach_task(dst_cgrp, task, threadgroup); in __cgroup_procs_write()