Searched refs:BTRFS_CSUM_SIZE (Results 1 – 5 of 5) sorted by relevance
76 u8 csum[BTRFS_CSUM_SIZE];1799 u8 csum[BTRFS_CSUM_SIZE]; in scrub_checksum_data()1844 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()1845 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()1880 len = sctx->fs_info->nodesize - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1881 mapped_size = PAGE_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1882 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1912 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()1913 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()1939 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super()[all …]
271 char result[BTRFS_CSUM_SIZE]; in csum_tree_block()274 unsigned long offset = BTRFS_CSUM_SIZE; in csum_tree_block()293 memset(result, 0, BTRFS_CSUM_SIZE); in csum_tree_block()394 crc = btrfs_csum_data(raw_disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()395 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum()3485 crc = btrfs_csum_data((const char *)sb + BTRFS_CSUM_SIZE, crc, in write_dev_supers()3486 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in write_dev_supers()
1713 u8 csum[BTRFS_CSUM_SIZE]; in btrfsic_test_for_metadata()1726 u8 *data = i ? datav[i] : (datav[i] + BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()1728 (PAGE_SIZE - BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()
140 u8 csum[BTRFS_CSUM_SIZE];205 u8 csum[BTRFS_CSUM_SIZE];
300 #define BTRFS_CSUM_SIZE 32 macro