Home
last modified time | relevance | path

Searched refs:extent_key (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/fs/btrfs/
Drelocation.c3127 int relocate_data_extent(struct inode *inode, struct btrfs_key *extent_key, in relocate_data_extent() argument
3132 if (cluster->nr > 0 && extent_key->objectid != cluster->end + 1) { in relocate_data_extent()
3140 cluster->start = extent_key->objectid; in relocate_data_extent()
3143 cluster->end = extent_key->objectid + extent_key->offset - 1; in relocate_data_extent()
3144 cluster->boundary[cluster->nr] = extent_key->objectid; in relocate_data_extent()
3161 struct btrfs_key *extent_key, in add_tree_block() argument
3178 if (extent_key->type == BTRFS_METADATA_ITEM_KEY || in add_tree_block()
3185 if (extent_key->type == BTRFS_EXTENT_ITEM_KEY) { in add_tree_block()
3190 level = (int)extent_key->offset; in add_tree_block()
3241 block->bytenr = extent_key->objectid; in add_tree_block()
[all …]
Dextent-tree.c4563 struct btrfs_key extent_key; in alloc_reserved_tree_block() local
4576 extent_key.objectid = node->bytenr; in alloc_reserved_tree_block()
4578 extent_key.offset = ref->level; in alloc_reserved_tree_block()
4579 extent_key.type = BTRFS_METADATA_ITEM_KEY; in alloc_reserved_tree_block()
4582 extent_key.offset = node->num_bytes; in alloc_reserved_tree_block()
4583 extent_key.type = BTRFS_EXTENT_ITEM_KEY; in alloc_reserved_tree_block()
4593 &extent_key, size); in alloc_reserved_tree_block()
4629 ret = remove_from_free_space_tree(trans, extent_key.objectid, in alloc_reserved_tree_block()
4634 ret = btrfs_update_block_group(trans, extent_key.objectid, in alloc_reserved_tree_block()
4638 extent_key.objectid, extent_key.offset); in alloc_reserved_tree_block()
[all …]