Home
last modified time | relevance | path

Searched refs:new_root (Results 1 – 8 of 8) sorted by relevance

/fs/
A Dfs_struct.c54 void chroot_fs_refs(const struct path *old_root, const struct path *new_root) in chroot_fs_refs() argument
67 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs()
68 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
71 path_get(new_root); in chroot_fs_refs()
A Dnamespace.c4661 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument
4672 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
/fs/afs/
A Dcell.c354 struct afs_cell *old_root, *new_root; in afs_cell_init() local
387 new_root = afs_lookup_cell(net, rootcell, len, vllist, false, in afs_cell_init()
389 if (IS_ERR(new_root)) { in afs_cell_init()
390 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init()
391 return PTR_ERR(new_root); in afs_cell_init()
394 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init()
395 afs_use_cell(new_root, afs_cell_trace_use_pin); in afs_cell_init()
399 old_root = rcu_replace_pointer(net->ws_cell, new_root, in afs_cell_init()
/fs/btrfs/
A Dtree-mod-log.h38 struct extent_buffer *new_root,
A Dioctl.c510 struct btrfs_root *new_root; in create_subvol() local
646 if (IS_ERR(new_root)) { in create_subvol()
647 ret = PTR_ERR(new_root); in create_subvol()
653 BTRFS_I(new_inode_args.inode)->root = new_root; in create_subvol()
656 ret = btrfs_record_root_in_trans(trans, new_root); in create_subvol()
2865 struct btrfs_root *new_root; in btrfs_ioctl_default_subvol() local
2890 new_root = btrfs_get_fs_root(fs_info, objectid, true); in btrfs_ioctl_default_subvol()
2891 if (IS_ERR(new_root)) { in btrfs_ioctl_default_subvol()
2892 ret = PTR_ERR(new_root); in btrfs_ioctl_default_subvol()
2895 if (!btrfs_is_fstree(btrfs_root_id(new_root))) { in btrfs_ioctl_default_subvol()
[all …]
A Dtree-mod-log.c427 struct extent_buffer *new_root, in btrfs_tree_mod_log_insert_root() argument
464 tm->logical = new_root->start; in btrfs_tree_mod_log_insert_root()
A Drelocation.c4399 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local
4417 new_root = pending->snap; in btrfs_reloc_post_snapshot()
4418 reloc_root = create_reloc_root(trans, root->reloc_root, btrfs_root_id(new_root)); in btrfs_reloc_post_snapshot()
4429 new_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_reloc_post_snapshot()
A Dinode.c5631 struct btrfs_root *new_root; in fixup_tree_root_location() local
5674 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5675 if (IS_ERR(new_root)) { in fixup_tree_root_location()
5676 err = PTR_ERR(new_root); in fixup_tree_root_location()
5680 *sub_root = new_root; in fixup_tree_root_location()
5681 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()

Completed in 55 milliseconds