Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Ddisk-io.c1558 return fs_info->chunk_root; in btrfs_get_fs_root()
1913 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1915 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1917 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2057 static void free_root_pointers(struct btrfs_fs_info *info, int chunk_root) in free_root_pointers() argument
2066 if (chunk_root) in free_root_pointers()
2067 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
2616 struct btrfs_root *chunk_root; in open_ctree() local
2625 chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info, GFP_KERNEL); in open_ctree()
2626 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
Dvolumes.c1642 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1648 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1686 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
1739 struct btrfs_root *root = fs_info->chunk_root; in btrfs_rm_dev_item()
2246 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2545 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2630 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
2829 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
2887 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
2909 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
[all …]
Dtransaction.c486 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1699 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1700 super->chunk_root = root_item->bytenr; in update_super_roots()
2201 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2202 fs_info->chunk_root->node); in btrfs_commit_transaction()
2203 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dctree.h168 __le64 chunk_root; member
214 __le64 chunk_root; member
758 struct btrfs_root *chunk_root; member
2178 chunk_root, 64);
2316 chunk_root, 64);
2967 kfree(fs_info->chunk_root); in free_fs_info()
Dextent-tree.c4075 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
4427 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
5228 bool system_chunk = (root == fs_info->chunk_root); in reserve_metadata_bytes()
5762 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in init_global_block_rsv()
/Linux-v4.19/include/trace/events/
Dbtrfs.h920 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;