Lines Matching refs:found_key
867 struct btrfs_key *found_key, int resolve, in iterate_inode_ref() argument
900 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
915 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
920 dir = found_key->offset; in iterate_inode_ref()
1121 struct btrfs_key key, found_key; in get_inode_path() local
1141 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1142 if (found_key.objectid != ino || in get_inode_path()
1143 (found_key.type != BTRFS_INODE_REF_KEY && in get_inode_path()
1144 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_inode_path()
1149 ret = iterate_inode_ref(root, p, &found_key, 1, in get_inode_path()
1304 struct btrfs_key found_key; in find_extent_clone() local
1353 &found_key, &flags); in find_extent_clone()
1406 extent_item_pos = logical - found_key.objectid; in find_extent_clone()
1409 ret = iterate_extent_inodes(fs_info, found_key.objectid, in find_extent_clone()
1421 ino, data_offset, disk_byte, found_key.objectid); in find_extent_clone()
1726 struct btrfs_key found_key; in get_first_ref() local
1743 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
1745 if (ret || found_key.objectid != ino || in get_first_ref()
1746 (found_key.type != BTRFS_INODE_REF_KEY && in get_first_ref()
1747 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_first_ref()
1752 if (found_key.type == BTRFS_INODE_REF_KEY) { in get_first_ref()
1760 parent_dir = found_key.offset; in get_first_ref()
2660 struct btrfs_key found_key; in did_create_dir() local
2693 btrfs_item_key_to_cpu(eb, &found_key, slot); in did_create_dir()
2694 if (found_key.objectid != key.objectid || in did_create_dir()
2695 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()
2988 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
4398 struct btrfs_key found_key; in process_all_refs() local
4440 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_refs()
4442 if (found_key.objectid != key.objectid || in process_all_refs()
4443 (found_key.type != BTRFS_INODE_REF_KEY && in process_all_refs()
4444 found_key.type != BTRFS_INODE_EXTREF_KEY)) in process_all_refs()
4447 ret = iterate_inode_ref(root, path, &found_key, 0, cb, sctx); in process_all_refs()
4717 struct btrfs_key found_key; in process_all_new_xattrs() local
4748 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_new_xattrs()
4749 if (found_key.objectid != key.objectid || in process_all_new_xattrs()
4750 found_key.type != key.type) { in process_all_new_xattrs()
5296 struct btrfs_key found_key; in is_extent_unchanged() local
5365 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5366 if (found_key.objectid != key.objectid || in is_extent_unchanged()
5367 found_key.type != key.type) { in is_extent_unchanged()
5376 key = found_key; in is_extent_unchanged()
5397 if (found_key.offset + right_len <= ekey->offset) { in is_extent_unchanged()
5448 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5450 if (ret || found_key.objectid != key.objectid || in is_extent_unchanged()
5451 found_key.type != key.type) { in is_extent_unchanged()
5455 if (found_key.offset != key.offset + right_len) { in is_extent_unchanged()
5459 key = found_key; in is_extent_unchanged()
5720 struct btrfs_key found_key; in process_all_extents() local
5751 btrfs_item_key_to_cpu(eb, &found_key, slot); in process_all_extents()
5753 if (found_key.objectid != key.objectid || in process_all_extents()
5754 found_key.type != key.type) { in process_all_extents()
5759 ret = process_extent(sctx, path, &found_key); in process_all_extents()