Searched refs:new_root (Results 1 – 9 of 9) sorted by relevance
/fs/ |
D | fs_struct.c | 59 void chroot_fs_refs(const struct path *old_root, const struct path *new_root) in chroot_fs_refs() argument 73 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs() 74 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs() 78 path_get(new_root); in chroot_fs_refs()
|
D | namespace.c | 3646 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument 3657 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
|
/fs/afs/ |
D | cell.c | 333 struct afs_cell *old_root, *new_root; in afs_cell_init() local 358 new_root = afs_lookup_cell(net, rootcell, len, vllist, false); in afs_cell_init() 359 if (IS_ERR(new_root)) { in afs_cell_init() 360 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init() 361 return PTR_ERR(new_root); in afs_cell_init() 364 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init() 365 afs_get_cell(new_root); in afs_cell_init() 370 rcu_assign_pointer(net->ws_cell, new_root); in afs_cell_init()
|
/fs/reiserfs/ |
D | ibalance.c | 658 struct buffer_head *new_root; in balance_internal_when_delete() local 669 new_root = tb->R[h - 1]; in balance_internal_when_delete() 671 new_root = tb->L[h - 1]; in balance_internal_when_delete() 675 PUT_SB_ROOT_BLOCK(tb->tb_sb, new_root->b_blocknr); in balance_internal_when_delete() 686 check_internal(new_root); in balance_internal_when_delete()
|
/fs/btrfs/ |
D | ioctl.c | 568 struct btrfs_root *new_root; in create_subvol() local 670 new_root = btrfs_read_fs_root_no_name(fs_info, &key); in create_subvol() 671 if (IS_ERR(new_root)) { in create_subvol() 672 ret = PTR_ERR(new_root); in create_subvol() 677 btrfs_record_root_in_trans(trans, new_root); in create_subvol() 679 ret = btrfs_create_subvol_root(trans, new_root, root, new_dirid); in create_subvol() 686 mutex_lock(&new_root->objectid_mutex); in create_subvol() 687 new_root->highest_objectid = new_dirid; in create_subvol() 688 mutex_unlock(&new_root->objectid_mutex); in create_subvol() 3955 struct btrfs_root *new_root; in btrfs_ioctl_default_subvol() local [all …]
|
D | inode.c | 5635 struct btrfs_root *new_root; in fixup_tree_root_location() local 5674 new_root = btrfs_read_fs_root_no_name(fs_info, location); 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() 9267 struct btrfs_root *new_root, in btrfs_create_subvol_root() argument 9275 inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, in btrfs_create_subvol_root() 9288 err = btrfs_subvol_inherit_props(trans, new_root, parent_root); in btrfs_create_subvol_root() 9290 btrfs_err(new_root->fs_info, in btrfs_create_subvol_root() [all …]
|
D | relocation.c | 4795 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local 4813 new_root = pending->snap; in btrfs_reloc_post_snapshot() 4815 new_root->root_key.objectid); in btrfs_reloc_post_snapshot() 4821 new_root->reloc_root = reloc_root; in btrfs_reloc_post_snapshot()
|
D | ctree.c | 616 struct extent_buffer *new_root, int log_removal) in tree_mod_log_insert_root() argument 652 tm->logical = new_root->start; in tree_mod_log_insert_root()
|
D | ctree.h | 2848 struct btrfs_root *new_root,
|