Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dtransaction.c578 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1882 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1883 super->chunk_root = root_item->bytenr; in update_super_roots()
2396 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2397 fs_info->chunk_root->node); in btrfs_commit_transaction()
2398 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dvolumes.c1793 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1804 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1843 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
1904 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2126 trans = btrfs_start_transaction(fs_info->chunk_root, 0); in btrfs_rm_device()
2518 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2849 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2936 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3232 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
3305 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
[all …]
Ddisk-io.c1511 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()
1601 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info()
1975 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1977 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1979 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2143 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
3414 struct btrfs_root *chunk_root; in open_ctree() local
3429 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree()
3431 fs_info->chunk_root = chunk_root; in open_ctree()
3432 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
Dctree.h194 __le64 chunk_root; member
251 __le64 chunk_root; member
630 struct btrfs_root *chunk_root; member
2471 chunk_root, 64);
2609 chunk_root, 64);
Drelocation.c2699 if (root == root->fs_info->chunk_root) in relocate_tree_block()
2703 if (root == root->fs_info->chunk_root) in relocate_tree_block()
Dextent-tree.c2481 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
4049 struct btrfs_root *root = fs_info->chunk_root; in find_free_extent_update_loop()
/Linux-v6.1/include/trace/events/
Dbtrfs.h1054 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;