Lines Matching refs:zc
264 zio_checksum_verify(zio_cksum_t zc, uint32_t checksum, in zio_checksum_verify() argument
278 zec->zec_cksum = zc; in zio_checksum_verify()
281 zc = expected_cksum; in zio_checksum_verify()
286 if ((actual_cksum.zc_word[0] != zc.zc_word[0]) in zio_checksum_verify()
287 || (actual_cksum.zc_word[1] != zc.zc_word[1]) in zio_checksum_verify()
288 || (actual_cksum.zc_word[2] != zc.zc_word[2]) in zio_checksum_verify()
289 || (actual_cksum.zc_word[3] != zc.zc_word[3])) { in zio_checksum_verify()
349 zio_cksum_t zc; in uberblock_verify() local
372 memset(&zc, 0, sizeof(zc)); in uberblock_verify()
373 zc.zc_word[0] = cpu_to_zfs64(offset, endian); in uberblock_verify()
374 err = zio_checksum_verify(zc, ZIO_CHECKSUM_LABEL, endian, in uberblock_verify()
458 zio_cksum_t zc; in zio_read_gang() local
460 memset(&zc, 0, sizeof(zc)); in zio_read_gang()
479 ZIO_SET_CHECKSUM(&zc, DVA_GET_VDEV(dva), in zio_read_gang()
481 err = zio_checksum_verify(zc, ZIO_CHECKSUM_GANG_HEADER, endian, in zio_read_gang()