Searched refs:cgroup_ns (Results 1 – 8 of 8) sorted by relevance
95 struct cgroup_namespace *cgroup_ns = to_cg_ns(ns); in cgroupns_install() local98 !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()
1439 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()
431 current->nsproxy->cgroup_ns); in proc_cpuset_show()
29 struct cgroup_namespace *: current->nsproxy->cgroup_ns, \
41 struct cgroup_namespace *cgroup_ns; member
698 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()
584 if (!ns_ref_get(nsp->cgroup_ns)) in pidfd_ioctl()586 ns_common = to_ns_common(nsp->cgroup_ns); in pidfd_ioctl()
254 BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn); in populate_cgroup_info()