Lines Matching defs:found_key
1829 struct btrfs_key found_key;
1848 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
1851 BUG_ON(found_key.offset > start || found_key.offset +
1853 key = found_key;
1895 struct btrfs_key found_key;
1922 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
1924 *devid_ret = found_key.offset + 1;
3481 struct btrfs_key found_key;
3525 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
3533 ret = btrfs_relocate_chunk(fs_info, found_key.offset,
3542 if (found_key.offset == 0)
3544 key.offset = found_key.offset - 1;
4056 struct btrfs_key found_key;
4126 btrfs_item_key_to_cpu(leaf, &found_key, slot);
4128 if (found_key.objectid != key.objectid) {
4142 ret = should_balance_chunk(leaf, chunk, found_key.offset);
4188 found_key.offset);
4197 ret = btrfs_relocate_chunk(fs_info, found_key.offset, true);
4204 found_key.offset);
4214 if (found_key.offset == 0)
4216 key.offset = found_key.offset - 1;
7411 struct btrfs_key found_key;
7458 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) {
7470 if (found_key.type == BTRFS_DEV_ITEM_KEY) {
7478 } else if (found_key.type == BTRFS_CHUNK_ITEM_KEY) {
7490 ret = read_one_chunk(&found_key, leaf, chunk);