Lines Matching refs:found_key
936 struct btrfs_key *found_key, int resolve, in iterate_inode_ref() argument
968 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
982 if (found_key->type == BTRFS_INODE_REF_KEY) { in iterate_inode_ref()
987 dir = found_key->offset; in iterate_inode_ref()
1184 struct btrfs_key key, found_key; in get_inode_path() local
1204 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1205 if (found_key.objectid != ino || in get_inode_path()
1206 (found_key.type != BTRFS_INODE_REF_KEY && in get_inode_path()
1207 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_inode_path()
1212 ret = iterate_inode_ref(root, p, &found_key, 1, in get_inode_path()
1357 struct btrfs_key found_key; in find_extent_clone() local
1399 &found_key, &flags); in find_extent_clone()
1453 extent_item_pos = logical - found_key.objectid; in find_extent_clone()
1456 ret = iterate_extent_inodes(fs_info, found_key.objectid, in find_extent_clone()
1488 ino, data_offset, disk_byte, found_key.objectid); in find_extent_clone()
1787 struct btrfs_key found_key; in get_first_ref() local
1804 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
1806 if (ret || found_key.objectid != ino || in get_first_ref()
1807 (found_key.type != BTRFS_INODE_REF_KEY && in get_first_ref()
1808 found_key.type != BTRFS_INODE_EXTREF_KEY)) { in get_first_ref()
1813 if (found_key.type == BTRFS_INODE_REF_KEY) { in get_first_ref()
1821 parent_dir = found_key.offset; in get_first_ref()
2751 struct btrfs_key found_key; in did_create_dir() local
2763 btrfs_for_each_slot(sctx->send_root, &key, &found_key, path, iter_ret) { in did_create_dir()
2766 if (found_key.objectid != key.objectid || in did_create_dir()
2767 found_key.type != key.type) { in did_create_dir()
2992 struct btrfs_key found_key; in can_rmdir() local
3015 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in can_rmdir()
3018 if (found_key.objectid != key.objectid || in can_rmdir()
3019 found_key.type != key.type) in can_rmdir()
3034 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
3048 odi->last_dir_index_offset = found_key.offset; in can_rmdir()
4565 struct btrfs_key found_key; in process_all_refs() local
4589 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in process_all_refs()
4590 if (found_key.objectid != key.objectid || in process_all_refs()
4591 (found_key.type != BTRFS_INODE_REF_KEY && in process_all_refs()
4592 found_key.type != BTRFS_INODE_EXTREF_KEY)) in process_all_refs()
4595 ret = iterate_inode_ref(root, path, &found_key, 0, cb, sctx); in process_all_refs()
4869 struct btrfs_key found_key; in process_all_new_xattrs() local
4880 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in process_all_new_xattrs()
4881 if (found_key.objectid != key.objectid || in process_all_new_xattrs()
4882 found_key.type != key.type) { in process_all_new_xattrs()
5929 struct btrfs_key found_key; in is_extent_unchanged() local
5998 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
5999 if (found_key.objectid != key.objectid || in is_extent_unchanged()
6000 found_key.type != key.type) { in is_extent_unchanged()
6009 key = found_key; in is_extent_unchanged()
6030 if (found_key.offset + right_len <= ekey->offset) { in is_extent_unchanged()
6081 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged()
6083 if (ret || found_key.objectid != key.objectid || in is_extent_unchanged()
6084 found_key.type != key.type) { in is_extent_unchanged()
6088 if (found_key.offset != key.offset + right_len) { in is_extent_unchanged()
6092 key = found_key; in is_extent_unchanged()
6316 struct btrfs_key found_key; in process_all_extents() local
6326 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in process_all_extents()
6327 if (found_key.objectid != key.objectid || in process_all_extents()
6328 found_key.type != key.type) { in process_all_extents()
6333 ret = process_extent(sctx, path, &found_key); in process_all_extents()