Lines Matching refs:found_key
212 struct btrfs_key found_key; in btrfs_lookup_csum() local
231 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_lookup_csum()
232 if (found_key.type != BTRFS_EXTENT_CSUM_KEY) in btrfs_lookup_csum()
235 csum_offset = (bytenr - found_key.offset) >> in btrfs_lookup_csum()
1013 struct btrfs_key found_key; in find_next_csum_offset() local
1028 btrfs_item_key_to_cpu(path->nodes[0], &found_key, slot); in find_next_csum_offset()
1030 if (found_key.objectid != BTRFS_EXTENT_CSUM_OBJECTID || in find_next_csum_offset()
1031 found_key.type != BTRFS_EXTENT_CSUM_KEY) in find_next_csum_offset()
1034 *next_offset = found_key.offset; in find_next_csum_offset()
1045 struct btrfs_key found_key; in btrfs_csum_file_blocks() local
1115 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_csum_file_blocks()
1116 csum_offset = (bytenr - found_key.offset) >> in btrfs_csum_file_blocks()
1136 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_csum_file_blocks()
1137 csum_offset = (bytenr - found_key.offset) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
1139 if (found_key.type != BTRFS_EXTENT_CSUM_KEY || in btrfs_csum_file_blocks()
1140 found_key.objectid != BTRFS_EXTENT_CSUM_OBJECTID || in btrfs_csum_file_blocks()