Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dscrub.c78 u8 csum[BTRFS_CSUM_SIZE];
1794 u8 csum[BTRFS_CSUM_SIZE]; in scrub_checksum_data()
1842 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_tree_block()
1843 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()
1914 u8 calculated_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()
1915 u8 on_disk_csum[BTRFS_CSUM_SIZE]; in scrub_checksum_super()
1943 len = BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE; in scrub_checksum_super()
[all …]
Ddisk-io.c261 unsigned long offset = BTRFS_CSUM_SIZE; in csum_tree_block()
288 memset(result, 0, BTRFS_CSUM_SIZE); in csum_tree_block()
370 char result[BTRFS_CSUM_SIZE]; in btrfs_check_super_csum()
381 crypto_shash_update(shash, raw_disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()
382 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in btrfs_check_super_csum()
517 u8 result[BTRFS_CSUM_SIZE]; in csum_dirty_buffer()
600 u8 result[BTRFS_CSUM_SIZE]; in btree_readpage_end_io_hook()
3511 crypto_shash_update(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers()
3512 BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); in write_dev_supers()
Dcheck-integrity.c1716 u8 csum[BTRFS_CSUM_SIZE]; in btrfsic_test_for_metadata()
1731 u8 *data = i ? datav[i] : (datav[i] + BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()
1733 (PAGE_SIZE - BTRFS_CSUM_SIZE); in btrfsic_test_for_metadata()
Dcompression.c85 u8 csum[BTRFS_CSUM_SIZE]; in check_compressed_csum()
Dctree.h154 u8 csum[BTRFS_CSUM_SIZE];
220 u8 csum[BTRFS_CSUM_SIZE];
Dinode.c3289 u8 csum[BTRFS_CSUM_SIZE]; in __readpage_endio_check()
/Linux-v5.4/include/uapi/linux/
Dbtrfs_tree.h300 #define BTRFS_CSUM_SIZE 32 macro