• Home
  • Raw
  • Download

Lines Matching refs:tset

1948 struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset)  in cgroup_taskset_first()  argument
1950 tset->cur_cset = list_first_entry(tset->csets, struct css_set, mg_node); in cgroup_taskset_first()
1951 tset->cur_task = NULL; in cgroup_taskset_first()
1953 return cgroup_taskset_next(tset); in cgroup_taskset_first()
1963 struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset) in cgroup_taskset_next() argument
1965 struct css_set *cset = tset->cur_cset; in cgroup_taskset_next()
1966 struct task_struct *task = tset->cur_task; in cgroup_taskset_next()
1968 while (&cset->mg_node != tset->csets) { in cgroup_taskset_next()
1976 tset->cur_cset = cset; in cgroup_taskset_next()
1977 tset->cur_task = task; in cgroup_taskset_next()
2185 struct cgroup_taskset tset = { in cgroup_migrate() local
2186 .src_csets = LIST_HEAD_INIT(tset.src_csets), in cgroup_migrate()
2187 .dst_csets = LIST_HEAD_INIT(tset.dst_csets), in cgroup_migrate()
2188 .csets = &tset.src_csets, in cgroup_migrate()
2222 list_add_tail(&cset->mg_node, &tset.src_csets); in cgroup_migrate()
2225 &tset.dst_csets); in cgroup_migrate()
2234 if (list_empty(&tset.src_csets)) in cgroup_migrate()
2240 ret = css->ss->can_attach(css, &tset); in cgroup_migrate()
2254 list_for_each_entry(cset, &tset.src_csets, mg_node) { in cgroup_migrate()
2266 tset.csets = &tset.dst_csets; in cgroup_migrate()
2270 css->ss->attach(css, &tset); in cgroup_migrate()
2280 css->ss->cancel_attach(css, &tset); in cgroup_migrate()
2284 list_splice_init(&tset.dst_csets, &tset.src_csets); in cgroup_migrate()
2285 list_for_each_entry_safe(cset, tmp_cset, &tset.src_csets, mg_node) { in cgroup_migrate()