Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
A 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()
A Dcgroup.c1392 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_from_root()
1904 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()
3826 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_file_open()
6038 current->nsproxy->cgroup_ns); in proc_cgroup_show()
6165 current->nsproxy->cgroup_ns); in cgroup_css_set_fork()
6363 struct css_set *rcset = child->nsproxy->cgroup_ns->root_cset; in cgroup_post_fork()
6366 child->nsproxy->cgroup_ns->root_cset = cset; in cgroup_post_fork()
A Dcpuset.c3717 current->nsproxy->cgroup_ns); in proc_cpuset_show()
/linux/kernel/
A 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()
202 put_cgroup_ns(ns->cgroup_ns); in free_nsproxy()
452 ret = validate_ns(nsset, &nsp->cgroup_ns->ns); in validate_nsset()
/linux/include/linux/
A Dnsproxy.h40 struct cgroup_namespace *cgroup_ns; member
/linux/tools/testing/selftests/bpf/progs/
A Dprofiler.inc.h256 BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn); in populate_cgroup_info()

Completed in 24 milliseconds