Home
last modified time | relevance | path

Searched refs:BTRFS_CSUM_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/fs/btrfs/
Dscrub.c88 u8 csum[BTRFS_CSUM_SIZE];
1816 u8 csum[BTRFS_CSUM_SIZE]; in scrub_checksum_data()
1862 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()
1863 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()
1898 len = sctx->nodesize - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()
1899 mapped_size = PAGE_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()
1900 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()
1930 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()
1931 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()
1957 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super()
[all …]
Ddisk-io.c285 unsigned long offset = BTRFS_CSUM_SIZE; in csum_tree_block()
416 crc = btrfs_csum_data(raw_disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()
417 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum()
3348 BTRFS_CSUM_SIZE, crc, in write_dev_supers()
3350 BTRFS_CSUM_SIZE); in write_dev_supers()
Dcheck-integrity.c1792 u8 csum[BTRFS_CSUM_SIZE]; in btrfsic_test_for_metadata()
1805 u8 *data = i ? datav[i] : (datav[i] + BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()
1807 (PAGE_CACHE_SIZE - BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()
Dctree.h172 #define BTRFS_CSUM_SIZE 32 macro
373 u8 csum[BTRFS_CSUM_SIZE];
454 u8 csum[BTRFS_CSUM_SIZE];