Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Drelocation.c131 struct btrfs_root *extent_root; member
176 blocksize = rc->extent_root->fs_info->nodesize; in mark_block_processed()
418 iter = btrfs_backref_iter_alloc(rc->extent_root->fs_info); in build_backref_tree()
1628 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in merge_reloc_root()
1793 struct btrfs_root *root = rc->extent_root; in prepare_to_merge()
1815 trans = btrfs_join_transaction(rc->extent_root); in prepare_to_merge()
1930 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in merge_reloc_roots()
1937 root = rc->extent_root; in merge_reloc_roots()
2256 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in calcu_metadata_size()
2290 struct btrfs_root *root = rc->extent_root; in reserve_metadata_space()
[all …]
H A Dbackref.c1149 struct btrfs_root *extent_root, in add_keyed_refs() argument
1154 struct btrfs_fs_info *fs_info = extent_root->fs_info; in add_keyed_refs()
1161 ret = btrfs_next_item(extent_root, path); in add_keyed_refs()
2206 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, logical); in extent_from_logical() local
2222 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in extent_from_logical()
2226 ret = btrfs_previous_extent_item(extent_root, path, 0); in extent_from_logical()
2847 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, bytenr); in btrfs_backref_iter_start() local
2858 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in btrfs_backref_iter_start()
2901 ret = btrfs_next_item(extent_root, path); in btrfs_backref_iter_start()
2945 struct btrfs_root *extent_root; in btrfs_backref_iter_next() local
[all …]
H A Dref-verify.c983 struct btrfs_root *extent_root; in btrfs_build_ref_tree() local
997 extent_root = btrfs_extent_root(fs_info, 0); in btrfs_build_ref_tree()
998 eb = btrfs_read_lock_root_node(extent_root); in btrfs_build_ref_tree()
1011 ret = walk_down_tree(extent_root, path, level, in btrfs_build_ref_tree()
H A Dextent-tree.c105 struct btrfs_root *extent_root; in btrfs_lookup_extent_info() local
143 extent_root = btrfs_extent_root(fs_info, bytenr); in btrfs_lookup_extent_info()
144 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in btrfs_lookup_extent_info()
2328 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, bytenr); in check_committed_ref() local
2342 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in check_committed_ref()
2973 struct btrfs_root *extent_root; in __btrfs_free_extent() local
2988 extent_root = btrfs_extent_root(info, bytenr); in __btrfs_free_extent()
2989 ASSERT(extent_root); in __btrfs_free_extent()
3052 ret = remove_extent_backref(trans, extent_root, path, in __btrfs_free_extent()
3070 ret = btrfs_search_slot(trans, extent_root, in __btrfs_free_extent()
[all …]
H A Dscrub.c1372 static int find_first_extent_item(struct btrfs_root *extent_root, in find_first_extent_item() argument
1376 struct btrfs_fs_info *fs_info = extent_root->fs_info; in find_first_extent_item()
1391 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in find_first_extent_item()
1400 ret = btrfs_previous_extent_item(extent_root, path, 0); in find_first_extent_item()
1424 ret = btrfs_next_leaf(extent_root, path); in find_first_extent_item()
1530 struct btrfs_root *extent_root = btrfs_extent_root(fs_info, bg->start); in scrub_find_fill_first_stripe() local
1548 ret = find_first_extent_item(extent_root, extent_path, logical_start, in scrub_find_fill_first_stripe()
1582 ret = find_first_extent_item(extent_root, extent_path, cur_logical, in scrub_find_fill_first_stripe()
H A Dfree-space-tree.c1069 struct btrfs_root *extent_root; in populate_free_space_tree() local
1103 extent_root = btrfs_extent_root(trans->fs_info, key.objectid); in populate_free_space_tree()
1104 ret = btrfs_search_slot_for_read(extent_root, &key, path, 1, 0); in populate_free_space_tree()
1138 ret = btrfs_next_item(extent_root, path); in populate_free_space_tree()
H A Dblock-group.c586 struct btrfs_root *extent_root; in sample_block_group_extent_item() local
603 extent_root = btrfs_extent_root(fs_info, max_t(u64, block_group->start, in sample_block_group_extent_item()
615 btrfs_for_each_slot(extent_root, &search_key, found_key, path, ret) { in sample_block_group_extent_item()
706 struct btrfs_root *extent_root; in load_extent_tree_free() local
721 extent_root = btrfs_extent_root(fs_info, last); in load_extent_tree_free()
747 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in load_extent_tree_free()
763 ret = btrfs_find_next_key(extent_root, path, &key, 0, 0); in load_extent_tree_free()
778 ret = btrfs_next_leaf(extent_root, path); in load_extent_tree_free()
H A Ddisk-io.c1658 struct btrfs_root *extent_root = btrfs_extent_root(info, 0); in backup_super_roots() local
1662 extent_root->node->start); in backup_super_roots()
1664 btrfs_header_generation(extent_root->node)); in backup_super_roots()
1666 btrfs_header_level(extent_root->node)); in backup_super_roots()
H A Dqgroup.c3301 struct btrfs_root *extent_root; in qgroup_rescan_leaf() local
3310 extent_root = btrfs_extent_root(fs_info, in qgroup_rescan_leaf()
3312 ret = btrfs_search_slot_for_read(extent_root, in qgroup_rescan_leaf()
H A Daccessors.h755 extent_root, 64);
/openbmc/u-boot/fs/btrfs/
H A Dconv-funcs.h161 chunk_root_gen, extent_root, extent_root_gen, fs_root, fs_root_gen,
H A Dctree.h109 __u64 extent_root; member
/openbmc/linux/include/uapi/linux/
H A Dbtrfs_tree.h495 __le64 extent_root; member