Searched refs:cgroup_ns (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/kernel/cgroup/ |
D | namespace.c | 101 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()
|
D | cgroup.c | 1439 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()
|
D | cpuset.c | 4003 current->nsproxy->cgroup_ns); in proc_cpuset_show()
|
/linux-6.1.9/kernel/ |
D | nsproxy.c | 44 .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/ |
D | nsproxy.h | 40 struct cgroup_namespace *cgroup_ns; member
|
/linux-6.1.9/kernel/bpf/ |
D | cgroup_iter.c | 249 current->nsproxy->cgroup_ns); in bpf_iter_cgroup_show_fdinfo()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 256 BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn); in populate_cgroup_info()
|