Lines Matching refs:eck
268 zio_eck_t *eck;
275 eck = &zilc->zc_eck;
277 eck = (zio_eck_t *)((char *)data + size) - 1;
280 zio_checksum_gang_verifier(&eck->zec_cksum, bp);
282 zio_checksum_label_verifier(&eck->zec_cksum, offset);
284 bp->blk_cksum = eck->zec_cksum;
285 eck->zec_magic = ZEC_MAGIC;
288 eck->zec_cksum = cksum;
309 zio_eck_t *eck;
316 eck = &zilc->zc_eck;
317 if (eck->zec_magic == ZEC_MAGIC)
319 else if (eck->zec_magic == BSWAP_64(ZEC_MAGIC))
329 eck = (zio_eck_t *)((char *)data + size) - 1;
339 byteswap = (eck->zec_magic == BSWAP_64(ZEC_MAGIC));
344 expected_cksum = eck->zec_cksum;
345 eck->zec_cksum = verifier;
348 eck->zec_cksum = expected_cksum;