Home
last modified time | relevance | path

Searched refs:cgroup_ns (Results 1 – 4 of 4) sorted by relevance

/kernel/cgroup/
Dnamespace.c101 struct cgroup_namespace *cgroup_ns = to_cg_ns(ns); in cgroupns_install() local
104 !ns_capable(cgroup_ns->user_ns, CAP_SYS_ADMIN)) in cgroupns_install()
108 if (cgroup_ns == nsproxy->cgroup_ns) in cgroupns_install()
111 get_cgroup_ns(cgroup_ns); in cgroupns_install()
112 put_cgroup_ns(nsproxy->cgroup_ns); in cgroupns_install()
113 nsproxy->cgroup_ns = cgroup_ns; in cgroupns_install()
126 ns = nsproxy->cgroup_ns; in cgroupns_get()
Dcgroup.c1390 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_from_root()
1910 if (current->nsproxy->cgroup_ns == &init_cgroup_ns) { in apply_cgroup_root_flags()
2188 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_init_fs_context()
3818 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_file_open()
6051 current->nsproxy->cgroup_ns); in proc_cgroup_show()
6178 current->nsproxy->cgroup_ns); in cgroup_css_set_fork()
6359 struct css_set *rcset = child->nsproxy->cgroup_ns->root_cset; in cgroup_post_fork()
6362 child->nsproxy->cgroup_ns->root_cset = cset; in cgroup_post_fork()
Dcpuset.c3784 current->nsproxy->cgroup_ns); in proc_cpuset_show()
/kernel/
Dnsproxy.c44 .cgroup_ns = &init_cgroup_ns,
103 new_nsp->cgroup_ns = copy_cgroup_ns(flags, user_ns, in create_new_namespaces()
104 tsk->nsproxy->cgroup_ns); in create_new_namespaces()
105 if (IS_ERR(new_nsp->cgroup_ns)) { in create_new_namespaces()
106 err = PTR_ERR(new_nsp->cgroup_ns); in create_new_namespaces()
129 put_cgroup_ns(new_nsp->cgroup_ns); in create_new_namespaces()
207 put_cgroup_ns(ns->cgroup_ns); in free_nsproxy()
457 ret = validate_ns(nsset, &nsp->cgroup_ns->ns); in validate_nsset()