Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
H A Dnamespace.c95 struct cgroup_namespace *cgroup_ns = to_cg_ns(ns); in cgroupns_install() local
98 !ns_capable(cgroup_ns->user_ns, CAP_SYS_ADMIN)) in cgroupns_install()
102 if (cgroup_ns == nsproxy->cgroup_ns) in cgroupns_install()
105 get_cgroup_ns(cgroup_ns); in cgroupns_install()
106 put_cgroup_ns(nsproxy->cgroup_ns); in cgroupns_install()
107 nsproxy->cgroup_ns = cgroup_ns; in cgroupns_install()
120 ns = nsproxy->cgroup_ns; in cgroupns_get()
H A Dcgroup.c1439 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_from_root()
1468 cset = current->nsproxy->cgroup_ns->root_cset; in current_cgns_cgroup_dfl()
1998 if (current->nsproxy->cgroup_ns == &init_cgroup_ns) { in apply_cgroup_root_flags()
2319 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_init_fs_context()
4230 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_file_open()
6626 current->nsproxy->cgroup_ns); in proc_cgroup_show()
6791 current->nsproxy->cgroup_ns); in cgroup_css_set_fork()
6991 struct css_set *rcset = child->nsproxy->cgroup_ns->root_cset; in cgroup_post_fork()
6994 child->nsproxy->cgroup_ns->root_cset = cset; in cgroup_post_fork()
H A Dcpuset-v1.c431 current->nsproxy->cgroup_ns); in proc_cpuset_show()
/linux/include/linux/
H A Dnsfs.h29 struct cgroup_namespace *: current->nsproxy->cgroup_ns, \
H A Dnsproxy.h41 struct cgroup_namespace *cgroup_ns; member
/linux/fs/
H A Dnsfs.c698 ns_ref_active_get(ns->cgroup_ns); in nsproxy_ns_active_get()
710 ns_ref_active_put(ns->cgroup_ns); in nsproxy_ns_active_put()
H A Dpidfs.c584 if (!ns_ref_get(nsp->cgroup_ns)) in pidfd_ioctl()
586 ns_common = to_ns_common(nsp->cgroup_ns); in pidfd_ioctl()
/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h254 BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn); in populate_cgroup_info()