Home
last modified time | relevance | path

Searched refs:old_ns (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dutsname.c46 struct uts_namespace *old_ns) in clone_uts_ns() argument
70 memcpy(&ns->name, &old_ns->name, sizeof(ns->name)); in clone_uts_ns()
90 struct user_namespace *user_ns, struct uts_namespace *old_ns) in copy_utsname() argument
94 BUG_ON(!old_ns); in copy_utsname()
95 get_uts_ns(old_ns); in copy_utsname()
98 return old_ns; in copy_utsname()
100 new_ns = clone_uts_ns(user_ns, old_ns); in copy_utsname()
102 put_uts_ns(old_ns); in copy_utsname()
Dpid_namespace.c151 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns() argument
154 return get_pid_ns(old_ns); in copy_pid_ns()
155 if (task_active_pid_ns(current) != old_ns) in copy_pid_ns()
157 return create_pid_namespace(user_ns, old_ns); in copy_pid_ns()
Dnsproxy.c136 struct nsproxy *old_ns = tsk->nsproxy; in copy_namespaces() local
143 get_nsproxy(old_ns); in copy_namespaces()
/kernel/cgroup/
Dnamespace.c52 struct cgroup_namespace *old_ns) in copy_cgroup_ns() argument
58 BUG_ON(!old_ns); in copy_cgroup_ns()
61 get_cgroup_ns(old_ns); in copy_cgroup_ns()
62 return old_ns; in copy_cgroup_ns()