Searched refs:chunk_root (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | disk-io.c | 1122 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root() 1220 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info() 1622 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots() 1624 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots() 1626 btrfs_header_level(info->chunk_root->node)); in backup_super_roots() 1798 free_root_extent_buffers(info->chunk_root); in free_root_pointers() 3289 struct btrfs_root *chunk_root; in open_ctree() local 3302 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree() 3304 fs_info->chunk_root = chunk_root; in open_ctree() 3305 if (!tree_root || !chunk_root) { in open_ctree() [all …]
|
| H A D | volumes.c | 2035 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid() 2045 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid() 2081 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item() 2133 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item() 2351 trans = btrfs_start_transaction(fs_info->chunk_root, 0); in btrfs_rm_device() 2739 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout() 3060 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device() 3143 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk() 3535 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk_finish() 3627 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local [all …]
|
| H A D | transaction.c | 632 if (num_items && root != fs_info->chunk_root) { in start_transaction() 1978 root_item = &fs_info->chunk_root->root_item; in update_super_roots() 1979 super->chunk_root = root_item->bytenr; in update_super_roots() 2529 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction() 2530 fs_info->chunk_root->node); in btrfs_commit_transaction() 2531 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
|
| H A D | relocation.c | 2569 if (root == root->fs_info->chunk_root) in relocate_cowonly_block() 2576 if (root == root->fs_info->chunk_root) in relocate_cowonly_block() 4669 ret = btrfs_search_slot(trans, fs_info->chunk_root, &key, path, 0, 1); in remove_chunk_stripes() 4916 ret = btrfs_search_slot(trans, fs_info->chunk_root, &key, path, 0, 1); in mark_chunk_remapped()
|
| H A D | extent-tree.c | 2654 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root() 4332 struct btrfs_root *root = fs_info->chunk_root; in find_free_extent_update_loop()
|
| /linux/include/trace/events/ |
| H A D | btrfs.h | 1051 __entry->root_objectid = btrfs_root_id(fs_info->chunk_root);
|