Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dutsname.c36 struct uts_namespace *old_ns) in clone_uts_ns() argument
45 memcpy(&ns->name, &old_ns->name, sizeof(ns->name)); in clone_uts_ns()
60 struct uts_namespace *old_ns = tsk->nsproxy->uts_ns; in copy_utsname() local
63 BUG_ON(!old_ns); in copy_utsname()
64 get_uts_ns(old_ns); in copy_utsname()
67 return old_ns; in copy_utsname()
69 new_ns = clone_uts_ns(tsk, old_ns); in copy_utsname()
71 put_uts_ns(old_ns); in copy_utsname()
Dnsproxy.c124 struct nsproxy *old_ns = tsk->nsproxy; in copy_namespaces() local
128 if (!old_ns) in copy_namespaces()
131 get_nsproxy(old_ns); in copy_namespaces()
163 put_nsproxy(old_ns); in copy_namespaces()
Dpid_namespace.c126 struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *old_ns) in copy_pid_ns() argument
129 return get_pid_ns(old_ns); in copy_pid_ns()
132 return create_pid_namespace(old_ns); in copy_pid_ns()
Dacct.c170 struct pid_namespace *old_ns = NULL; in acct_file_reopen() local
174 old_ns = acct->ns; in acct_file_reopen()
190 do_acct_process(acct, old_ns, old_acct); in acct_file_reopen()
/linux-3.4.99/fs/sysfs/
Dsymlink.c176 const void *old_ns = NULL, *new_ns = NULL; in sysfs_rename_link() local
185 old_ns = targ->sd->s_ns; in sysfs_rename_link()
188 sd = sysfs_get_dirent(parent_sd, old_ns, old); in sysfs_rename_link()
/linux-3.4.99/ipc/
Dnamespace.c20 struct ipc_namespace *old_ns) in create_ipc_ns() argument