Home
last modified time | relevance | path

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

/openbmc/linux/kernel/cgroup/
H A Dcgroup-internal.h241 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx);
243 struct cgroup_mgctx *mgctx);
244 int cgroup_migrate_prepare_dst(struct cgroup_mgctx *mgctx);
246 struct cgroup_mgctx *mgctx);
H A Dcgroup.c2418 struct cgroup_mgctx *mgctx) in cgroup_migrate_add_task() argument
2435 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()
2440 &mgctx->tset.src_csets); in cgroup_migrate_add_task()
2443 &mgctx->tset.dst_csets); in cgroup_migrate_add_task()
2702 struct cgroup_mgctx *mgctx) in cgroup_migrate_add_src() argument
2790 mgctx->ss_mask |= 1 << ssid; in cgroup_migrate_prepare_dst()
2815 struct cgroup_mgctx *mgctx) in cgroup_migrate() argument
2847 DEFINE_CGROUP_MGCTX(mgctx); in cgroup_attach_task()
2868 cgroup_migrate_finish(&mgctx); in cgroup_attach_task()
2993 DEFINE_CGROUP_MGCTX(mgctx); in cgroup_update_dfl_csses()
[all …]
H A 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()