Lines Matching defs:from
54 * cgroup_attach_task_all - attach task 'tsk' to all cgroups of task 'from'
55 * @from: attach to all cgroups of a given task
58 int cgroup_attach_task_all(struct task_struct *from, struct task_struct *tsk)
74 from_cgrp = task_cgroup_from_root(from, root);
90 * cgroup_trasnsfer_tasks - move tasks from one cgroup to another
92 * @from: cgroup in which the tasks currently reside
100 int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from)
121 /* all tasks in @from are being moved, all csets are source */
123 list_for_each_entry(link, &from->cset_links, cset_link) cgroup_migrate_add_src(link->cset, to, &mgctx);
132 * Migrate tasks one-by-one until @from is empty. This fails iff
136 css_task_iter_start(&from->self, 0, &it);
352 * caller from the case that the additional cgroup users didn't
532 * credentials from file open to protect against inherited fd attacks.
738 * We aren't being called from kernfs and there's no guarantee on
798 * unused, and this cgroup will be reprieved from its death sentence,