Searched refs:new_ns (Results 1 – 9 of 9) sorted by relevance
/linux/kernel/cgroup/ |
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 …]
|
/linux/fs/sysfs/ |
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()
|
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()
|
/linux/kernel/ |
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()
|
A D | nsproxy.c | 155 struct nsproxy *new_ns; in copy_namespaces() local 178 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces() 179 if (IS_ERR(new_ns)) in copy_namespaces() 180 return PTR_ERR(new_ns); in copy_namespaces() 182 timens_on_fork(new_ns, tsk); in copy_namespaces() 184 tsk->nsproxy = new_ns; in copy_namespaces()
|
/linux/include/linux/ |
A D | sysfs.h | 248 const void *new_ns); 251 const void *new_ns); 286 const void *new_ns); 357 const char *new_name, const void *new_ns) in sysfs_rename_dir_ns() argument 364 const void *new_ns) in sysfs_move_dir_ns() argument
|
A D | kernfs.h | 394 const char *new_name, const void *new_ns); 498 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument
|
/linux/fs/ |
A D | namespace.c | 3375 if (!new_ns) { in alloc_mnt_ns() 3382 kfree(new_ns); in alloc_mnt_ns() 3395 new_ns->ucounts = ucounts; in alloc_mnt_ns() 3396 return new_ns; in alloc_mnt_ns() 3420 if (IS_ERR(new_ns)) in copy_mnt_ns() 3421 return new_ns; in copy_mnt_ns() 3431 free_mnt_ns(new_ns); in copy_mnt_ns() 3439 new_ns->root = new; in copy_mnt_ns() 3450 q->mnt_ns = new_ns; in copy_mnt_ns() 3451 new_ns->mounts++; in copy_mnt_ns() [all …]
|
/linux/fs/kernfs/ |
A D | dir.c | 1562 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument 1580 if ((kn->parent == new_parent) && (kn->ns == new_ns) && in kernfs_rename_ns() 1585 if (kernfs_find_ns(new_parent, new_name, new_ns)) in kernfs_rename_ns() 1610 kn->ns = new_ns; in kernfs_rename_ns()
|
Completed in 21 milliseconds