/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | disk-io.c | 1434 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() 1902 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots() 1904 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots() 1906 btrfs_header_level(info->chunk_root->node)); in backup_super_roots() 2049 free_root_extent_buffers(info->chunk_root); in free_root_pointers() 2454 btrfs_err(fs_info, "chunk_root level too big: %d >= %d", in validate_super() 2498 btrfs_warn(fs_info, "chunk_root block unaligned: %llu", in validate_super() 2941 struct btrfs_root *chunk_root; in open_ctree() local 2957 chunk_root in open_ctree() [all...] |
H A D | transaction.c | 593 if (num_items && root != fs_info->chunk_root) { in start_transaction() 1803 root_item = &fs_info->chunk_root->root_item; in update_super_roots() 1804 super->chunk_root = root_item->bytenr; in update_super_roots() 2363 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction() 2364 fs_info->chunk_root->node); in btrfs_commit_transaction() 2365 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
|
H A 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() 1960 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item() 2510 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout() 2816 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device() 2898 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk() 3103 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk() 3154 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local 3696 struct btrfs_root *chunk_root = fs_info->chunk_root; __btrfs_balance() local 5308 struct btrfs_root *chunk_root = fs_info->chunk_root; btrfs_finish_chunk_alloc() local [all...] |
H A D | block-rsv.c | 436 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
|
H A D | ctree.h | 193 __le64 chunk_root; member 240 __le64 chunk_root; member 588 struct btrfs_root *chunk_root; member 2133 chunk_root, 64); 2271 chunk_root, 64);
|
H A D | block-group.c | 3286 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
|
H A D | extent-tree.c | 2512 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
|
H A D | ctree.c | 987 root == fs_info->chunk_root || in alloc_tree_block_no_bg_flush()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | btrfs_tree.h | 492 __le64 chunk_root; member 659 __le64 chunk_root; member
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | transaction.c | 594 if (num_items && root != fs_info->chunk_root) { in start_transaction() 1927 root_item = &fs_info->chunk_root->root_item; in update_super_roots() 1928 super->chunk_root = root_item->bytenr; in update_super_roots() 2453 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction() 2454 fs_info->chunk_root->node); in btrfs_commit_transaction() 2455 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
|
H A D | volumes.c | 1818 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid() 1829 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid() 1868 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item() 1927 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item() 2149 trans = btrfs_start_transaction(fs_info->chunk_root, 0); in btrfs_rm_device() 2541 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout() 2864 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device() 2951 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk() 3248 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk() 3328 struct btrfs_root *chunk_root in btrfs_relocate_sys_chunks() local 3865 struct btrfs_root *chunk_root = fs_info->chunk_root; __btrfs_balance() local 5538 struct btrfs_root *chunk_root = fs_info->chunk_root; btrfs_chunk_alloc_add_chunk_item() local [all...] |
H A D | disk-io.c | 1169 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root() 1255 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info() 1651 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots() 1653 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots() 1655 btrfs_header_level(info->chunk_root->node)); in backup_super_roots() 1816 free_root_extent_buffers(info->chunk_root); in free_root_pointers() 2330 btrfs_err(fs_info, "chunk_root level too big: %d >= %d", in btrfs_validate_super() 2383 btrfs_warn(fs_info, "chunk_root block unaligned: %llu", in btrfs_validate_super() 3174 struct btrfs_root *chunk_root; in open_ctree() local 3186 chunk_root in open_ctree() [all...] |
H A D | fs.h | 365 struct btrfs_root *chunk_root; member
|
H A D | accessors.h | 748 chunk_root, 64); 885 chunk_root, 64);
|
H A D | relocation.c | 2747 if (root == root->fs_info->chunk_root) in relocate_tree_block() 2751 if (root == root->fs_info->chunk_root) in relocate_tree_block()
|
H A D | extent-tree.c | 2508 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root() 3987 struct btrfs_root *root = fs_info->chunk_root; in find_free_extent_update_loop()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | btrfs.h | 991 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | btrfs.h | 1083 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;
|