Searched refs:new_ns (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/kernel/cgroup/ |
H A D | namespace.c | 24 struct cgroup_namespace *new_ns; in alloc_cgroup_ns() local 28 if (!new_ns) in alloc_cgroup_ns() 30 ret = ns_alloc_inum(&new_ns->ns); in alloc_cgroup_ns() 32 kfree(new_ns); in alloc_cgroup_ns() 37 return new_ns; in alloc_cgroup_ns() 79 new_ns = alloc_cgroup_ns(); in copy_cgroup_ns() 80 if (IS_ERR(new_ns)) { in copy_cgroup_ns() 83 return new_ns; in copy_cgroup_ns() 87 new_ns->ucounts = ucounts; in copy_cgroup_ns() 88 new_ns->root_cset = cset; in copy_cgroup_ns() [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | dir.c | 106 const void *new_ns) in sysfs_rename_dir_ns() argument 112 ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns); in sysfs_rename_dir_ns() 118 const void *new_ns) in sysfs_move_dir_ns() argument 126 return kernfs_rename_ns(kn, new_parent, kn->name, new_ns); in sysfs_move_dir_ns()
|
H A D | symlink.c | 167 const char *old, const char *new, const void *new_ns) in sysfs_rename_link_ns() argument 192 result = kernfs_rename_ns(kn, parent, new, new_ns); in sysfs_rename_link_ns()
|
/openbmc/linux/kernel/ |
H A D | utsname.c | 92 struct uts_namespace *new_ns; in copy_utsname() local 100 new_ns = clone_uts_ns(user_ns, old_ns); in copy_utsname() 103 return new_ns; in copy_utsname()
|
H A D | nsproxy.c | 155 struct nsproxy *new_ns; in copy_namespaces() local 179 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces() 180 if (IS_ERR(new_ns)) in copy_namespaces() 181 return PTR_ERR(new_ns); in copy_namespaces() 184 timens_on_fork(new_ns, tsk); in copy_namespaces() 186 tsk->nsproxy = new_ns; in copy_namespaces()
|
/openbmc/linux/include/linux/ |
H A D | sysfs.h | 264 const void *new_ns); 267 const void *new_ns); 302 const void *new_ns); 373 const char *new_name, const void *new_ns) in sysfs_rename_dir_ns() argument 380 const void *new_ns) in sysfs_move_dir_ns() argument
|
H A D | kernfs.h | 444 const char *new_name, const void *new_ns); 548 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument
|
/openbmc/linux/fs/ |
H A D | namespace.c | 3738 if (!new_ns) { in alloc_mnt_ns() 3745 kfree(new_ns); in alloc_mnt_ns() 3758 new_ns->ucounts = ucounts; in alloc_mnt_ns() 3759 return new_ns; in alloc_mnt_ns() 3783 if (IS_ERR(new_ns)) in copy_mnt_ns() 3784 return new_ns; in copy_mnt_ns() 3794 free_mnt_ns(new_ns); in copy_mnt_ns() 3802 new_ns->root = new; in copy_mnt_ns() 3813 q->mnt_ns = new_ns; in copy_mnt_ns() 3814 new_ns->mounts++; in copy_mnt_ns() [all …]
|
/openbmc/linux/fs/kernfs/ |
H A D | dir.c | 1716 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument 1736 if ((kn->parent == new_parent) && (kn->ns == new_ns) && in kernfs_rename_ns() 1741 if (kernfs_find_ns(new_parent, new_name, new_ns)) in kernfs_rename_ns() 1766 kn->ns = new_ns; in kernfs_rename_ns()
|