Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1439 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_from_root()
1462 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_dfl()
1953 if (current->nsproxy->cgroup_ns == &init_cgroup_ns) { in apply_cgroup_root_flags()
2243 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_init_fs_context()
4007 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_file_open()
6274 current->nsproxy->cgroup_ns); in proc_cgroup_show()
6436 current->nsproxy->cgroup_ns); in cgroup_css_set_fork()
6636 struct css_set *rcset = child->nsproxy->cgroup_ns->root_cset; in cgroup_post_fork()
6639 child->nsproxy->cgroup_ns->root_cset = cset; in cgroup_post_fork()
Dcpuset.c4003 current->nsproxy->cgroup_ns); in proc_cpuset_show()
/linux-6.1.9/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()
202 put_cgroup_ns(ns->cgroup_ns); in free_nsproxy()
452 ret = validate_ns(nsset, &nsp->cgroup_ns->ns); in validate_nsset()
/linux-6.1.9/include/linux/
Dnsproxy.h40 struct cgroup_namespace *cgroup_ns; member
/linux-6.1.9/kernel/bpf/
Dcgroup_iter.c249 current->nsproxy->cgroup_ns); in bpf_iter_cgroup_show_fdinfo()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h256 BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn); in populate_cgroup_info()