Home
last modified time | relevance | path

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

/Linux-v5.10/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.c2291 struct cgroup_mgctx *mgctx) in cgroup_migrate_add_task() argument
2308 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()
2313 &mgctx->tset.src_csets); in cgroup_migrate_add_task()
2316 &mgctx->tset.dst_csets); in cgroup_migrate_add_task()
2390 static int cgroup_migrate_execute(struct cgroup_mgctx *mgctx) in cgroup_migrate_execute() argument
2392 struct cgroup_taskset *tset = &mgctx->tset; in cgroup_migrate_execute()
2400 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2447 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2460 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2532 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx) in cgroup_migrate_finish() argument
[all …]
Dcgroup-v1.c95 DEFINE_CGROUP_MGCTX(mgctx); in cgroup_transfer_tasks()
115 cgroup_migrate_add_src(link->cset, to, &mgctx); in cgroup_transfer_tasks()
118 ret = cgroup_migrate_prepare_dst(&mgctx); in cgroup_transfer_tasks()
138 ret = cgroup_migrate(task, false, &mgctx); in cgroup_transfer_tasks()
145 cgroup_migrate_finish(&mgctx); in cgroup_transfer_tasks()