Lines Matching defs:found_key
1738 struct btrfs_key found_key;
1757 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
1760 BUG_ON(found_key.offset > start || found_key.offset +
1762 key = found_key;
1807 struct btrfs_key found_key;
1835 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
1837 *devid_ret = found_key.offset + 1;
3333 struct btrfs_key found_key;
3367 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]);
3375 ret = btrfs_relocate_chunk(fs_info, found_key.offset);
3383 if (found_key.offset == 0)
3385 key.offset = found_key.offset - 1;
3870 struct btrfs_key found_key;
3940 btrfs_item_key_to_cpu(leaf, &found_key, slot);
3942 if (found_key.objectid != key.objectid) {
3956 ret = should_balance_chunk(leaf, chunk, found_key.offset);
4002 found_key.offset);
4011 ret = btrfs_relocate_chunk(fs_info, found_key.offset);
4018 found_key.offset);
4028 if (found_key.offset == 0)
4030 key.offset = found_key.offset - 1;
7236 struct btrfs_key found_key;
7283 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) {
7295 if (found_key.type == BTRFS_DEV_ITEM_KEY) {
7303 } else if (found_key.type == BTRFS_CHUNK_ITEM_KEY) {
7315 ret = read_one_chunk(&found_key, leaf, chunk);