Lines Matching refs:tsk
50 * cgroup_attach_task_all - attach task 'tsk' to all cgroups of task 'from'
52 * @tsk: the task to be attached
56 int cgroup_attach_task_all(struct task_struct *from, struct task_struct *tsk)
70 retval = cgroup_attach_task(from_cgrp, tsk, false);
333 struct task_struct *tsk;
350 while ((tsk = css_task_iter_next(&it))) {
355 pid = task_tgid_vnr(tsk);
357 pid = task_pid_vnr(tsk);
703 struct task_struct *tsk;
724 while ((tsk = css_task_iter_next(&it))) {
725 switch (READ_ONCE(tsk->__state)) {
739 if (tsk->in_iowait)
1269 * @tsk: The target task
1275 struct cgroup *task_get_cgroup1(struct task_struct *tsk, int hierarchy_id)
1289 cgrp = task_cgroup_from_root(tsk, root);