Lines Matching refs:zp_checksum
745 ASSERT(zp->zp_checksum >= ZIO_CHECKSUM_OFF &&
746 zp->zp_checksum < ZIO_CHECKSUM_FUNCTIONS &&
945 zio->io_prop.zp_checksum = checksum;
966 zio->io_prop.zp_checksum = checksum;
1166 ASSERT3U(BP_GET_CHECKSUM(bp), ==, zp->zp_checksum);
1176 ASSERT((zio_checksum_table[zp->zp_checksum].ci_flags &
1179 if (BP_GET_CHECKSUM(bp) == zp->zp_checksum) {
1344 ASSERT(zp->zp_checksum != ZIO_CHECKSUM_GANG_HEADER);
1350 BP_SET_CHECKSUM(bp, zp->zp_checksum);
2161 zp.zp_checksum = gio->io_prop.zp_checksum;
2253 ASSERT(zio_checksum_table[zp->zp_checksum].ci_flags &
2544 ASSERT(BP_GET_CHECKSUM(bp) == zp->zp_checksum);
2559 if (!(zio_checksum_table[zp->zp_checksum].ci_flags &
2561 zp->zp_checksum = spa_dedup_checksum(spa);
3230 checksum = zio->io_prop.zp_checksum;
3264 if (zio->io_prop.zp_checksum == ZIO_CHECKSUM_OFF)
3267 ASSERT(zio->io_prop.zp_checksum == ZIO_CHECKSUM_LABEL);