Home
last modified time | relevance | path

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

/fs/sysfs/
Ddir.c102 const void *new_ns) in sysfs_rename_dir_ns() argument
108 ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns); in sysfs_rename_dir_ns()
114 const void *new_ns) in sysfs_move_dir_ns() argument
122 return kernfs_rename_ns(kn, new_parent, kn->name, new_ns); in sysfs_move_dir_ns()
Dsymlink.c166 const char *old, const char *new, const void *new_ns) in sysfs_rename_link_ns() argument
191 result = kernfs_rename_ns(kn, parent, new, new_ns); in sysfs_rename_link_ns()
/fs/
Dnamespace.c2871 struct mnt_namespace *new_ns; in alloc_mnt_ns() local
2879 new_ns = kmalloc(sizeof(struct mnt_namespace), GFP_KERNEL); in alloc_mnt_ns()
2880 if (!new_ns) { in alloc_mnt_ns()
2884 ret = ns_alloc_inum(&new_ns->ns); in alloc_mnt_ns()
2886 kfree(new_ns); in alloc_mnt_ns()
2890 new_ns->ns.ops = &mntns_operations; in alloc_mnt_ns()
2891 new_ns->seq = atomic64_add_return(1, &mnt_ns_seq); in alloc_mnt_ns()
2892 atomic_set(&new_ns->count, 1); in alloc_mnt_ns()
2893 new_ns->root = NULL; in alloc_mnt_ns()
2894 INIT_LIST_HEAD(&new_ns->list); in alloc_mnt_ns()
[all …]
/fs/kernfs/
Ddir.c1432 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument
1450 if ((kn->parent == new_parent) && (kn->ns == new_ns) && in kernfs_rename_ns()
1455 if (kernfs_find_ns(new_parent, new_name, new_ns)) in kernfs_rename_ns()
1480 kn->ns = new_ns; in kernfs_rename_ns()