Lines Matching refs:found_key

1787 	struct btrfs_key found_key;
1789 btrfs_dir_item_key_to_cpu(path->nodes[0], dst_di, &found_key);
1791 if (found_key.objectid == log_key->objectid &&
1792 found_key.type == log_key->type &&
1793 found_key.offset == log_key->offset &&
2292 struct btrfs_key found_key;
2342 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
2344 if (found_key.objectid != dirid ||
2345 found_key.type != dir_key.type) {
2350 if (found_key.offset > range_end)
2355 &found_key);
2358 if (found_key.offset == (u64)-1)
2360 dir_key.offset = found_key.offset + 1;
4050 struct btrfs_key found_key;
4067 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
4070 if (found_key.objectid != key.objectid)
4073 found_key.offset = 0;
4074 found_key.type = 0;
4075 ret = btrfs_bin_search(path->nodes[0], 0, &found_key, &start_slot);
5401 struct btrfs_key found_key;
5411 btrfs_for_each_slot(root->log_root, &key, &found_key, path, iter_ret) {
5419 if (found_key.objectid != ino ||
5420 found_key.type != BTRFS_DIR_INDEX_KEY) {
5425 next_index = found_key.offset + 1;
5475 key = found_key;
6789 struct btrfs_key found_key;
6791 btrfs_item_key_to_cpu(path->nodes[0], &found_key, path->slots[0]);
6804 ino = found_key.offset;
6806 search_key.objectid = found_key.offset;
6841 btrfs_item_key_to_cpu(leaf, &found_key, slot);
6842 if (found_key.objectid != search_key.objectid ||
6843 found_key.type != BTRFS_INODE_REF_KEY)
6922 struct btrfs_key found_key;
6933 btrfs_item_key_to_cpu(leaf, &found_key, slot);
6934 if (found_key.objectid != ino ||
6935 found_key.type > BTRFS_INODE_EXTREF_KEY)
6945 if (found_key.type == BTRFS_INODE_EXTREF_KEY) {
6956 memcpy(&search_key, &found_key, sizeof(search_key));
7131 struct btrfs_key found_key;
7177 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
7180 if (found_key.objectid != BTRFS_TREE_LOG_OBJECTID)
7183 log = btrfs_read_tree_root(log_root_tree, &found_key);
7190 wc.replay_dest = btrfs_get_fs_root(fs_info, found_key.offset,
7258 if (found_key.offset == 0)
7260 key.offset = found_key.offset - 1;