Lines Matching refs:BTRFS_CSUM_SIZE
220 crypto_shash_update(shash, kaddr + BTRFS_CSUM_SIZE, in csum_tree_block()
221 PAGE_SIZE - BTRFS_CSUM_SIZE); in csum_tree_block()
227 memset(result, 0, BTRFS_CSUM_SIZE); in csum_tree_block()
309 char result[BTRFS_CSUM_SIZE]; in btrfs_check_super_csum()
319 crypto_shash_digest(shash, raw_disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()
320 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE, result); in btrfs_check_super_csum()
454 u8 result[BTRFS_CSUM_SIZE]; in csum_dirty_buffer()
536 u8 result[BTRFS_CSUM_SIZE]; in btrfs_validate_metadata_buffer()
588 u8 val[BTRFS_CSUM_SIZE] = { 0 }; in btrfs_validate_metadata_buffer()
3563 crypto_shash_digest(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers()
3564 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE, in write_dev_supers()