Lines Matching refs:extent_key
3358 int relocate_data_extent(struct inode *inode, struct btrfs_key *extent_key, in relocate_data_extent() argument
3363 if (cluster->nr > 0 && extent_key->objectid != cluster->end + 1) { in relocate_data_extent()
3371 cluster->start = extent_key->objectid; in relocate_data_extent()
3374 cluster->end = extent_key->objectid + extent_key->offset - 1; in relocate_data_extent()
3375 cluster->boundary[cluster->nr] = extent_key->objectid; in relocate_data_extent()
3392 struct btrfs_key *extent_key, in add_tree_block() argument
3408 if (extent_key->type == BTRFS_METADATA_ITEM_KEY || in add_tree_block()
3412 if (extent_key->type == BTRFS_EXTENT_ITEM_KEY) { in add_tree_block()
3416 level = (int)extent_key->offset; in add_tree_block()
3435 block->bytenr = extent_key->objectid; in add_tree_block()
3593 struct btrfs_key *extent_key, in find_data_references() argument
3716 extent_key->objectid) in find_data_references()
3762 struct btrfs_key *extent_key, in add_data_references() argument
3791 ret = find_data_references(rc, extent_key, in add_data_references()
3822 if (key.objectid != extent_key->objectid) in add_data_references()
3831 ret = find_data_references(rc, extent_key, in add_data_references()
3858 struct btrfs_key *extent_key) in find_next_extent() argument
3931 memcpy(extent_key, &key, sizeof(key)); in find_next_extent()