Searched refs:BTRFS_CSUM_SIZE (Results 1 – 4 of 4) sorted by relevance
/linux/include/uapi/linux/ |
H A D | btrfs_tree.h | 376 #define BTRFS_CSUM_SIZE 32 macro 483 __u8 csum[BTRFS_CSUM_SIZE]; 669 __u8 csum[BTRFS_CSUM_SIZE];
|
/linux/fs/btrfs/ |
H A D | disk-io.c | 96 crypto_shash_update(shash, kaddr + BTRFS_CSUM_SIZE, in csum_tree_block() 97 first_page_part - BTRFS_CSUM_SIZE); in csum_tree_block() 109 memset(result, 0, BTRFS_CSUM_SIZE); in csum_tree_block() 162 char result[BTRFS_CSUM_SIZE]; in btrfs_check_super_csum() 172 crypto_shash_digest(shash, (const u8 *)disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum() 173 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE, result); in btrfs_check_super_csum() 266 u8 result[BTRFS_CSUM_SIZE]; in btree_csum_one_bio() 367 u8 result[BTRFS_CSUM_SIZE]; in btrfs_validate_extent_buffer() 3771 crypto_shash_digest(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers() 3772 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE, in write_dev_supers()
|
H A D | scrub.c | 606 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_verify_one_metadata() 607 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_verify_one_metadata() 652 BTRFS_CSUM_SIZE, fs_info->sectorsize - BTRFS_CSUM_SIZE); in scrub_verify_one_metadata() 696 u8 csum_buf[BTRFS_CSUM_SIZE]; in scrub_verify_one_sector()
|
H A D | inode.c | 3316 u8 csum[BTRFS_CSUM_SIZE]; in btrfs_data_csum_ok()
|