Home
last modified time | relevance | path

Searched refs:ECKSUM (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_constants.py29 ECKSUM = 97 # EINTEGRITY variable
33 ECKSUM = errno.EBADE variable
H A Dexceptions.py25 ECKSUM,
332 errno = ECKSUM
H A D_error_translation.py37 ECKSUM,
475 if ret == ECKSUM:
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio_checksum.c451 return (SET_ERROR(ECKSUM)); in zio_checksum_error_impl()
456 return (SET_ERROR(ECKSUM)); in zio_checksum_error_impl()
460 return (SET_ERROR(ECKSUM)); in zio_checksum_error_impl()
529 return (SET_ERROR(ECKSUM)); in zio_checksum_error_impl()
551 error = zio_handle_fault_injection(zio, ECKSUM); in zio_checksum_error()
H A Dbptree.c250 if (err == EIO || err == ECKSUM || in bptree_iterate()
H A Dvdev_mirror.c784 ASSERT3U(zio->io_error, ==, ECKSUM); in vdev_mirror_io_done()
826 zio->io_error = SET_ERROR(ECKSUM); in vdev_mirror_io_done()
H A Dvdev_raidz.c2652 if (zio->io_flags & ZIO_FLAG_DIO_READ && ret == ECKSUM) { in raidz_checksum_verify()
2721 rc->rc_error = SET_ERROR(ECKSUM); in raidz_parity_verify()
3036 SET_ERROR(ECKSUM); in raidz_reconstruct()
3060 return (ECKSUM); in raidz_reconstruct()
3214 return (ECKSUM); in vdev_raidz_combrec()
3249 ASSERT(rc->rc_error != ECKSUM); /* child has no bp */ in vdev_raidz_io_done_write_impl()
3253 ASSERT(rc->rc_shadow_error != ECKSUM); in vdev_raidz_io_done_write_impl()
3299 if (rc->rc_error == ECKSUM) { in vdev_raidz_io_done_reconstruct_known_missing()
3568 if (zio->io_error == ECKSUM && in vdev_raidz_io_done()
H A Dvdev_indirect.c1555 return (SET_ERROR(ECKSUM)); in vdev_indirect_splits_enumerate_all()
1587 return (SET_ERROR(ECKSUM)); in vdev_indirect_splits_enumerate_randomly()
1842 if (zio->io_flags & ZIO_FLAG_DIO_READ && ret == ECKSUM) { in vdev_indirect_io_done()
H A Dzil.c290 error = SET_ERROR(ECKSUM); in zil_read_log_block()
303 error = SET_ERROR(ECKSUM); in zil_read_log_block()
537 error = SET_ERROR(ECKSUM); in zil_parse()
545 error = SET_ERROR(ECKSUM); in zil_parse()
1308 return ((error == ECKSUM || error == ENOENT) ? 0 : error); in zil_check_log_chain()
H A Dzio_inject.c274 if (zio->io_priority == ZIO_PRIORITY_REBUILD && error == ECKSUM) in zio_handle_fault_injection()
H A Dzio.c560 &zio->io_bookmark, ot, ECKSUM); in zio_decrypt()
584 &zio->io_bookmark, ot, ECKSUM); in zio_decrypt()
624 if (ret == ECKSUM) { in zio_decrypt()
4881 if (error == ECKSUM && in zio_checksum_verify()
4933 if (error == ECKSUM) { in zio_dio_checksum_verify()
4998 static int zio_error_rank[] = { 0, ENXIO, ECKSUM, EIO }; in zio_worst_error()
5306 if (zio->io_error != ECKSUM && zio->io_vd != NULL && in zio_done()
H A Ddmu_recv.c1535 return (SET_ERROR(ECKSUM)); in do_corrective_recv()
2423 if (err != ECKSUM) { in receive_process_write_record()
2819 return (SET_ERROR(ECKSUM)); in receive_read_payload_and_next_header()
2945 return (SET_ERROR(ECKSUM)); in receive_read_record()
H A Ddsl_crypt.c2756 return (SET_ERROR(ECKSUM)); in spa_do_crypt_objset_mac_abd()
2804 return (SET_ERROR(ECKSUM)); in spa_do_crypt_mac_abd()
2883 ret = zio_handle_decrypt_injection(spa, zb, ot, ECKSUM); in spa_do_crypt_abd()
H A Ddmu_traverse.c459 if ((td->td_flags & TRAVERSE_HARD) && (err == EIO || err == ECKSUM)) { in traverse_visitbp()
H A Dvdev_draid.c457 return (ECKSUM); in verify_perms()
878 rc->rc_error = SET_ERROR(ECKSUM); in vdev_draid_map_verify_empty()
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Derrno.h40 #define ECKSUM EBADE macro
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Derrno.h51 #define ECKSUM EBADE macro
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c218 { ECKSUM, "checksum" }, in usage()
1175 if (error == ECKSUM) { in main()
1390 * Internally, ZFS actually uses ECKSUM for decryption
1394 error = ECKSUM;
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h65 #define ECKSUM EINTEGRITY macro
/freebsd/sys/cddl/boot/zfs/
H A Dzfssubr.c1402 rc->rc_error = ECKSUM; in raidz_parity_verify()
1509 rc->rc_error = ECKSUM; in vdev_raidz_combrec()
1642 ASSERT(rc->rc_error != ECKSUM); /* child has no bp */ in vdev_raidz_read()
1822 error = ECKSUM; in vdev_raidz_read()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c741 err = ECKSUM; in zhack_repair_test_cksum()
751 err = ECKSUM; in zhack_repair_test_cksum()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c414 ret = SET_ERROR(encrypt ? EIO : ECKSUM); in zio_do_crypt_uio_opencrypto()
1181 return (SET_ERROR(ECKSUM)); in zio_crypt_do_indirect_mac_checksum_impl()
1202 if (ret == ECKSUM) { in zio_crypt_do_indirect_mac_checksum()
H A Dzvol_os.c770 if (error == ECKSUM) in zvol_geom_bio_strategy()
855 if (error == ECKSUM) in zvol_cdev_read()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c476 ret = SET_ERROR(ECKSUM); in zio_do_crypt_uio()
1349 return (SET_ERROR(ECKSUM)); in zio_crypt_do_indirect_mac_checksum_impl()
1370 if (ret == ECKSUM) { in zio_crypt_do_indirect_mac_checksum()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c994 error == ECKSUM ? "Invalid checksum" : in draid_verify()

12