Home
last modified time | relevance | path

Searched refs:mgctx (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/kernel/cgroup/
Dcgroup-internal.h225 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx);
227 struct cgroup_mgctx *mgctx);
228 int cgroup_migrate_prepare_dst(struct cgroup_mgctx *mgctx);
230 struct cgroup_mgctx *mgctx);
Dcgroup.c2333 struct cgroup_mgctx *mgctx) in cgroup_migrate_add_task() argument
2350 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()
2355 &mgctx->tset.src_csets); in cgroup_migrate_add_task()
2358 &mgctx->tset.dst_csets); in cgroup_migrate_add_task()
2432 static int cgroup_migrate_execute(struct cgroup_mgctx *mgctx) in cgroup_migrate_execute() argument
2434 struct cgroup_taskset *tset = &mgctx->tset; in cgroup_migrate_execute()
2442 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2489 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2502 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2574 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx) in cgroup_migrate_finish() argument
[all …]
Dcgroup-v1.c99 DEFINE_CGROUP_MGCTX(mgctx); in cgroup_transfer_tasks()
119 cgroup_migrate_add_src(link->cset, to, &mgctx); in cgroup_transfer_tasks()
122 ret = cgroup_migrate_prepare_dst(&mgctx); in cgroup_transfer_tasks()
142 ret = cgroup_migrate(task, false, &mgctx); in cgroup_transfer_tasks()
149 cgroup_migrate_finish(&mgctx); in cgroup_transfer_tasks()