Searched refs:old_ns (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/kernel/ |
D | utsname.c | 46 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()
|
D | pid_namespace.c | 142 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns() argument 145 return get_pid_ns(old_ns); in copy_pid_ns() 146 if (task_active_pid_ns(current) != old_ns) in copy_pid_ns() 148 return create_pid_namespace(user_ns, old_ns); in copy_pid_ns()
|
D | nsproxy.c | 153 struct nsproxy *old_ns = tsk->nsproxy; in copy_namespaces() local 161 if (likely(old_ns->time_ns_for_children == old_ns->time_ns)) { in copy_namespaces() 162 get_nsproxy(old_ns); in copy_namespaces()
|
/Linux-v5.10/include/linux/ |
D | utsname.h | 40 struct user_namespace *user_ns, struct uts_namespace *old_ns); 59 struct user_namespace *user_ns, struct uts_namespace *old_ns) in copy_utsname() argument 64 return old_ns; in copy_utsname()
|
D | time_namespace.h | 46 struct time_namespace *old_ns); 117 struct time_namespace *old_ns) in copy_time_ns() argument 122 return old_ns; in copy_time_ns()
|
D | cgroup.h | 872 struct cgroup_namespace *old_ns); 882 struct cgroup_namespace *old_ns) in copy_cgroup_ns() argument 884 return old_ns; in copy_cgroup_ns()
|
/Linux-v5.10/kernel/cgroup/ |
D | namespace.c | 52 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()
|
/Linux-v5.10/fs/sysfs/ |
D | symlink.c | 170 const void *old_ns = NULL; in sysfs_rename_link_ns() local 179 old_ns = targ->sd->ns; in sysfs_rename_link_ns() 182 kn = kernfs_find_and_get_ns(parent, old, old_ns); in sysfs_rename_link_ns()
|
/Linux-v5.10/kernel/time/ |
D | namespace.c | 79 struct time_namespace *old_ns) in clone_time_ns() argument 108 ns->offsets = old_ns->offsets; in clone_time_ns() 134 struct user_namespace *user_ns, struct time_namespace *old_ns) in copy_time_ns() argument 137 return get_time_ns(old_ns); in copy_time_ns() 139 return clone_time_ns(user_ns, old_ns); in copy_time_ns()
|
/Linux-v5.10/ipc/ |
D | namespace.c | 33 struct ipc_namespace *old_ns) in create_ipc_ns() argument
|
/Linux-v5.10/fs/ceph/ |
D | inode.c | 863 struct ceph_string *old_ns; in ceph_fill_inode() local 866 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode() 870 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode() 873 pool_ns = old_ns; in ceph_fill_inode()
|
D | caps.c | 3376 struct ceph_string *old_ns; in handle_cap_grant() local 3379 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant() 3384 extra_info->pool_ns != old_ns) in handle_cap_grant() 3387 extra_info->pool_ns = old_ns; in handle_cap_grant()
|