Lines Matching refs:threadgroup
2805 int cgroup_migrate(struct task_struct *leader, bool threadgroup, in cgroup_migrate() argument
2819 if (!threadgroup) in cgroup_migrate()
2836 bool threadgroup) in cgroup_attach_task() argument
2848 if (!threadgroup) in cgroup_attach_task()
2857 ret = cgroup_migrate(leader, threadgroup, &mgctx); in cgroup_attach_task()
2862 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); in cgroup_attach_task()
2867 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start() argument
2885 *threadgroup_locked = pid || threadgroup; in cgroup_procs_write_start()
2899 if (threadgroup) in cgroup_procs_write_start()
5111 struct super_block *sb, bool threadgroup, in cgroup_attach_permissions() argument
5124 if (!threadgroup && (src_cgrp->dom_cgrp != dst_cgrp->dom_cgrp)) in cgroup_attach_permissions()
5131 bool threadgroup) in __cgroup_procs_write() argument
5144 task = cgroup_procs_write_start(buf, threadgroup, &threadgroup_locked); in __cgroup_procs_write()
5162 threadgroup, ctx->ns); in __cgroup_procs_write()
5167 ret = cgroup_attach_task(dst_cgrp, task, threadgroup); in __cgroup_procs_write()