Searched refs:btrfs_grab_root (Results 1 – 8 of 8) sorted by relevance
1507 root = btrfs_grab_root(root); in btrfs_lookup_fs_root()1522 return btrfs_grab_root(fs_info->tree_root); in btrfs_get_global_root()1524 return btrfs_grab_root(btrfs_global_root(fs_info, &key)); in btrfs_get_global_root()1526 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()1528 return btrfs_grab_root(fs_info->dev_root); in btrfs_get_global_root()1530 return btrfs_grab_root(btrfs_global_root(fs_info, &key)); in btrfs_get_global_root()1532 return btrfs_grab_root(fs_info->quota_root) ? in btrfs_get_global_root()1535 return btrfs_grab_root(fs_info->uuid_root) ? in btrfs_get_global_root()1538 return btrfs_grab_root(fs_info->block_group_root) ? in btrfs_get_global_root()1543 return btrfs_grab_root(root) ? root : ERR_PTR(-ENOENT); in btrfs_get_global_root()[all …]
100 static inline struct btrfs_root *btrfs_grab_root(struct btrfs_root *root) in btrfs_grab_root() function
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()2220 next->root = btrfs_grab_root(root); in select_reloc_root()2723 node->root = btrfs_grab_root(root); in relocate_tree_block()3854 root = btrfs_grab_root(fs_info->data_reloc_root); in create_reloc_inode()4304 fs_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_recover_relocation()4338 fs_root = btrfs_grab_root(fs_info->data_reloc_root); in btrfs_recover_relocation()[all …]
698 root = btrfs_grab_root(root); in btrfs_wait_ordered_roots()
1393 btrfs_grab_root(root); in btrfs_add_dead_root()
5759 BTRFS_I(inode)->root = btrfs_grab_root(args->root); in btrfs_init_locked_inode()5845 BTRFS_I(inode)->root = btrfs_grab_root(root); in new_simple_dir()6447 BTRFS_I(inode)->root = btrfs_grab_root(BTRFS_I(dir)->root); in btrfs_create_new_inode()9829 root = btrfs_grab_root(root); in btrfs_start_delalloc_roots()
2589 root = btrfs_grab_root(BTRFS_I(inode)->root); in search_ioctl()
8029 btrfs_grab_root(sctx->send_root); in btrfs_ioctl_send()