Lines Matching refs:extent_key
3267 int relocate_data_extent(struct inode *inode, struct btrfs_key *extent_key, in relocate_data_extent() argument
3272 if (cluster->nr > 0 && extent_key->objectid != cluster->end + 1) { in relocate_data_extent()
3280 cluster->start = extent_key->objectid; in relocate_data_extent()
3283 cluster->end = extent_key->objectid + extent_key->offset - 1; in relocate_data_extent()
3284 cluster->boundary[cluster->nr] = extent_key->objectid; in relocate_data_extent()
3301 struct btrfs_key *extent_key, in add_tree_block() argument
3317 if (extent_key->type == BTRFS_METADATA_ITEM_KEY || in add_tree_block()
3321 if (extent_key->type == BTRFS_EXTENT_ITEM_KEY) { in add_tree_block()
3325 level = (int)extent_key->offset; in add_tree_block()
3344 block->bytenr = extent_key->objectid; in add_tree_block()
3502 struct btrfs_key *extent_key, in find_data_references() argument
3625 extent_key->objectid) in find_data_references()
3671 struct btrfs_key *extent_key, in add_data_references() argument
3700 ret = find_data_references(rc, extent_key, in add_data_references()
3731 if (key.objectid != extent_key->objectid) in add_data_references()
3740 ret = find_data_references(rc, extent_key, in add_data_references()
3767 struct btrfs_key *extent_key) in find_next_extent() argument
3840 memcpy(extent_key, &key, sizeof(key)); in find_next_extent()