Lines Matching defs:threadgroup
1293 pr_warn_once("cgroup favordynmods: per threadgroup rwsem mechanism can't be disabled\n");
2470 * When favordynmods is enabled, take per threadgroup rwsem to reduce overhead
2914 * @threadgroup: whether @leader points to the whole process or a single task
2929 int cgroup_migrate(struct task_struct *leader, bool threadgroup,
2943 if (!threadgroup)
2952 * cgroup_attach_task - attach a task or a whole threadgroup to a cgroup
2954 * @leader: the task or the leader of the threadgroup to be attached
2955 * @threadgroup: attach the whole threadgroup?
2960 bool threadgroup)
2971 if (!threadgroup)
2979 ret = cgroup_migrate(leader, threadgroup, &mgctx);
2984 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup);
2989 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup,
3010 if (threadgroup)
3027 * If we migrate a single thread, we don't care about threadgroup
3035 if (pid || threadgroup) {
3046 if (threadgroup) {
5303 struct super_block *sb, bool threadgroup,
5316 if (!threadgroup && (src_cgrp->dom_cgrp != dst_cgrp->dom_cgrp))
5323 bool threadgroup)
5335 task = cgroup_procs_write_start(buf, threadgroup, &lock_mode);
5353 threadgroup, ctx->ns);
5357 ret = cgroup_attach_task(dst_cgrp, task, threadgroup);