Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Ddisk-io.c1434 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()
1507 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info()
1884 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1886 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1888 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2031 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
2888 struct btrfs_root *chunk_root; in open_ctree() local
2904 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree()
2906 fs_info->chunk_root = chunk_root; in open_ctree()
2907 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
Dvolumes.c1765 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1776 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1814 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
1867 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2417 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2723 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2805 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3009 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
3060 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
3082 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
[all …]
Dtransaction.c552 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1753 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1754 super->chunk_root = root_item->bytenr; in update_super_roots()
2305 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2306 fs_info->chunk_root->node); in btrfs_commit_transaction()
2307 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dblock-rsv.c435 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
Dctree.h193 __le64 chunk_root; member
240 __le64 chunk_root; member
582 struct btrfs_root *chunk_root; member
2127 chunk_root, 64);
2265 chunk_root, 64);
Dblock-group.c3255 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
Dctree.c984 root == fs_info->chunk_root || in alloc_tree_block_no_bg_flush()
Dextent-tree.c2546 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
/Linux-v5.10/include/trace/events/
Dbtrfs.h991 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;