Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Ddisk-io.c1579 return fs_info->chunk_root; in btrfs_get_fs_root()
1907 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1909 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1911 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2061 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
2610 struct btrfs_root *chunk_root; in open_ctree() local
2619 chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info, GFP_KERNEL); in open_ctree()
2620 if (!tree_root || !chunk_root) { in open_ctree()
2966 __setup_root(chunk_root, fs_info, BTRFS_CHUNK_TREE_OBJECTID); in open_ctree()
2968 chunk_root->node = read_tree_block(fs_info, in open_ctree()
[all …]
Dvolumes.c1675 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1681 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1719 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
1772 struct btrfs_root *root = fs_info->chunk_root; in btrfs_rm_dev_item()
2281 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2582 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2667 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
2866 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
2924 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
2946 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
[all …]
Dtransaction.c490 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1731 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1732 super->chunk_root = root_item->bytenr; in update_super_roots()
2251 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2252 fs_info->chunk_root->node); in btrfs_commit_transaction()
2253 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dctree.h169 __le64 chunk_root; member
215 __le64 chunk_root; member
759 struct btrfs_root *chunk_root; member
2192 chunk_root, 64);
2330 chunk_root, 64);
2980 kfree(fs_info->chunk_root); in free_fs_info()
Dextent-tree.c4082 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
4434 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
5234 bool system_chunk = (root == fs_info->chunk_root); in reserve_metadata_bytes()
5768 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in init_global_block_rsv()
Dctree.c1034 root == fs_info->chunk_root || in alloc_tree_block_no_bg_flush()
/linux-4.19.296/include/trace/events/
Dbtrfs.h920 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;