Searched refs:csum_offset (Results 1 – 2 of 2) sorted by relevance
92 u64 csum_offset = 0; in btrfs_lookup_csum() local112 csum_offset = (bytenr - found_key.offset) >> in btrfs_lookup_csum()117 if (csum_offset == csums_in_item) { in btrfs_lookup_csum()120 } else if (csum_offset > csums_in_item) { in btrfs_lookup_csum()126 csum_offset * csum_size); in btrfs_lookup_csum()753 u64 csum_offset; in btrfs_csum_file_blocks() local840 csum_offset = (bytenr - found_key.offset) >> in btrfs_csum_file_blocks()845 csum_offset >= MAX_CSUM_ITEMS(fs_info, csum_size)) { in btrfs_csum_file_blocks()849 if (csum_offset == btrfs_item_size_nr(leaf, path->slots[0]) / in btrfs_csum_file_blocks()867 diff = (csum_offset + extend_nr) * csum_size; in btrfs_csum_file_blocks()[all …]
4139 u64 csum_offset; in log_extent_csums() local4151 csum_offset = 0; in log_extent_csums()4154 csum_offset = em->mod_start - em->start; in log_extent_csums()4160 em->block_start + csum_offset, in log_extent_csums()4161 em->block_start + csum_offset + in log_extent_csums()