Home
last modified time | relevance | path

Searched refs:threadgroup (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/include/trace/events/
Dcgroup.h123 struct task_struct *task, bool threadgroup),
125 TP_ARGS(dst_cgrp, path, task, threadgroup),
153 struct task_struct *task, bool threadgroup),
155 TP_ARGS(dst_cgrp, path, task, threadgroup)
161 struct task_struct *task, bool threadgroup),
163 TP_ARGS(dst_cgrp, path, task, threadgroup)
/Linux-v5.4/kernel/cgroup/
Dcgroup-internal.h229 int cgroup_migrate(struct task_struct *leader, bool threadgroup,
233 bool threadgroup);
234 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup)
Dcgroup-v1.c492 bool threadgroup) in __cgroup1_procs_write() argument
503 task = cgroup_procs_write_start(buf, threadgroup); in __cgroup1_procs_write()
522 ret = cgroup_attach_task(cgrp, task, threadgroup); in __cgroup1_procs_write()
Dcgroup.c2760 int cgroup_migrate(struct task_struct *leader, bool threadgroup, in cgroup_migrate() argument
2775 if (!threadgroup) in cgroup_migrate()
2793 bool threadgroup) in cgroup_attach_task() argument
2809 if (!threadgroup) in cgroup_attach_task()
2818 ret = cgroup_migrate(leader, threadgroup, &mgctx); in cgroup_attach_task()
2823 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); in cgroup_attach_task()
2828 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup) in cgroup_procs_write_start() argument
2850 if (threadgroup) in cgroup_procs_write_start()
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dcgroups.rst458 threads in a threadgroup at once. Echoing the PID of any task in a
459 threadgroup to cgroup.procs causes all tasks in that threadgroup to be
461 in the writing task's threadgroup.