Lines Matching refs:found_key
1014 struct btrfs_key found_key; in add_inline_refs() local
1037 btrfs_item_key_to_cpu(leaf, &found_key, slot); in add_inline_refs()
1042 if (found_key.type == BTRFS_EXTENT_ITEM_KEY && in add_inline_refs()
1050 } else if (found_key.type == BTRFS_METADATA_ITEM_KEY) { in add_inline_refs()
1051 *info_level = found_key.offset; in add_inline_refs()
2056 struct btrfs_key found_key; in btrfs_find_one_extref() local
2091 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_find_one_extref()
2100 if (found_key.objectid != inode_objectid) in btrfs_find_one_extref()
2102 if (found_key.type != BTRFS_INODE_EXTREF_KEY) in btrfs_find_one_extref()
2110 *found_off = found_key.offset; in btrfs_find_one_extref()
2141 struct btrfs_key found_key; in btrfs_ref_to_path() local
2158 BTRFS_INODE_REF_KEY, &found_key); in btrfs_ref_to_path()
2164 next_inum = found_key.offset; in btrfs_ref_to_path()
2203 struct btrfs_path *path, struct btrfs_key *found_key, in extent_from_logical() argument
2245 btrfs_item_key_to_cpu(path->nodes[0], found_key, path->slots[0]); in extent_from_logical()
2246 if (found_key->type == BTRFS_METADATA_ITEM_KEY) in extent_from_logical()
2248 else if (found_key->type == BTRFS_EXTENT_ITEM_KEY) in extent_from_logical()
2249 size = found_key->offset; in extent_from_logical()
2251 if (found_key->objectid > logical || in extent_from_logical()
2252 found_key->objectid + size <= logical) { in extent_from_logical()
2265 logical, logical - found_key->objectid, found_key->objectid, in extent_from_logical()
2266 found_key->offset, flags, btrfs_item_size(eb, path->slots[0])); in extent_from_logical()
2567 struct btrfs_key found_key; in iterate_inodes_from_logical() local
2574 ret = extent_from_logical(fs_info, logical, path, &found_key, &flags); in iterate_inodes_from_logical()
2581 walk_ctx.bytenr = found_key.objectid; in iterate_inodes_from_logical()
2585 walk_ctx.extent_item_pos = logical - found_key.objectid; in iterate_inodes_from_logical()
2607 struct btrfs_key found_key; in iterate_inode_refs() local
2612 &found_key); in iterate_inode_refs()
2622 parent = found_key.offset; in iterate_inode_refs()
2638 cur, found_key.objectid, in iterate_inode_refs()