Home
last modified time | relevance | path

Searched refs:new_ns (Results 1 – 3 of 3) sorted by relevance

/kernel/cgroup/
Dnamespace.c24 struct cgroup_namespace *new_ns; in alloc_cgroup_ns() local
27 new_ns = kzalloc(sizeof(struct cgroup_namespace), GFP_KERNEL); in alloc_cgroup_ns()
28 if (!new_ns) in alloc_cgroup_ns()
30 ret = ns_alloc_inum(&new_ns->ns); in alloc_cgroup_ns()
32 kfree(new_ns); in alloc_cgroup_ns()
35 refcount_set(&new_ns->count, 1); in alloc_cgroup_ns()
36 new_ns->ns.ops = &cgroupns_operations; in alloc_cgroup_ns()
37 return new_ns; in alloc_cgroup_ns()
54 struct cgroup_namespace *new_ns; in copy_cgroup_ns() local
79 new_ns = alloc_cgroup_ns(); in copy_cgroup_ns()
[all …]
/kernel/
Dnsproxy.c138 struct nsproxy *new_ns; in copy_namespaces() local
161 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces()
162 if (IS_ERR(new_ns)) in copy_namespaces()
163 return PTR_ERR(new_ns); in copy_namespaces()
165 tsk->nsproxy = new_ns; in copy_namespaces()
Dutsname.c92 struct uts_namespace *new_ns; in copy_utsname() local
100 new_ns = clone_uts_ns(user_ns, old_ns); in copy_utsname()
103 return new_ns; in copy_utsname()