Searched refs:new_root (Results 1 – 9 of 9) sorted by relevance
/fs/ |
D | fs_struct.c | 58 void chroot_fs_refs(const struct path *old_root, const struct path *new_root) in chroot_fs_refs() argument 72 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs() 73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs() 77 path_get(new_root); in chroot_fs_refs()
|
D | namespace.c | 3720 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument 3731 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
|
/fs/afs/ |
D | cell.c | 343 struct afs_cell *old_root, *new_root; in afs_cell_init() local 368 new_root = afs_lookup_cell(net, rootcell, len, vllist, false); in afs_cell_init() 369 if (IS_ERR(new_root)) { in afs_cell_init() 370 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init() 371 return PTR_ERR(new_root); in afs_cell_init() 374 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init() 375 afs_use_cell(new_root, afs_cell_trace_use_pin); in afs_cell_init() 379 afs_see_cell(new_root, afs_cell_trace_see_ws); in afs_cell_init() 381 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 | 589 struct btrfs_root *new_root; in create_subvol() local 707 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol() 708 if (IS_ERR(new_root)) { in create_subvol() 710 ret = PTR_ERR(new_root); in create_subvol() 717 btrfs_record_root_in_trans(trans, new_root); in create_subvol() 719 ret = btrfs_create_subvol_root(trans, new_root, root, new_dirid); in create_subvol() 720 btrfs_put_root(new_root); in create_subvol() 727 mutex_lock(&new_root->objectid_mutex); in create_subvol() 728 new_root->highest_objectid = new_dirid; in create_subvol() 729 mutex_unlock(&new_root->objectid_mutex); in create_subvol() [all …]
|
D | inode.c | 5275 struct btrfs_root *new_root; in fixup_tree_root_location() local 5314 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location() 5315 if (IS_ERR(new_root)) { in fixup_tree_root_location() 5316 err = PTR_ERR(new_root); in fixup_tree_root_location() 5320 *sub_root = new_root; in fixup_tree_root_location() 5321 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location() 8637 struct btrfs_root *new_root, in btrfs_create_subvol_root() argument 8645 inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, in btrfs_create_subvol_root() 8658 err = btrfs_subvol_inherit_props(trans, new_root, parent_root); in btrfs_create_subvol_root() 8660 btrfs_err(new_root->fs_info, in btrfs_create_subvol_root() [all …]
|
D | relocation.c | 4053 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local 4071 new_root = pending->snap; in btrfs_reloc_post_snapshot() 4073 new_root->root_key.objectid); in btrfs_reloc_post_snapshot() 4079 new_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_reloc_post_snapshot()
|
D | ctree.c | 577 struct extent_buffer *new_root, int log_removal) in tree_mod_log_insert_root() argument 613 tm->logical = new_root->start; in tree_mod_log_insert_root()
|
D | ctree.h | 3016 struct btrfs_root *new_root,
|