Searched refs:old_ns (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/kernel/ |
H A 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()
|
H A D | pid_namespace.c | 146 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns() argument 149 return get_pid_ns(old_ns); in copy_pid_ns() 150 if (task_active_pid_ns(current) != old_ns) in copy_pid_ns() 152 return create_pid_namespace(user_ns, old_ns); in copy_pid_ns()
|
H A D | nsproxy.c | 153 struct nsproxy *old_ns = tsk->nsproxy; in copy_namespaces() local 161 likely(old_ns->time_ns_for_children == old_ns->time_ns)) { in copy_namespaces() 162 get_nsproxy(old_ns); in copy_namespaces()
|
/openbmc/linux/include/linux/ |
H A D | utsname.h | 39 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()
|
H A D | time_namespace.h | 44 struct time_namespace *old_ns); 130 struct time_namespace *old_ns) in copy_time_ns() argument 135 return old_ns; in copy_time_ns()
|
H A D | cgroup.h | 786 struct cgroup_namespace *old_ns); 796 struct cgroup_namespace *old_ns) in copy_cgroup_ns() argument 798 return old_ns; in copy_cgroup_ns()
|
/openbmc/linux/kernel/cgroup/ |
H A 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()
|
/openbmc/linux/fs/sysfs/ |
H A 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()
|
/openbmc/phosphor-logging/tools/phosphor-logging/templates/ |
H A D | elog-gen-template.mako.hpp | 151 old_ns, old_class = old_phosphor_name(name) 153 % if old_ns != namespaces or old_class != classname: 155 namespace ${old_ns}
|
/openbmc/linux/kernel/time/ |
H A 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()
|
/openbmc/linux/ipc/ |
H A D | namespace.c | 39 struct ipc_namespace *old_ns) in create_ipc_ns() argument
|
/openbmc/linux/fs/ceph/ |
H A D | inode.c | 1073 struct ceph_string *old_ns; in ceph_fill_inode() local 1076 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode() 1080 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode() 1083 pool_ns = old_ns; in ceph_fill_inode()
|
H A D | caps.c | 3560 struct ceph_string *old_ns; in handle_cap_grant() local 3563 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant() 3568 extra_info->pool_ns != old_ns) in handle_cap_grant() 3571 extra_info->pool_ns = old_ns; in handle_cap_grant()
|