Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Ddisk-io.c1657 return fs_info->chunk_root; in btrfs_get_fs_root()
2018 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
2020 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
2022 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2157 static void free_root_pointers(struct btrfs_fs_info *info, int chunk_root) in free_root_pointers() argument
2166 if (chunk_root) in free_root_pointers()
2167 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
2485 struct btrfs_root *chunk_root; in open_ctree() local
2493 chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info); in open_ctree()
2494 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
Dvolumes.c1551 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1557 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1588 root = root->fs_info->chunk_root; in btrfs_add_device()
1657 root = root->fs_info->chunk_root; in btrfs_rm_dev_item()
1817 ret = btrfs_rm_dev_item(root->fs_info->chunk_root, device); in btrfs_rm_device()
2186 root = root->fs_info->chunk_root; in btrfs_finish_sprout()
2568 root = device->dev_root->fs_info->chunk_root; in btrfs_update_device()
2652 root = root->fs_info->chunk_root; in btrfs_free_chunk()
2740 root = root->fs_info->chunk_root; in btrfs_remove_chunk()
2760 lock_chunks(root->fs_info->chunk_root); in btrfs_remove_chunk()
[all …]
Dtransaction.c481 if (num_items > 0 && root != root->fs_info->chunk_root) { in start_transaction()
1596 root_item = &root->fs_info->chunk_root->root_item; in update_super_roots()
1597 super->chunk_root = root_item->bytenr; in update_super_roots()
2088 btrfs_set_root_node(&root->fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2089 root->fs_info->chunk_root->node); in btrfs_commit_transaction()
2090 list_add_tail(&root->fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
Dscrub.c3799 if (fs_info->chunk_root->nodesize > BTRFS_STRIPE_LEN) { in btrfs_scrub_dev()
3807 fs_info->chunk_root->nodesize, BTRFS_STRIPE_LEN); in btrfs_scrub_dev()
3811 if (fs_info->chunk_root->sectorsize != PAGE_SIZE) { in btrfs_scrub_dev()
3816 fs_info->chunk_root->sectorsize, PAGE_SIZE); in btrfs_scrub_dev()
3820 if (fs_info->chunk_root->nodesize > in btrfs_scrub_dev()
3822 fs_info->chunk_root->sectorsize > in btrfs_scrub_dev()
3830 fs_info->chunk_root->nodesize, in btrfs_scrub_dev()
3832 fs_info->chunk_root->sectorsize, in btrfs_scrub_dev()
Dctree.h418 __le64 chunk_root; member
464 __le64 chunk_root; member
1426 struct btrfs_root *chunk_root; member
2971 chunk_root, 64);
3105 chunk_root, 64);
3735 kfree(fs_info->chunk_root); in free_fs_info()
Dextent-tree.c3988 else if (root == root->fs_info->chunk_root) in btrfs_get_alloc_profile()
4317 flags = btrfs_get_alloc_profile(root->fs_info->chunk_root, 0); in check_system_chunk()
4328 ret = btrfs_block_rsv_add(root->fs_info->chunk_root, in check_system_chunk()
5371 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in init_global_block_rsv()
9222 lock_chunks(root->fs_info->chunk_root); in btrfs_inc_block_group_ro()
9224 unlock_chunks(root->fs_info->chunk_root); in btrfs_inc_block_group_ro()
Dfree-space-cache.c3339 lock_chunks(block_group->fs_info->chunk_root); in btrfs_put_block_group_trimming()
3351 unlock_chunks(block_group->fs_info->chunk_root); in btrfs_put_block_group_trimming()