Searched refs:chunk_root (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/ |
D | disk-io.c | 1500 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root() 1573 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info() 1976 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots() 1978 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots() 1980 btrfs_header_level(info->chunk_root->node)); in backup_super_roots() 2123 free_root_extent_buffers(info->chunk_root); in free_root_pointers() 3177 struct btrfs_root *chunk_root; in open_ctree() local 3192 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree() 3194 fs_info->chunk_root = chunk_root; in open_ctree() 3195 if (!tree_root || !chunk_root) { in open_ctree() [all …]
|
D | block-rsv.c | 435 !fs_info->dev_root || !fs_info->chunk_root || !fs_info->tree_root) in btrfs_init_global_block_rsv() 444 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
|
D | volumes.c | 1871 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid() 1882 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid() 1921 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item() 1982 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item() 2201 trans = btrfs_start_transaction(fs_info->chunk_root, 0); in btrfs_rm_device() 2561 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout() 2883 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device() 2970 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk() 3267 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk() 3334 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local [all …]
|
D | transaction.c | 604 if (num_items && root != fs_info->chunk_root) { in start_transaction() 1894 root_item = &fs_info->chunk_root->root_item; in update_super_roots() 1895 super->chunk_root = root_item->bytenr; in update_super_roots() 2412 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction() 2413 fs_info->chunk_root->node); in btrfs_commit_transaction() 2414 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
|
D | ctree.h | 184 __le64 chunk_root; member 231 __le64 chunk_root; member 636 struct btrfs_root *chunk_root; member 2295 chunk_root, 64); 2433 chunk_root, 64);
|
D | relocation.c | 2732 if (root == root->fs_info->chunk_root) in relocate_tree_block() 2736 if (root == root->fs_info->chunk_root) in relocate_tree_block()
|
D | block-group.c | 3799 ret = btrfs_block_rsv_add(fs_info->chunk_root, in reserve_chunk_space()
|
D | extent-tree.c | 2502 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
|