Home
last modified time | relevance | path

Searched refs:new_ns (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/kernel/cgroup/
H A Dnamespace.c24 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 Ddir.c106 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 Dsymlink.c167 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 Dutsname.c92 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 Dnsproxy.c155 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 Dsysfs.h264 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 Dkernfs.h444 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 Dnamespace.c3738 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 Ddir.c1716 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()