Lines Matching refs:found_key

1722 	struct btrfs_key found_key;  in btrfs_free_dev_extent()  local
1741 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_free_dev_extent()
1744 BUG_ON(found_key.offset > start || found_key.offset + in btrfs_free_dev_extent()
1746 key = found_key; in btrfs_free_dev_extent()
1791 struct btrfs_key found_key; in find_next_devid() local
1819 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in find_next_devid()
1821 *devid_ret = found_key.offset + 1; in find_next_devid()
3319 struct btrfs_key found_key; in btrfs_relocate_sys_chunks() local
3353 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_relocate_sys_chunks()
3361 ret = btrfs_relocate_chunk(fs_info, found_key.offset); in btrfs_relocate_sys_chunks()
3369 if (found_key.offset == 0) in btrfs_relocate_sys_chunks()
3371 key.offset = found_key.offset - 1; in btrfs_relocate_sys_chunks()
3858 struct btrfs_key found_key; in __btrfs_balance() local
3928 btrfs_item_key_to_cpu(leaf, &found_key, slot); in __btrfs_balance()
3930 if (found_key.objectid != key.objectid) { in __btrfs_balance()
3944 ret = should_balance_chunk(leaf, chunk, found_key.offset); in __btrfs_balance()
3990 found_key.offset); in __btrfs_balance()
3999 ret = btrfs_relocate_chunk(fs_info, found_key.offset); in __btrfs_balance()
4006 found_key.offset); in __btrfs_balance()
4016 if (found_key.offset == 0) in __btrfs_balance()
4018 key.offset = found_key.offset - 1; in __btrfs_balance()
7650 struct btrfs_key found_key; in btrfs_read_chunk_tree() local
7697 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in btrfs_read_chunk_tree()
7709 if (found_key.type == BTRFS_DEV_ITEM_KEY) { in btrfs_read_chunk_tree()
7717 } else if (found_key.type == BTRFS_CHUNK_ITEM_KEY) { in btrfs_read_chunk_tree()
7729 ret = read_one_chunk(&found_key, leaf, chunk); in btrfs_read_chunk_tree()