Lines Matching refs:csum_offset
212 u64 csum_offset = 0; in btrfs_lookup_csum() local
232 csum_offset = (bytenr - found_key.offset) >> in btrfs_lookup_csum()
237 if (csum_offset == csums_in_item) { in btrfs_lookup_csum()
240 } else if (csum_offset > csums_in_item) { in btrfs_lookup_csum()
246 csum_offset * csum_size); in btrfs_lookup_csum()
1063 u64 csum_offset; in btrfs_csum_file_blocks() local
1127 csum_offset = (bytenr - found_key.offset) >> in btrfs_csum_file_blocks()
1148 csum_offset = (bytenr - found_key.offset) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
1152 csum_offset >= MAX_CSUM_ITEMS(fs_info, csum_size)) { in btrfs_csum_file_blocks()
1157 if (csum_offset == btrfs_item_size(leaf, path->slots[0]) / in btrfs_csum_file_blocks()
1208 diff = (csum_offset + extend_nr) * csum_size; in btrfs_csum_file_blocks()
1224 csum_offset = 0; in btrfs_csum_file_blocks()
1249 csum_offset * csum_size); in btrfs_csum_file_blocks()