• Home
  • Raw
  • Download

Lines Matching refs:found_key

1757 	struct btrfs_key found_key;  in btrfs_free_dev_extent()  local
1776 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_free_dev_extent()
1779 BUG_ON(found_key.offset > start || found_key.offset + in btrfs_free_dev_extent()
1781 key = found_key; in btrfs_free_dev_extent()
1826 struct btrfs_key found_key; in find_next_devid() local
1854 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in find_next_devid()
1856 *devid_ret = found_key.offset + 1; in find_next_devid()
3362 struct btrfs_key found_key; in btrfs_relocate_sys_chunks() local
3396 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_relocate_sys_chunks()
3404 ret = btrfs_relocate_chunk(fs_info, found_key.offset); in btrfs_relocate_sys_chunks()
3412 if (found_key.offset == 0) in btrfs_relocate_sys_chunks()
3414 key.offset = found_key.offset - 1; in btrfs_relocate_sys_chunks()
3901 struct btrfs_key found_key; in __btrfs_balance() local
3971 btrfs_item_key_to_cpu(leaf, &found_key, slot); in __btrfs_balance()
3973 if (found_key.objectid != key.objectid) { in __btrfs_balance()
3987 ret = should_balance_chunk(leaf, chunk, found_key.offset); in __btrfs_balance()
4033 found_key.offset); in __btrfs_balance()
4042 ret = btrfs_relocate_chunk(fs_info, found_key.offset); in __btrfs_balance()
4049 found_key.offset); in __btrfs_balance()
4059 if (found_key.offset == 0) in __btrfs_balance()
4061 key.offset = found_key.offset - 1; in __btrfs_balance()
7688 struct btrfs_key found_key; in btrfs_read_chunk_tree() local
7735 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in btrfs_read_chunk_tree()
7747 if (found_key.type == BTRFS_DEV_ITEM_KEY) { in btrfs_read_chunk_tree()
7755 } else if (found_key.type == BTRFS_CHUNK_ITEM_KEY) { in btrfs_read_chunk_tree()
7767 ret = read_one_chunk(&found_key, leaf, chunk); in btrfs_read_chunk_tree()