Searched refs:chunk_root (Results 1 – 5 of 5) sorted by relevance
1393 return fs_info->chunk_root; in btrfs_read_fs_root_no_name()1709 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()1711 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()1713 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()1815 static void free_root_pointers(struct btrfs_fs_info *info, int chunk_root) in free_root_pointers() argument1835 if (chunk_root) { in free_root_pointers()1836 free_extent_buffer(info->chunk_root->node); in free_root_pointers()1837 free_extent_buffer(info->chunk_root->commit_root); in free_root_pointers()1838 info->chunk_root->node = NULL; in free_root_pointers()1839 info->chunk_root->commit_root = NULL; in free_root_pointers()[all …]
1164 root = root->fs_info->chunk_root; in find_next_devid()1210 root = root->fs_info->chunk_root; in btrfs_add_device()1261 root = root->fs_info->chunk_root; in btrfs_rm_dev_item()1402 ret = btrfs_rm_dev_item(root->fs_info->chunk_root, device); in btrfs_rm_device()1574 root = root->fs_info->chunk_root; in btrfs_finish_sprout()1823 root = device->dev_root->fs_info->chunk_root; in btrfs_update_device()1901 root = root->fs_info->chunk_root; in btrfs_free_chunk()1987 root = root->fs_info->chunk_root; in btrfs_relocate_chunk()2061 struct btrfs_root *chunk_root = root->fs_info->chunk_root; in btrfs_relocate_sys_chunks() local2067 u64 chunk_tree = chunk_root->root_key.objectid; in btrfs_relocate_sys_chunks()[all …]
295 if (num_items > 0 && root != root->fs_info->chunk_root) { in start_transaction()1078 root_item = &root->fs_info->chunk_root->root_item; in update_super_roots()1079 super->chunk_root = root_item->bytenr; in update_super_roots()1429 btrfs_set_root_node(&root->fs_info->chunk_root->root_item, in btrfs_commit_transaction()1430 root->fs_info->chunk_root->node); in btrfs_commit_transaction()1431 switch_commit_root(root->fs_info->chunk_root); in btrfs_commit_transaction()
384 __le64 chunk_root; member430 __le64 chunk_root; member1032 struct btrfs_root *chunk_root; member2181 chunk_root, 64);2313 chunk_root, 64);2734 kfree(fs_info->chunk_root); in free_fs_info()
3257 else if (root == root->fs_info->chunk_root) in btrfs_get_alloc_profile()3486 flags = btrfs_get_alloc_profile(root->fs_info->chunk_root, 0); in check_system_chunk()4266 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in init_global_block_rsv()