Searched refs:BTRFS_CSUM_SIZE (Results 1 – 5 of 5) sorted by relevance
76 u8 csum[BTRFS_CSUM_SIZE];1779 u8 csum[BTRFS_CSUM_SIZE]; in scrub_checksum_data()1824 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()1825 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()1860 len = sctx->fs_info->nodesize - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1861 mapped_size = PAGE_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1862 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1892 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()1893 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()1919 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super()[all …]
270 char result[BTRFS_CSUM_SIZE]; in csum_tree_block()273 unsigned long offset = BTRFS_CSUM_SIZE; in csum_tree_block()292 memset(result, 0, BTRFS_CSUM_SIZE); in csum_tree_block()393 crc = btrfs_csum_data(raw_disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()394 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum()3465 crc = btrfs_csum_data((const char *)sb + BTRFS_CSUM_SIZE, crc, in write_dev_supers()3466 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in write_dev_supers()
1714 u8 csum[BTRFS_CSUM_SIZE]; in btrfsic_test_for_metadata()1727 u8 *data = i ? datav[i] : (datav[i] + BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()1729 (PAGE_SIZE - BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()
139 u8 csum[BTRFS_CSUM_SIZE];204 u8 csum[BTRFS_CSUM_SIZE];
300 #define BTRFS_CSUM_SIZE 32 macro