Home
last modified time | relevance | path

Searched refs:actual_cksum (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c204 zio_cksum_t actual_cksum, expected_cksum, verifier; in zio_checksum_error() local
246 ci->ci_func[byteswap](data, size, &actual_cksum); in zio_checksum_error()
256 ci->ci_func[byteswap](data, size, &actual_cksum); in zio_checksum_error()
260 info->zbc_actual = actual_cksum; in zio_checksum_error()
266 if (!ZIO_CHECKSUM_EQUAL(actual_cksum, expected_cksum)) in zio_checksum_error()
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c167 zio_cksum_t actual_cksum, expected_cksum; in zio_checksum_verify() local
182 ci->ci_func[0](data, size, &actual_cksum); in zio_checksum_verify()
186 ci->ci_func[byteswap](data, size, &actual_cksum); in zio_checksum_verify()
189 if ((actual_cksum.zc_word[0] - zc.zc_word[0]) | in zio_checksum_verify()
190 (actual_cksum.zc_word[1] - zc.zc_word[1]) | in zio_checksum_verify()
191 (actual_cksum.zc_word[2] - zc.zc_word[2]) | in zio_checksum_verify()
192 (actual_cksum.zc_word[3] - zc.zc_word[3])) in zio_checksum_verify()