Home
last modified time | relevance | path

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

/fs/sysfs/
Ddir.c107 const void *new_ns) in sysfs_rename_dir_ns() argument
113 ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns); in sysfs_rename_dir_ns()
119 const void *new_ns) in sysfs_move_dir_ns() argument
127 return kernfs_rename_ns(kn, new_parent, kn->name, new_ns); in sysfs_move_dir_ns()
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()
/fs/
Dnamespace.c3209 struct mnt_namespace *new_ns; in alloc_mnt_ns() local
3217 new_ns = kzalloc(sizeof(struct mnt_namespace), GFP_KERNEL); in alloc_mnt_ns()
3218 if (!new_ns) { in alloc_mnt_ns()
3223 ret = ns_alloc_inum(&new_ns->ns); in alloc_mnt_ns()
3225 kfree(new_ns); in alloc_mnt_ns()
3230 new_ns->ns.ops = &mntns_operations; in alloc_mnt_ns()
3232 new_ns->seq = atomic64_add_return(1, &mnt_ns_seq); in alloc_mnt_ns()
3233 atomic_set(&new_ns->count, 1); in alloc_mnt_ns()
3234 INIT_LIST_HEAD(&new_ns->list); in alloc_mnt_ns()
3235 init_waitqueue_head(&new_ns->poll); in alloc_mnt_ns()
[all …]
/fs/kernfs/
Ddir.c1530 const char *new_name, const void *new_ns) in kernfs_rename_ns() argument
1548 if ((kn->parent == new_parent) && (kn->ns == new_ns) && in kernfs_rename_ns()
1553 if (kernfs_find_ns(new_parent, new_name, new_ns)) in kernfs_rename_ns()
1578 kn->ns = new_ns; in kernfs_rename_ns()