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 | 3879 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument 3890 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
|
/fs/afs/ |
D | cell.c | 345 struct afs_cell *old_root, *new_root; in afs_cell_init() local 370 new_root = afs_lookup_cell(net, rootcell, len, vllist, false); in afs_cell_init() 371 if (IS_ERR(new_root)) { in afs_cell_init() 372 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init() 373 return PTR_ERR(new_root); in afs_cell_init() 376 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init() 377 afs_use_cell(new_root, afs_cell_trace_use_pin); in afs_cell_init() 381 afs_see_cell(new_root, afs_cell_trace_see_ws); in afs_cell_init() 383 net->ws_cell = new_root; in afs_cell_init()
|
/fs/btrfs/ |
D | tree-mod-log.h | 32 struct extent_buffer *new_root,
|
D | ioctl.c | 583 struct btrfs_root *new_root; in create_subvol() local 711 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol() 712 if (IS_ERR(new_root)) { in create_subvol() 713 ret = PTR_ERR(new_root); in create_subvol() 719 BTRFS_I(new_inode_args.inode)->root = new_root; in create_subvol() 722 ret = btrfs_record_root_in_trans(trans, new_root); in create_subvol() 3796 struct btrfs_root *new_root; in btrfs_ioctl_default_subvol() local 3821 new_root = btrfs_get_fs_root(fs_info, objectid, true); in btrfs_ioctl_default_subvol() 3822 if (IS_ERR(new_root)) { in btrfs_ioctl_default_subvol() 3823 ret = PTR_ERR(new_root); in btrfs_ioctl_default_subvol() [all …]
|
D | tree-mod-log.c | 344 struct extent_buffer *new_root, in btrfs_tree_mod_log_insert_root() argument 381 tm->logical = new_root->start; in btrfs_tree_mod_log_insert_root()
|
D | relocation.c | 4496 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local 4514 new_root = pending->snap; in btrfs_reloc_post_snapshot() 4516 new_root->root_key.objectid); in btrfs_reloc_post_snapshot() 4527 new_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_reloc_post_snapshot()
|
D | inode.c | 5632 struct btrfs_root *new_root; in fixup_tree_root_location() local 5675 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location() 5676 if (IS_ERR(new_root)) { in fixup_tree_root_location() 5677 err = PTR_ERR(new_root); in fixup_tree_root_location() 5681 *sub_root = new_root; in fixup_tree_root_location() 5682 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
|
/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()
|