Lines Matching defs:found_key
1725 struct btrfs_key found_key;
1744 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
1747 BUG_ON(found_key.offset > start || found_key.offset +
1749 key = found_key;
1841 struct btrfs_key found_key;
1869 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
1871 *devid_ret = found_key.offset + 1;
3159 struct btrfs_key found_key;
3193 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
3201 ret = btrfs_relocate_chunk(fs_info, found_key.offset);
3209 if (found_key.offset == 0)
3211 key.offset = found_key.offset - 1;
3701 struct btrfs_key found_key;
3771 btrfs_item_key_to_cpu(leaf, &found_key, slot);
3773 if (found_key.objectid != key.objectid) {
3787 ret = should_balance_chunk(leaf, chunk, found_key.offset);
3833 found_key.offset);
3842 ret = btrfs_relocate_chunk(fs_info, found_key.offset);
3849 found_key.offset);
3859 if (found_key.offset == 0)
3861 key.offset = found_key.offset - 1;
7173 struct btrfs_key found_key;
7233 btrfs_item_key_to_cpu(leaf, &found_key, slot);
7234 if (found_key.type == BTRFS_DEV_ITEM_KEY) {
7242 } else if (found_key.type == BTRFS_CHUNK_ITEM_KEY) {
7246 ret = read_one_chunk(&found_key, leaf, chunk);