Searched refs:btrfs_grab_root (Results 1 – 8 of 8) sorted by relevance
100 static inline struct btrfs_root *btrfs_grab_root(struct btrfs_root *root) in btrfs_grab_root() function
1499 root = btrfs_grab_root(root); in btrfs_lookup_fs_root()1514 return btrfs_grab_root(fs_info->tree_root); in btrfs_get_global_root()1516 return btrfs_grab_root(btrfs_global_root(fs_info, &key)); in btrfs_get_global_root()1518 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()1520 return btrfs_grab_root(fs_info->dev_root); in btrfs_get_global_root()1522 return btrfs_grab_root(btrfs_global_root(fs_info, &key)); in btrfs_get_global_root()1524 return btrfs_grab_root(fs_info->quota_root) ? in btrfs_get_global_root()1527 return btrfs_grab_root(fs_info->uuid_root) ? in btrfs_get_global_root()1530 return btrfs_grab_root(fs_info->block_group_root) ? in btrfs_get_global_root()1535 return btrfs_grab_root(root) ? root : ERR_PTR(-ENOENT); in btrfs_get_global_root()[all …]
368 return btrfs_grab_root(root); in find_reloc_root()583 new_node->root = btrfs_grab_root(dest); in clone_backref_node()895 root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_init_reloc_root()921 btrfs_grab_root(reloc_root); in btrfs_update_reloc_root()1619 btrfs_grab_root(root); in insert_dirty_subvol()2191 next->root = btrfs_grab_root(root); in select_reloc_root()2694 node->root = btrfs_grab_root(root); in relocate_tree_block()3819 root = btrfs_grab_root(fs_info->data_reloc_root); in create_reloc_inode()4269 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()4303 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()[all …]
695 root = btrfs_grab_root(root); in btrfs_wait_ordered_roots()
1372 btrfs_grab_root(root); in btrfs_add_dead_root()
5685 BTRFS_I(inode)->root = btrfs_grab_root(args->root); in btrfs_init_locked_inode()5771 BTRFS_I(inode)->root = btrfs_grab_root(root); in new_simple_dir()6320 BTRFS_I(inode)->root = btrfs_grab_root(BTRFS_I(dir)->root); in btrfs_create_new_inode()9670 root = btrfs_grab_root(root); in btrfs_start_delalloc_roots()
2575 root = btrfs_grab_root(BTRFS_I(inode)->root); in search_ioctl()
8025 btrfs_grab_root(sctx->send_root); in btrfs_ioctl_send()