Home
last modified time | relevance | path

Searched refs:chunk_root (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/fs/btrfs/
Ddisk-io.c1562 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()
1635 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info()
2020 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
2022 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
2024 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2167 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
3200 struct btrfs_root *chunk_root; in open_ctree() local
3215 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree()
3217 fs_info->chunk_root = chunk_root; in open_ctree()
3218 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
Dblock-rsv.c434 !fs_info->dev_root || !fs_info->chunk_root || !fs_info->tree_root) in btrfs_init_global_block_rsv()
443 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
Dtransaction.c599 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1822 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1823 super->chunk_root = root_item->bytenr; in update_super_roots()
2308 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2309 fs_info->chunk_root->node); in btrfs_commit_transaction()
2310 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dvolumes.c1797 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1808 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1846 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
1901 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2463 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2781 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2863 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3159 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
3226 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
3248 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
[all …]
Dctree.h189 __le64 chunk_root; member
236 __le64 chunk_root; member
621 struct btrfs_root *chunk_root; member
2250 chunk_root, 64);
2388 chunk_root, 64);
Dblock-group.c3752 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
Dextent-tree.c2492 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
/Linux-v5.15/include/trace/events/
Dbtrfs.h989 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;