Home
last modified time | relevance | path

Searched refs:calculate_crc32c (Results 1 – 9 of 9) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/xfs/
H A DChecksum.h30 crc = calculate_crc32c(XFS_CRC_SEED, (uint8*)buffer, cksum_offset); in xfs_start_cksum_safe()
33 crc = calculate_crc32c(crc, (uint8*)&zero, sizeof(uint32)); in xfs_start_cksum_safe()
36 return calculate_crc32c(crc, (uint8*)buffer + cksum_offset + sizeof(uint32), in xfs_start_cksum_safe()
52 return calculate_crc32c(XFS_CRC_SEED, (uint8*)buffer, length); in xfs_start_cksum_update()
/haiku/src/add-ons/kernel/file_systems/shared/
H A Dcrc32.cpp54 uint32 calculate_crc32c(uint32 crc32c, const unsigned char *buffer,
64 uint32 calculate_crc32c(uint32 crc32c, const unsigned char *buffer,
765 calculate_crc32c(uint32 crc32c, in calculate_crc32c() function
H A DCRCTable.h16 uint32 calculate_crc32c(uint32 crc32c, const unsigned char *buffer,
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInode.cpp954 uint32 checksum = calculate_crc32c(fVolume->ChecksumSeed(), in _InodeChecksum()
957 checksum = calculate_crc32c(checksum, (uint8*)&gen, sizeof(gen)); in _InodeChecksum()
958 checksum = calculate_crc32c(checksum, (uint8*)inode, offset); in _InodeChecksum()
960 checksum = calculate_crc32c(checksum, (uint8*)&dummy, sizeof(dummy)); in _InodeChecksum()
962 checksum = calculate_crc32c(checksum, (uint8*)inode + offset, in _InodeChecksum()
966 checksum = calculate_crc32c(checksum, (uint8*)inode in _InodeChecksum()
969 checksum = calculate_crc32c(checksum, (uint8*)&dummy, in _InodeChecksum()
973 checksum = calculate_crc32c(checksum, (uint8*)inode + offset, in _InodeChecksum()
992 uint32 checksum = calculate_crc32c(fVolume->ChecksumSeed(), in _DirEntryChecksum()
994 checksum = calculate_crc32c(checksum, (uint8*)&gen, sizeof(gen)); in _DirEntryChecksum()
[all …]
H A DVolume.cpp453 uint32 checksum = calculate_crc32c(fChecksumSeed, (uint8*)&number, in _GroupCheckSum()
455 checksum = calculate_crc32c(checksum, (uint8*)group, offset); in _GroupCheckSum()
456 checksum = calculate_crc32c(checksum, (uint8*)&dummy, sizeof(dummy)); in _GroupCheckSum()
458 checksum = calculate_crc32c(checksum, (uint8*)group + offsetExt4, in _GroupCheckSum()
775 fSuperBlock.checksum = calculate_crc32c(0xffffffff, (uint8*)&fSuperBlock, in WriteSuperBlock()
809 fChecksumSeed = calculate_crc32c(0xffffffff, (uint8*)fSuperBlock.uuid, in _SuperBlockChecksumSeed()
822 uint32 checksum = calculate_crc32c(0xffffffff, (uint8*)&fSuperBlock, in _VerifySuperBlock()
H A DHTreeEntryIterator.cpp403 uint32 checksum = calculate_crc32c(fVolume->ChecksumSeed(), in _Checksum()
406 checksum = calculate_crc32c(checksum, (uint8*)&gen, sizeof(gen)); in _Checksum()
407 checksum = calculate_crc32c(checksum, block, in _Checksum()
410 checksum = calculate_crc32c(checksum, (uint8*)&dummy, sizeof(dummy)); in _Checksum()
H A DDirectoryIterator.cpp894 uint32 checksum = calculate_crc32c(fVolume->ChecksumSeed(), in _HTreeRootChecksum()
897 checksum = calculate_crc32c(checksum, (uint8*)&gen, sizeof(gen)); in _HTreeRootChecksum()
898 checksum = calculate_crc32c(checksum, block, in _HTreeRootChecksum()
904 checksum = calculate_crc32c(checksum, (uint8*)&dummy, sizeof(dummy)); in _HTreeRootChecksum()
H A DJournal.cpp767 fChecksumSeed = calculate_crc32c(0xffffffff, (uint8*)superblock.uuid, in _LoadSuperBlock()
835 uint32 checksum = calculate_crc32c(0xffffffff, (uint8*)superblock, in _Checksum()
849 uint32 checksum = calculate_crc32c(0xffffffff, block, fBlockSize); in _Checksum()
H A DBitmapBlock.cpp528 return calculate_crc32c(fVolume->ChecksumSeed(), in Checksum()