Lines Matching refs:found_key
884 struct btrfs_key *found_key, int resolve, in iterate_inode_ref() argument
917 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
932 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
937 dir = found_key->offset; in iterate_inode_ref()
1138 struct btrfs_key key, found_key; in get_inode_path() local
1158 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1159 if (found_key.objectid != ino || in get_inode_path()
1160 (found_key.type != BTRFS_INODE_REF_KEY && in get_inode_path()
1161 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_inode_path()
1166 ret = iterate_inode_ref(root, p, &found_key, 1, in get_inode_path()
1314 struct btrfs_key found_key; in find_extent_clone() local
1362 &found_key, &flags); in find_extent_clone()
1429 extent_item_pos = logical - found_key.objectid; in find_extent_clone()
1432 ret = iterate_extent_inodes(fs_info, found_key.objectid, in find_extent_clone()
1444 ino, data_offset, disk_byte, found_key.objectid); in find_extent_clone()
1745 struct btrfs_key found_key; in get_first_ref() local
1762 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
1764 if (ret || found_key.objectid != ino || in get_first_ref()
1765 (found_key.type != BTRFS_INODE_REF_KEY && in get_first_ref()
1766 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_first_ref()
1771 if (found_key.type == BTRFS_INODE_REF_KEY) { in get_first_ref()
1779 parent_dir = found_key.offset; in get_first_ref()
2679 struct btrfs_key found_key; in did_create_dir() local
2712 btrfs_item_key_to_cpu(eb, &found_key, slot); in did_create_dir()
2713 if (found_key.objectid != key.objectid || in did_create_dir()
2714 found_key.type != key.type) { in did_create_dir()
2938 struct btrfs_key found_key; in can_rmdir() local
2976 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in can_rmdir()
2978 if (found_key.objectid != key.objectid || in can_rmdir()
2979 found_key.type != key.type) in can_rmdir()
2994 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
3007 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
4541 struct btrfs_key found_key; in process_all_refs() local
4583 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_refs()
4585 if (found_key.objectid != key.objectid || in process_all_refs()
4586 (found_key.type != BTRFS_INODE_REF_KEY && in process_all_refs()
4587 found_key.type != BTRFS_INODE_EXTREF_KEY)) in process_all_refs()
4590 ret = iterate_inode_ref(root, path, &found_key, 0, cb, sctx); in process_all_refs()
4864 struct btrfs_key found_key; in process_all_new_xattrs() local
4895 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_new_xattrs()
4896 if (found_key.objectid != key.objectid || in process_all_new_xattrs()
4897 found_key.type != key.type) { in process_all_new_xattrs()
5557 struct btrfs_key found_key; in is_extent_unchanged() local
5626 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5627 if (found_key.objectid != key.objectid || in is_extent_unchanged()
5628 found_key.type != key.type) { in is_extent_unchanged()
5637 key = found_key; in is_extent_unchanged()
5658 if (found_key.offset + right_len <= ekey->offset) { in is_extent_unchanged()
5709 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5711 if (ret || found_key.objectid != key.objectid || in is_extent_unchanged()
5712 found_key.type != key.type) { in is_extent_unchanged()
5716 if (found_key.offset != key.offset + right_len) { in is_extent_unchanged()
5720 key = found_key; in is_extent_unchanged()
5943 struct btrfs_key found_key; in process_all_extents() local
5974 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_extents()
5976 if (found_key.objectid != key.objectid || in process_all_extents()
5977 found_key.type != key.type) { in process_all_extents()
5982 ret = process_extent(sctx, path, &found_key); in process_all_extents()