Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/cgroup/
Dcgroup-internal.h240 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx);
242 struct cgroup_mgctx *mgctx);
243 int cgroup_migrate_prepare_dst(struct cgroup_mgctx *mgctx);
245 struct cgroup_mgctx *mgctx);
Dcgroup.c2409 struct cgroup_mgctx *mgctx) in cgroup_migrate_add_task() argument
2426 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()
2431 &mgctx->tset.src_csets); in cgroup_migrate_add_task()
2434 &mgctx->tset.dst_csets); in cgroup_migrate_add_task()
2508 static int cgroup_migrate_execute(struct cgroup_mgctx *mgctx) in cgroup_migrate_execute() argument
2510 struct cgroup_taskset *tset = &mgctx->tset; in cgroup_migrate_execute()
2518 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2565 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2578 do_each_subsys_mask(ss, ssid, mgctx->ss_mask) { in cgroup_migrate_execute()
2646 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx) in cgroup_migrate_finish() argument
[all …]
Dcgroup-v1.c96 DEFINE_CGROUP_MGCTX(mgctx); in cgroup_transfer_tasks()
116 cgroup_migrate_add_src(link->cset, to, &mgctx); in cgroup_transfer_tasks()
119 ret = cgroup_migrate_prepare_dst(&mgctx); in cgroup_transfer_tasks()
139 ret = cgroup_migrate(task, false, &mgctx); in cgroup_transfer_tasks()
146 cgroup_migrate_finish(&mgctx); in cgroup_transfer_tasks()