Searched refs:old_ns (Results 1 – 6 of 6) sorted by relevance
36 struct uts_namespace *old_ns) in clone_uts_ns() argument45 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() local63 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()
124 struct nsproxy *old_ns = tsk->nsproxy; in copy_namespaces() local128 if (!old_ns) in copy_namespaces()131 get_nsproxy(old_ns); in copy_namespaces()163 put_nsproxy(old_ns); in copy_namespaces()
126 struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *old_ns) in copy_pid_ns() argument129 return get_pid_ns(old_ns); in copy_pid_ns()132 return create_pid_namespace(old_ns); in copy_pid_ns()
170 struct pid_namespace *old_ns = NULL; in acct_file_reopen() local174 old_ns = acct->ns; in acct_file_reopen()190 do_acct_process(acct, old_ns, old_acct); in acct_file_reopen()
176 const void *old_ns = NULL, *new_ns = NULL; in sysfs_rename_link() local185 old_ns = targ->sd->s_ns; in sysfs_rename_link()188 sd = sysfs_get_dirent(parent_sd, old_ns, old); in sysfs_rename_link()
20 struct ipc_namespace *old_ns) in create_ipc_ns() argument