Searched refs:threadgroup (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | cgroup_hierarchical_stats.c | 67 struct task_struct *task, bool threadgroup) in BPF_PROG() 66 BPF_PROG(counter,struct cgroup * dst_cgrp,struct task_struct * leader,bool threadgroup) BPF_PROG() argument
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 3060 int cgroup_migrate(struct task_struct *leader, bool threadgroup, in cgroup_migrate() argument 3074 if (!threadgroup) in cgroup_migrate() 3091 bool threadgroup) in cgroup_attach_task() argument 3102 if (!threadgroup) in cgroup_attach_task() 3110 ret = cgroup_migrate(leader, threadgroup, &mgctx); in cgroup_attach_task() 3115 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); in cgroup_attach_task() 3120 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start() argument 3141 if (threadgroup) in cgroup_procs_write_start() 3166 if (pid || threadgroup) { in cgroup_procs_write_start() 3177 if (threadgroup) { in cgroup_procs_write_start() [all …]
|
| H A D | cgroup-v1.c | 500 bool threadgroup) in __cgroup1_procs_write() argument 512 task = cgroup_procs_write_start(buf, threadgroup, &lock_mode); in __cgroup1_procs_write() 532 ret = cgroup_attach_task(cgrp, task, threadgroup); in __cgroup1_procs_write()
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 2580 For a multithreaded process, the threadgroup leader is 2583 threadgroup leader. To avoid unexpected results, non-leading 2585 doesn't fully overlap that of the threadgroup leader.
|