Home
last modified time | relevance | path

Searched refs:extent_root (Results 1 – 10 of 10) sorted by relevance

/fs/btrfs/
Drelocation.c122 struct btrfs_root *extent_root; member
167 blocksize = rc->extent_root->fs_info->nodesize; in mark_block_processed()
473 iter = btrfs_backref_iter_alloc(rc->extent_root->fs_info, GFP_NOFS); in build_backref_tree()
1681 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in merge_reloc_root()
1846 struct btrfs_root *root = rc->extent_root; in prepare_to_merge()
1868 trans = btrfs_join_transaction(rc->extent_root); in prepare_to_merge()
1983 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in merge_reloc_roots()
1990 root = rc->extent_root; in merge_reloc_roots()
2309 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in calcu_metadata_size()
2343 struct btrfs_root *root = rc->extent_root; in reserve_metadata_space()
[all …]
Dbackref.c1089 static int add_keyed_refs(struct btrfs_root *extent_root, in add_keyed_refs() argument
1094 struct btrfs_fs_info *fs_info = extent_root->fs_info; in add_keyed_refs()
1101 ret = btrfs_next_item(extent_root, path); in add_keyed_refs()
1960 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, logical); in extent_from_logical() local
1976 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in extent_from_logical()
1980 ret = btrfs_previous_extent_item(extent_root, path, 0); in extent_from_logical()
2559 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, bytenr); in btrfs_backref_iter_start() local
2570 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in btrfs_backref_iter_start()
2613 ret = btrfs_next_item(extent_root, path); in btrfs_backref_iter_start()
2657 struct btrfs_root *extent_root; in btrfs_backref_iter_next() local
[all …]
Dextent-tree.c120 struct btrfs_root *extent_root; in btrfs_lookup_extent_info() local
158 extent_root = btrfs_extent_root(fs_info, bytenr); in btrfs_lookup_extent_info()
159 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in btrfs_lookup_extent_info()
2294 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, bytenr); in check_committed_ref() local
2308 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in check_committed_ref()
2932 struct btrfs_root *extent_root; in __btrfs_free_extent() local
2947 extent_root = btrfs_extent_root(info, bytenr); in __btrfs_free_extent()
2948 ASSERT(extent_root); in __btrfs_free_extent()
3010 ret = remove_extent_backref(trans, extent_root, path, in __btrfs_free_extent()
3028 ret = btrfs_search_slot(trans, extent_root, in __btrfs_free_extent()
[all …]
Dref-verify.c979 struct btrfs_root *extent_root; in btrfs_build_ref_tree() local
993 extent_root = btrfs_extent_root(fs_info, 0); in btrfs_build_ref_tree()
994 eb = btrfs_read_lock_root_node(extent_root); in btrfs_build_ref_tree()
1007 ret = walk_down_tree(extent_root, path, level, in btrfs_build_ref_tree()
Dscrub.c3081 static int find_first_extent_item(struct btrfs_root *extent_root, in find_first_extent_item() argument
3085 struct btrfs_fs_info *fs_info = extent_root->fs_info; in find_first_extent_item()
3100 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in find_first_extent_item()
3109 ret = btrfs_previous_extent_item(extent_root, path, 0); in find_first_extent_item()
3133 ret = btrfs_next_leaf(extent_root, path); in find_first_extent_item()
3181 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, logical); in scrub_raid56_data_stripe_for_parity() local
3202 ret = find_first_extent_item(extent_root, path, cur_logical, in scrub_raid56_data_stripe_for_parity()
3396 struct btrfs_root *extent_root, in scrub_simple_mirror() argument
3453 ret = find_first_extent_item(extent_root, &path, cur_logical, in scrub_simple_mirror()
3553 struct btrfs_root *extent_root, in scrub_simple_stripe() argument
[all …]
Dfree-space-tree.c1063 struct btrfs_root *extent_root; in populate_free_space_tree() local
1097 extent_root = btrfs_extent_root(trans->fs_info, key.objectid); in populate_free_space_tree()
1098 ret = btrfs_search_slot_for_read(extent_root, &key, path, 1, 0); in populate_free_space_tree()
1132 ret = btrfs_next_item(extent_root, path); in populate_free_space_tree()
Dblock-group.c558 struct btrfs_root *extent_root; in load_extent_tree_free() local
573 extent_root = btrfs_extent_root(fs_info, last); in load_extent_tree_free()
599 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in load_extent_tree_free()
615 ret = btrfs_find_next_key(extent_root, path, &key, 0, 0); in load_extent_tree_free()
630 ret = btrfs_next_leaf(extent_root, path); in load_extent_tree_free()
Ddisk-io.c2006 struct btrfs_root *extent_root = btrfs_extent_root(info, 0); in backup_super_roots() local
2010 extent_root->node->start); in backup_super_roots()
2012 btrfs_header_generation(extent_root->node)); in backup_super_roots()
2014 btrfs_header_level(extent_root->node)); in backup_super_roots()
Dqgroup.c3288 struct btrfs_root *extent_root; in qgroup_rescan_leaf() local
3298 extent_root = btrfs_extent_root(fs_info, in qgroup_rescan_leaf()
3300 ret = btrfs_search_slot_for_read(extent_root, in qgroup_rescan_leaf()
Dctree.h198 __le64 extent_root; member
2483 extent_root, 64);