Lines Matching refs:src_cgrp
2691 struct cgroup *src_cgrp; in cgroup_migrate_add_src() local
2705 src_cgrp = cset_cgroup_from_root(src_cset, dst_cgrp->root); in cgroup_migrate_add_src()
2716 src_cset->mg_src_cgrp = src_cgrp; in cgroup_migrate_add_src()
4855 static int cgroup_procs_write_permission(struct cgroup *src_cgrp, in cgroup_procs_write_permission() argument
4860 struct cgroup *com_cgrp = src_cgrp; in cgroup_procs_write_permission()
4879 (!cgroup_is_descendant(src_cgrp, ns->root_cset->dfl_cgrp) || in cgroup_procs_write_permission()
4886 static int cgroup_attach_permissions(struct cgroup *src_cgrp, in cgroup_attach_permissions() argument
4893 ret = cgroup_procs_write_permission(src_cgrp, dst_cgrp, sb, ns); in cgroup_attach_permissions()
4901 if (!threadgroup && (src_cgrp->dom_cgrp != dst_cgrp->dom_cgrp)) in cgroup_attach_permissions()
4911 struct cgroup *src_cgrp, *dst_cgrp; in cgroup_procs_write() local
4928 src_cgrp = task_cgroup_from_root(task, &cgrp_dfl_root); in cgroup_procs_write()
4937 ret = cgroup_attach_permissions(src_cgrp, dst_cgrp, in cgroup_procs_write()
4963 struct cgroup *src_cgrp, *dst_cgrp; in cgroup_threads_write() local
4982 src_cgrp = task_cgroup_from_root(task, &cgrp_dfl_root); in cgroup_threads_write()
4991 ret = cgroup_attach_permissions(src_cgrp, dst_cgrp, in cgroup_threads_write()