Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Drelocation.c3101 int relocate_data_extent(struct inode *inode, struct btrfs_key *extent_key, in relocate_data_extent() argument
3106 if (cluster->nr > 0 && extent_key->objectid != cluster->end + 1) { in relocate_data_extent()
3114 cluster->start = extent_key->objectid; in relocate_data_extent()
3117 cluster->end = extent_key->objectid + extent_key->offset - 1; in relocate_data_extent()
3118 cluster->boundary[cluster->nr] = extent_key->objectid; in relocate_data_extent()
3135 struct btrfs_key *extent_key, in add_tree_block() argument
3152 if (extent_key->type == BTRFS_METADATA_ITEM_KEY || in add_tree_block()
3159 if (extent_key->type == BTRFS_EXTENT_ITEM_KEY) { in add_tree_block()
3164 level = (int)extent_key->offset; in add_tree_block()
3215 block->bytenr = extent_key->objectid; in add_tree_block()
[all …]
Dextent-tree.c4727 struct btrfs_key extent_key; in alloc_reserved_tree_block() local
4739 extent_key.objectid = node->bytenr; in alloc_reserved_tree_block()
4741 extent_key.offset = ref->level; in alloc_reserved_tree_block()
4742 extent_key.type = BTRFS_METADATA_ITEM_KEY; in alloc_reserved_tree_block()
4744 extent_key.offset = node->num_bytes; in alloc_reserved_tree_block()
4745 extent_key.type = BTRFS_EXTENT_ITEM_KEY; in alloc_reserved_tree_block()
4753 extent_root = btrfs_extent_root(fs_info, extent_key.objectid); in alloc_reserved_tree_block()
4754 ret = btrfs_insert_empty_item(trans, extent_root, path, &extent_key, in alloc_reserved_tree_block()