Lines Matching refs:chunk_root

1067 	root = root->fs_info->chunk_root;  in find_next_devid()
1113 root = root->fs_info->chunk_root; in btrfs_add_device()
1164 root = root->fs_info->chunk_root; in btrfs_rm_dev_item()
1298 ret = btrfs_rm_dev_item(root->fs_info->chunk_root, device); in btrfs_rm_device()
1458 root = root->fs_info->chunk_root; in btrfs_finish_sprout()
1681 root = device->dev_root->fs_info->chunk_root; in btrfs_update_device()
1759 root = root->fs_info->chunk_root; in btrfs_free_chunk()
1836 root = root->fs_info->chunk_root; in btrfs_relocate_chunk()
1910 struct btrfs_root *chunk_root = root->fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
1916 u64 chunk_tree = chunk_root->root_key.objectid; in btrfs_relocate_sys_chunks()
1932 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_relocate_sys_chunks()
1937 ret = btrfs_previous_item(chunk_root, path, key.objectid, in btrfs_relocate_sys_chunks()
1950 btrfs_release_path(chunk_root, path); in btrfs_relocate_sys_chunks()
1953 ret = btrfs_relocate_chunk(chunk_root, chunk_tree, in btrfs_relocate_sys_chunks()
1998 struct btrfs_root *chunk_root = dev_root->fs_info->chunk_root; in btrfs_balance() local
2043 ret = btrfs_search_slot(NULL, chunk_root, &key, path, 0, 0); in btrfs_balance()
2054 ret = btrfs_previous_item(chunk_root, path, 0, in btrfs_balance()
2068 btrfs_release_path(chunk_root, path); in btrfs_balance()
2069 ret = btrfs_relocate_chunk(chunk_root, in btrfs_balance()
2070 chunk_root->root_key.objectid, in btrfs_balance()
2610 trace_btrfs_chunk_alloc(info->chunk_root, map, start, *num_bytes); in __btrfs_alloc_chunk()
2641 info->chunk_root->root_key.objectid, in __btrfs_alloc_chunk()
2664 struct btrfs_root *chunk_root = extent_root->fs_info->chunk_root; in __finish_chunk_alloc() local
2712 ret = btrfs_insert_item(trans, chunk_root, &key, chunk, item_size); in __finish_chunk_alloc()
2716 ret = btrfs_add_system_chunk(trans, chunk_root, &key, chunk, in __finish_chunk_alloc()
2739 struct btrfs_root *chunk_root = extent_root->fs_info->chunk_root; in btrfs_alloc_chunk() local
2742 ret = find_next_chunk(chunk_root, BTRFS_FIRST_CHUNK_TREE_OBJECTID, in btrfs_alloc_chunk()
2775 ret = find_next_chunk(fs_info->chunk_root, in init_first_rw_device()
2800 ret = btrfs_add_device(trans, fs_info->chunk_root, device); in init_first_rw_device()
3765 root = root->fs_info->chunk_root; in btrfs_read_chunk_tree()