Home
last modified time | relevance | path

Searched refs:tset (Results 1 – 7 of 7) sorted by relevance

/kernel/cgroup/
Dcgroup-internal.h144 struct cgroup_taskset tset; member
150 #define CGROUP_TASKSET_INIT(tset) \ argument
152 .src_csets = LIST_HEAD_INIT(tset.src_csets), \
153 .dst_csets = LIST_HEAD_INIT(tset.dst_csets), \
154 .csets = &tset.src_csets, \
161 CGROUP_TASKSET_INIT(name.tset), \
Dpids.c191 static int pids_can_attach(struct cgroup_taskset *tset) in pids_can_attach() argument
196 cgroup_taskset_for_each(task, dst_css, tset) { in pids_can_attach()
216 static void pids_cancel_attach(struct cgroup_taskset *tset) in pids_cancel_attach() argument
221 cgroup_taskset_for_each(task, dst_css, tset) { in pids_cancel_attach()
Dcgroup.c2492 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()
2497 &mgctx->tset.src_csets); in cgroup_migrate_add_task()
2500 &mgctx->tset.dst_csets); in cgroup_migrate_add_task()
2510 struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset, in cgroup_taskset_first() argument
2513 tset->cur_cset = list_first_entry(tset->csets, struct css_set, mg_node); in cgroup_taskset_first()
2514 tset->cur_task = NULL; in cgroup_taskset_first()
2516 return cgroup_taskset_next(tset, dst_cssp); in cgroup_taskset_first()
2528 struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, in cgroup_taskset_next() argument
2531 struct css_set *cset = tset->cur_cset; in cgroup_taskset_next()
2532 struct task_struct *task = tset->cur_task; in cgroup_taskset_next()
[all …]
Dlegacy_freezer.c169 static void freezer_attach(struct cgroup_taskset *tset) in freezer_attach() argument
186 cgroup_taskset_for_each(task, new_css, tset) { in freezer_attach()
Dcpuset.c2550 static int cpuset_can_attach(struct cgroup_taskset *tset) in cpuset_can_attach() argument
2558 cpuset_attach_old_cs = task_cs(cgroup_taskset_first(tset, &css)); in cpuset_can_attach()
2569 cgroup_taskset_for_each(task, css, tset) { in cpuset_can_attach()
2613 static void cpuset_cancel_attach(struct cgroup_taskset *tset) in cpuset_cancel_attach() argument
2618 cgroup_taskset_first(tset, &css); in cpuset_cancel_attach()
2662 static void cpuset_attach(struct cgroup_taskset *tset) in cpuset_attach() argument
2670 cgroup_taskset_first(tset, &css); in cpuset_attach()
2678 cgroup_taskset_for_each(task, css, tset) in cpuset_attach()
2686 cgroup_taskset_for_each_leader(leader, css, tset) { in cpuset_attach()
/kernel/sched/
Dcore.c10567 static int cpu_cgroup_can_attach(struct cgroup_taskset *tset) in cpu_cgroup_can_attach() argument
10572 cgroup_taskset_for_each(task, css, tset) { in cpu_cgroup_can_attach()
10580 static void cpu_cgroup_attach(struct cgroup_taskset *tset) in cpu_cgroup_attach() argument
10585 cgroup_taskset_for_each(task, css, tset) in cpu_cgroup_attach()
10588 trace_android_rvh_cpu_cgroup_attach(tset); in cpu_cgroup_attach()
/kernel/events/
Dcore.c13736 static void perf_cgroup_attach(struct cgroup_taskset *tset) in perf_cgroup_attach() argument
13741 cgroup_taskset_for_each(task, css, tset) in perf_cgroup_attach()