Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1407 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_from_root()
1431 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_dfl()
1945 if (current->nsproxy->cgroup_ns == &init_cgroup_ns) { in apply_cgroup_root_flags()
2235 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_init_fs_context()
4011 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_file_open()
6279 current->nsproxy->cgroup_ns); in proc_cgroup_show()
6441 current->nsproxy->cgroup_ns); in cgroup_css_set_fork()
6640 struct css_set *rcset = child->nsproxy->cgroup_ns->root_cset; in cgroup_post_fork()
6643 child->nsproxy->cgroup_ns->root_cset = cset; in cgroup_post_fork()
Dcpuset.c4298 current->nsproxy->cgroup_ns); in proc_cpuset_show()
/linux-6.6.21/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()
204 put_cgroup_ns(ns->cgroup_ns); in free_nsproxy()
471 ret = validate_ns(nsset, &nsp->cgroup_ns->ns); in validate_nsset()
/linux-6.6.21/include/linux/
Dnsproxy.h40 struct cgroup_namespace *cgroup_ns; member
/linux-6.6.21/kernel/bpf/
Dcgroup_iter.c249 current->nsproxy->cgroup_ns); in bpf_iter_cgroup_show_fdinfo()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h256 BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn); in populate_cgroup_info()