/linux-3.4.99/fs/btrfs/ |
D | relocation.c | 160 struct btrfs_root *extent_root; member 607 root = read_fs_root(rc->extent_root->fs_info, root_objectid); in find_tree_root() 717 ret = btrfs_search_slot(NULL, rc->extent_root, &key, path1, 754 ret = btrfs_next_leaf(rc->extent_root, path1); 867 root = read_fs_root(rc->extent_root->fs_info, key.offset); 2171 struct btrfs_root *root = rc->extent_root; 2191 trans = btrfs_join_transaction(rc->extent_root); 2194 btrfs_block_rsv_release(rc->extent_root, 2201 btrfs_end_transaction(trans, rc->extent_root); 2202 btrfs_block_rsv_release(rc->extent_root, [all …]
|
D | extent-tree.c | 95 struct btrfs_root *extent_root, u64 alloc_bytes, 346 struct btrfs_root *extent_root; in caching_thread() local 358 extent_root = fs_info->extent_root; in caching_thread() 384 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in caching_thread() 405 btrfs_next_leaf(extent_root, path)) { in caching_thread() 456 free_excluded_extents(extent_root, block_group); in caching_thread() 552 free_excluded_extents(fs_info->extent_root, cache); in cache_block_group() 730 ret = btrfs_search_slot(NULL, root->fs_info->extent_root, &key, path, in btrfs_lookup_extent() 772 ret = btrfs_search_slot(trans, root->fs_info->extent_root, in btrfs_lookup_extent_info() 1919 ret = insert_inline_extent_backref(trans, root->fs_info->extent_root, in __btrfs_inc_extent_ref() [all …]
|
D | volumes.c | 1981 struct btrfs_root *extent_root; in btrfs_relocate_chunk() local 1989 extent_root = root->fs_info->extent_root; in btrfs_relocate_chunk() 1992 ret = btrfs_can_relocate(extent_root, chunk_offset); in btrfs_relocate_chunk() 1997 ret = btrfs_relocate_block_group(extent_root, chunk_offset); in btrfs_relocate_chunk() 2040 ret = btrfs_remove_block_group(trans, extent_root, chunk_offset); in btrfs_relocate_chunk() 3164 struct btrfs_root *extent_root, in __btrfs_alloc_chunk() argument 3169 struct btrfs_fs_info *info = extent_root->fs_info; in __btrfs_alloc_chunk() 3361 map->sector_size = extent_root->sectorsize; in __btrfs_alloc_chunk() 3387 em_tree = &extent_root->fs_info->mapping_tree.map_tree; in __btrfs_alloc_chunk() 3395 ret = btrfs_make_block_group(trans, extent_root, 0, type, in __btrfs_alloc_chunk() [all …]
|
D | backref.c | 502 struct btrfs_root *extent_root = fs_info->extent_root; in __add_keyed_refs() local 509 ret = btrfs_next_item(extent_root, path); in __add_keyed_refs() 619 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0); in find_parent_nodes() 969 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0); in extent_from_logical() 972 ret = btrfs_previous_item(fs_info->extent_root, path, in extent_from_logical() 1187 trans = btrfs_join_transaction(fs_info->extent_root); in iterate_extent_inodes() 1224 btrfs_end_transaction(trans, fs_info->extent_root); in iterate_extent_inodes()
|
D | disk-io.c | 1391 return fs_info->extent_root; in btrfs_read_fs_root_no_name() 1715 btrfs_set_backup_extent_root(root_backup, info->extent_root->node->start); in backup_super_roots() 1717 btrfs_header_generation(info->extent_root->node)); in backup_super_roots() 1719 btrfs_header_level(info->extent_root->node)); in backup_super_roots() 1821 free_extent_buffer(info->extent_root->node); in free_root_pointers() 1822 free_extent_buffer(info->extent_root->commit_root); in free_root_pointers() 1830 info->extent_root->node = NULL; in free_root_pointers() 1831 info->extent_root->commit_root = NULL; in free_root_pointers() 1860 struct btrfs_root *extent_root; in open_ctree() local 1871 extent_root = fs_info->extent_root = btrfs_alloc_root(fs_info); in open_ctree() [all …]
|
D | tree-defrag.c | 47 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves()
|
D | volumes.h | 253 struct btrfs_root *extent_root, u64 type);
|
D | reada.c | 703 ret = reada_tree_block_flagged(fs_info->extent_root, logical, blocksize, in reada_start_machine_dev() 706 __readahead_hook(fs_info->extent_root, NULL, logical, ret); in reada_start_machine_dev() 708 __readahead_hook(fs_info->extent_root, eb, eb->start, ret); in reada_start_machine_dev()
|
D | transaction.c | 152 WARN_ON(root == root->fs_info->extent_root); in record_root_in_trans() 723 if (root != root->fs_info->extent_root) in update_cowonly_root() 772 switch_commit_root(fs_info->extent_root); in commit_cowonly_roots()
|
D | ctree.h | 387 __le64 extent_root; member 1030 struct btrfs_root *extent_root; member 2188 extent_root, 64); 2732 kfree(fs_info->extent_root); in free_fs_info()
|
D | scrub.c | 762 fixup_nodatasum->root = fs_info->extent_root; in scrub_handle_errored_block() 1095 struct btrfs_root *root = fs_info->extent_root; in scrub_recheck_block_checksum() 1755 struct btrfs_root *root = fs_info->extent_root; in scrub_stripe()
|
D | ioctl.c | 504 trans = btrfs_start_transaction(root->fs_info->extent_root, 5); in create_snapshot() 520 root->fs_info->extent_root, 1); in create_snapshot() 523 root->fs_info->extent_root); in create_snapshot() 2094 ret = btrfs_defrag_root(root->fs_info->extent_root, 0); in btrfs_ioctl_defrag()
|
D | free-space-cache.c | 2612 ret = btrfs_error_discard_extent(fs_info->extent_root, in do_trimming()
|
D | tree-log.c | 279 log->fs_info->extent_root, in process_one_buffer()
|