Lines Matching refs:found_key

885 			     struct btrfs_key *found_key, int resolve,  in iterate_inode_ref()  argument
918 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
933 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
938 dir = found_key->offset; in iterate_inode_ref()
1139 struct btrfs_key key, found_key; in get_inode_path() local
1159 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1160 if (found_key.objectid != ino || in get_inode_path()
1161 (found_key.type != BTRFS_INODE_REF_KEY && in get_inode_path()
1162 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_inode_path()
1167 ret = iterate_inode_ref(root, p, &found_key, 1, in get_inode_path()
1312 struct btrfs_key found_key; in find_extent_clone() local
1354 &found_key, &flags); in find_extent_clone()
1408 extent_item_pos = logical - found_key.objectid; in find_extent_clone()
1411 ret = iterate_extent_inodes(fs_info, found_key.objectid, in find_extent_clone()
1423 ino, data_offset, disk_byte, found_key.objectid); in find_extent_clone()
1723 struct btrfs_key found_key; in get_first_ref() local
1740 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
1742 if (ret || found_key.objectid != ino || in get_first_ref()
1743 (found_key.type != BTRFS_INODE_REF_KEY && in get_first_ref()
1744 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_first_ref()
1749 if (found_key.type == BTRFS_INODE_REF_KEY) { in get_first_ref()
1757 parent_dir = found_key.offset; in get_first_ref()
2653 struct btrfs_key found_key; in did_create_dir() local
2686 btrfs_item_key_to_cpu(eb, &found_key, slot); in did_create_dir()
2687 if (found_key.objectid != key.objectid || in did_create_dir()
2688 found_key.type != key.type) { in did_create_dir()
2919 struct btrfs_key found_key; in can_rmdir() local
2957 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in can_rmdir()
2959 if (found_key.objectid != key.objectid || in can_rmdir()
2960 found_key.type != key.type) in can_rmdir()
2975 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
2989 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
4538 struct btrfs_key found_key; in process_all_refs() local
4580 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_refs()
4582 if (found_key.objectid != key.objectid || in process_all_refs()
4583 (found_key.type != BTRFS_INODE_REF_KEY && in process_all_refs()
4584 found_key.type != BTRFS_INODE_EXTREF_KEY)) in process_all_refs()
4587 ret = iterate_inode_ref(root, path, &found_key, 0, cb, sctx); in process_all_refs()
4861 struct btrfs_key found_key; in process_all_new_xattrs() local
4892 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_new_xattrs()
4893 if (found_key.objectid != key.objectid || in process_all_new_xattrs()
4894 found_key.type != key.type) { in process_all_new_xattrs()
5566 struct btrfs_key found_key; in is_extent_unchanged() local
5635 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5636 if (found_key.objectid != key.objectid || in is_extent_unchanged()
5637 found_key.type != key.type) { in is_extent_unchanged()
5646 key = found_key; in is_extent_unchanged()
5667 if (found_key.offset + right_len <= ekey->offset) { in is_extent_unchanged()
5718 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5720 if (ret || found_key.objectid != key.objectid || in is_extent_unchanged()
5721 found_key.type != key.type) { in is_extent_unchanged()
5725 if (found_key.offset != key.offset + right_len) { in is_extent_unchanged()
5729 key = found_key; in is_extent_unchanged()
5952 struct btrfs_key found_key; in process_all_extents() local
5983 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_extents()
5985 if (found_key.objectid != key.objectid || in process_all_extents()
5986 found_key.type != key.type) { in process_all_extents()
5991 ret = process_extent(sctx, path, &found_key); in process_all_extents()