Home
last modified time | relevance | path

Searched refs:csum_offset (Results 1 – 2 of 2) sorted by relevance

/fs/btrfs/
Dfile-item.c92 u64 csum_offset = 0; in btrfs_lookup_csum() local
112 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() local
840 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 …]
Dtree-log.c4139 u64 csum_offset; in log_extent_csums() local
4151 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()