Home
last modified time | relevance | path

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

/fs/afs/
Dcell.c228 struct afs_cell *old_root, *new_root; in afs_cell_init() local
248 new_root = afs_cell_create(rootcell, strlen(rootcell), cp, false); in afs_cell_init()
249 if (IS_ERR(new_root)) { in afs_cell_init()
250 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init()
251 return PTR_ERR(new_root); in afs_cell_init()
257 afs_cell_root = new_root; in afs_cell_init()
/fs/
Dfs_struct.c58 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()
Dnamespace.c3180 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument
3191 error = user_path_dir(new_root, &new); in SYSCALL_DEFINE2()
/fs/reiserfs/
Dibalance.c658 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/
Dioctl.c432 struct btrfs_root *new_root; in create_subvol() local
544 new_root = btrfs_read_fs_root_no_name(fs_info, &key); in create_subvol()
545 if (IS_ERR(new_root)) { in create_subvol()
546 ret = PTR_ERR(new_root); in create_subvol()
551 btrfs_record_root_in_trans(trans, new_root); in create_subvol()
553 ret = btrfs_create_subvol_root(trans, new_root, root, new_dirid); in create_subvol()
560 mutex_lock(&new_root->objectid_mutex); in create_subvol()
561 new_root->highest_objectid = new_dirid; in create_subvol()
562 mutex_unlock(&new_root->objectid_mutex); in create_subvol()
4087 struct btrfs_root *new_root; in btrfs_ioctl_default_subvol() local
[all …]
Dinode.c5638 struct btrfs_root *new_root; in fixup_tree_root_location() local
5677 new_root = btrfs_read_fs_root_no_name(fs_info, location); in fixup_tree_root_location()
5678 if (IS_ERR(new_root)) { in fixup_tree_root_location()
5679 err = PTR_ERR(new_root); in fixup_tree_root_location()
5683 *sub_root = new_root; in fixup_tree_root_location()
5684 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
9535 struct btrfs_root *new_root, in btrfs_create_subvol_root() argument
9543 inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, in btrfs_create_subvol_root()
9556 err = btrfs_subvol_inherit_props(trans, new_root, parent_root); in btrfs_create_subvol_root()
9558 btrfs_err(new_root->fs_info, in btrfs_create_subvol_root()
[all …]
Drelocation.c4784 struct btrfs_root *new_root; local
4802 new_root = pending->snap;
4804 new_root->root_key.objectid);
4810 new_root->reloc_root = reloc_root;
Dctree.c642 struct extent_buffer *new_root, in tree_mod_log_insert_root() argument
678 tm->logical = new_root->start; in tree_mod_log_insert_root()
Dctree.h3153 struct btrfs_root *new_root,