Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/cgroup/
Dcgroup-internal.h244 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx);
246 struct cgroup_mgctx *mgctx);
247 int cgroup_migrate_prepare_dst(struct cgroup_mgctx *mgctx);
249 struct cgroup_mgctx *mgctx);
Dcgroup.c2328 struct cgroup_mgctx *mgctx) in cgroup_migrate_add_task() argument
2345 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()
2350 &mgctx->tset.src_csets); in cgroup_migrate_add_task()
2353 &mgctx->tset.dst_csets); in cgroup_migrate_add_task()
2427 static int cgroup_migrate_execute(struct cgroup_mgctx *mgctx) in cgroup_migrate_execute() argument
2429 struct cgroup_taskset *tset = &mgctx->tset; in cgroup_migrate_execute()
2437 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2484 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2497 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2569 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()