Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Ddisk-io.c1434 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()
1893 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1895 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1897 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
2040 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
2915 struct btrfs_root *chunk_root; in open_ctree() local
2931 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree()
2933 fs_info->chunk_root = chunk_root; in open_ctree()
2934 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
H A Dvolumes.c1816 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1827 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1865 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
1924 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2474 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2780 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
2862 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3066 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
3117 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
3139 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
[all …]
H A Dtransaction.c592 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1796 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1797 super->chunk_root = root_item->bytenr; in update_super_roots()
2356 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2357 fs_info->chunk_root->node); in btrfs_commit_transaction()
2358 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
H A Dblock-rsv.c435 fs_info->chunk_root->block_rsv = &fs_info->chunk_block_rsv; in btrfs_init_global_block_rsv()
H A Dctree.h193 __le64 chunk_root; member
240 __le64 chunk_root; member
590 struct btrfs_root *chunk_root; member
2135 chunk_root, 64);
2273 chunk_root, 64);
H A Dblock-group.c3269 ret = btrfs_block_rsv_add(fs_info->chunk_root, in check_system_chunk()
H A Dextent-tree.c2503 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
H A Dctree.c987 root == fs_info->chunk_root || in alloc_tree_block_no_bg_flush()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dbtrfs.h991 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;