Home
last modified time | relevance | path

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

/fs/btrfs/
Ddisk-io.c1554 return fs_info->chunk_root; in btrfs_get_fs_root()
1882 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1884 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1886 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2035 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
2633 struct btrfs_root *chunk_root; in open_ctree() local
2642 chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info, GFP_KERNEL); in open_ctree()
2643 if (!tree_root || !chunk_root) { in open_ctree()
3030 __setup_root(chunk_root, fs_info, BTRFS_CHUNK_TREE_OBJECTID); in open_ctree()
3032 chunk_root->node = read_tree_block(fs_info, in open_ctree()
[all …]
Dtransaction.c478 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1685 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1686 super->chunk_root = root_item->bytenr; in update_super_roots()
2247 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2248 fs_info->chunk_root->node); in btrfs_commit_transaction()
2249 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dvolumes.c1981 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1992 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
2030 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
2083 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2610 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2913 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2995 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3200 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
3244 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
3266 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
[all …]
Dctree.h183 __le64 chunk_root; member
230 __le64 chunk_root; member
530 struct btrfs_root *chunk_root; member
1993 chunk_root, 64);
2131 chunk_root, 64);
2660 kfree(fs_info->chunk_root); in free_fs_info()
Dblock-rsv.c344 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
Dblock-group.c3083 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
Dextent-tree.c2574 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
Dctree.c1027 root == fs_info->chunk_root || in alloc_tree_block_no_bg_flush()