Searched refs:chunk_root (Results 1 – 9 of 9) sorted by relevance
/fs/btrfs/ |
D | disk-io.c | 1547 return fs_info->chunk_root; in btrfs_get_fs_root() 1876 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots() 1878 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots() 1880 btrfs_header_level(info->chunk_root->node)); in backup_super_roots() 2019 static void free_root_pointers(struct btrfs_fs_info *info, int chunk_root) in free_root_pointers() argument 2028 if (chunk_root) in free_root_pointers() 2029 free_root_extent_buffers(info->chunk_root); in free_root_pointers() 2595 struct btrfs_root *chunk_root; in open_ctree() local 2604 chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info, GFP_KERNEL); in open_ctree() 2605 if (!tree_root || !chunk_root) { in open_ctree() [all …]
|
D | volumes.c | 1852 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid() 1863 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid() 1901 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item() 1954 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item() 2478 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout() 2770 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device() 2852 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk() 3056 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk() 3100 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local 3122 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks() [all …]
|
D | transaction.c | 472 if (num_items && root != fs_info->chunk_root) { in start_transaction() 1682 root_item = &fs_info->chunk_root->root_item; in update_super_roots() 1683 super->chunk_root = root_item->bytenr; in update_super_roots() 2235 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction() 2236 fs_info->chunk_root->node); in btrfs_commit_transaction() 2237 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
|
D | ctree.h | 183 __le64 chunk_root; member 230 __le64 chunk_root; member 534 struct btrfs_root *chunk_root; member 1989 chunk_root, 64); 2127 chunk_root, 64); 2655 kfree(fs_info->chunk_root); in free_fs_info()
|
D | block-rsv.c | 340 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
|
D | space-info.c | 1097 bool system_chunk = (root == fs_info->chunk_root); in btrfs_reserve_metadata_bytes()
|
D | block-group.c | 3039 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
|
D | extent-tree.c | 2538 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
|
D | ctree.c | 1028 root == fs_info->chunk_root || in alloc_tree_block_no_bg_flush()
|