Home
last modified time | relevance | path

Searched refs:expected_cksum (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_raw_ashift.ksh170 expected_cksum=$(recursive_cksum /pool9/encfs)
178 if [[ "$expected_cksum" != "$actual_cksum" ]]; then
179 log_fail "Checksums differ ($expected_cksum != $actual_cksum)"
189 expected_cksum=$(recursive_cksum /pool9/fs)
193 if [[ "$expected_cksum" != "$actual_cksum" ]]; then
194 log_fail "Checksums differ ($expected_cksum != $actual_cksum)"
H A Dsend_realloc_files.ksh84 expected_cksum=$(recursive_cksum /$POOL/fs)
96 if [[ "$expected_cksum" != "$actual_cksum" ]]; then
97 log_fail "Checksums differ ($expected_cksum != $actual_cksum)"
H A Dsend_realloc_encrypted_files.ksh92 expected_cksum=$(recursive_cksum /$POOL/fs)
109 if [[ "$expected_cksum" != "$actual_cksum" ]]; then
110 log_fail "Checksums differ ($expected_cksum != $actual_cksum)"
H A Dsend_encrypted_truncated_files.ksh104 expected_cksum=$(recursive_cksum /$TESTPOOL/$TESTFS2)
115 [[ "$expected_cksum" != "$actual_cksum" ]] && \
116 log_fail "Recursive checksums differ ($expected_cksum != $actual_cksum)"
H A Dsend_encrypted_files.ksh103 expected_cksum=$(recursive_cksum /$TESTPOOL/$TESTFS2)
114 [[ "$expected_cksum" != "$actual_cksum" ]] && \
115 log_fail "Recursive checksums differ ($expected_cksum != $actual_cksum)"
H A Dsend_raw_spill_block.ksh146 expected_cksum=$(recursive_cksum /$POOL/fs)
157 if [[ "$expected_cksum" != "$actual_cksum" ]]; then
158 log_fail "Checksums differ ($expected_cksum != $actual_cksum)"
H A Dsend_spill_block.ksh142 expected_cksum=$(recursive_cksum /$POOL/fs)
151 if [[ "$expected_cksum" != "$actual_cksum" ]]; then
152 log_fail "Checksums differ ($expected_cksum != $actual_cksum)"
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio_checksum.c420 zio_cksum_t actual_cksum, expected_cksum; in zio_checksum_error_impl() local
479 expected_cksum = eck.zec_cksum; in zio_checksum_error_impl()
487 abd_copy_from_buf_off(abd, &expected_cksum, eck_offset, in zio_checksum_error_impl()
491 byteswap_uint64_array(&expected_cksum, in zio_checksum_error_impl()
496 expected_cksum = bp->blk_cksum; in zio_checksum_error_impl()
517 expected_cksum.zc_word[2] = 0; in zio_checksum_error_impl()
518 expected_cksum.zc_word[3] = 0; in zio_checksum_error_impl()
528 if (!ZIO_CHECKSUM_EQUAL(actual_cksum, expected_cksum)) in zio_checksum_error_impl()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c655 zio_cksum_t expected_cksum = eck->zec_cksum; in zhack_repair_write_label() local
658 if (ZIO_CHECKSUM_EQUAL(actual_cksum, expected_cksum)) in zhack_repair_write_label()
727 const zio_cksum_t expected_cksum = vdev_eck->zec_cksum; in zhack_repair_test_cksum() local
743 if (!ZIO_CHECKSUM_EQUAL(actual_cksum, expected_cksum)) { in zhack_repair_test_cksum()
747 &expected_cksum); in zhack_repair_test_cksum()
/freebsd/sys/cddl/boot/zfs/
H A Dzfssubr.c284 zio_cksum_t actual_cksum, expected_cksum, verifier; in zio_checksum_verify() local
322 expected_cksum = eck->zec_cksum; in zio_checksum_verify()
325 eck->zec_cksum = expected_cksum; in zio_checksum_verify()
328 byteswap_uint64_array(&expected_cksum, in zio_checksum_verify()
332 expected_cksum = bp->blk_cksum; in zio_checksum_verify()
336 if (!ZIO_CHECKSUM_EQUAL(actual_cksum, expected_cksum)) { in zio_checksum_verify()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c5235 zio_cksum_t expected_cksum; in label_cksum_valid() local
5251 expected_cksum = eck->zec_cksum; in label_cksum_valid()
5259 byteswap_uint64_array(&expected_cksum, sizeof (zio_cksum_t)); in label_cksum_valid()
5261 if (ZIO_CHECKSUM_EQUAL(actual_cksum, expected_cksum)) in label_cksum_valid()