Lines Matching refs:found_key

1025 	struct btrfs_key found_key;  in add_inline_refs()  local
1050 btrfs_item_key_to_cpu(leaf, &found_key, slot); in add_inline_refs()
1055 if (found_key.type == BTRFS_EXTENT_ITEM_KEY && in add_inline_refs()
1063 } else if (found_key.type == BTRFS_METADATA_ITEM_KEY) { in add_inline_refs()
1064 *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
2232 btrfs_item_key_to_cpu(path->nodes[0], found_key, path->slots[0]); in extent_from_logical()
2233 if (found_key->type == BTRFS_METADATA_ITEM_KEY) in extent_from_logical()
2235 else if (found_key->type == BTRFS_EXTENT_ITEM_KEY) in extent_from_logical()
2236 size = found_key->offset; in extent_from_logical()
2238 if (found_key->objectid > logical || in extent_from_logical()
2239 found_key->objectid + size <= logical) { in extent_from_logical()
2254 logical, logical - found_key->objectid, found_key->objectid, in extent_from_logical()
2255 found_key->offset, flags, item_size); in extent_from_logical()
2557 struct btrfs_key found_key; in iterate_inodes_from_logical() local
2560 ret = extent_from_logical(fs_info, logical, path, &found_key, &flags); in iterate_inodes_from_logical()
2567 walk_ctx.bytenr = found_key.objectid; in iterate_inodes_from_logical()
2571 walk_ctx.extent_item_pos = logical - found_key.objectid; in iterate_inodes_from_logical()
2594 struct btrfs_key found_key; in iterate_inode_refs() local
2599 &found_key); in iterate_inode_refs()
2609 parent = found_key.offset; in iterate_inode_refs()
2625 cur, found_key.objectid, in iterate_inode_refs()