Lines Matching refs:report
694 zio_cksum_report_t *report = kmem_zalloc(sizeof (*report), KM_SLEEP);
697 zio->io_vsd_ops->vsd_cksum_report(zio, report, arg);
699 zio_vsd_default_cksum_report(zio, report, arg);
703 report->zcr_ckinfo = kmem_zalloc(sizeof (*info), KM_SLEEP);
704 bcopy(info, report->zcr_ckinfo, sizeof (*info));
707 report->zcr_align = 1ULL << vd->vdev_top->vdev_ashift;
708 report->zcr_length = length;
711 zfs_ereport_start(&report->zcr_ereport, &report->zcr_detector,
714 if (report->zcr_ereport == NULL) {
715 report->zcr_free(report->zcr_cbdata, report->zcr_cbinfo);
716 if (report->zcr_ckinfo != NULL) {
717 kmem_free(report->zcr_ckinfo,
718 sizeof (*report->zcr_ckinfo));
720 kmem_free(report, sizeof (*report));
726 report->zcr_next = zio->io_logical->io_cksum_report;
727 zio->io_logical->io_cksum_report = report;
732 zfs_ereport_finish_checksum(zio_cksum_report_t *report,
737 info = annotate_ecksum(report->zcr_ereport, report->zcr_ckinfo,
738 good_data, bad_data, report->zcr_length, drop_if_identical);
741 fm_ereport_post(report->zcr_ereport, EVCH_SLEEP);
743 fm_nvlist_destroy(report->zcr_ereport, FM_NVA_FREE);
744 fm_nvlist_destroy(report->zcr_detector, FM_NVA_FREE);
745 report->zcr_ereport = report->zcr_detector = NULL;
772 zfs_ereport_send_interim_checksum(zio_cksum_report_t *report)
775 fm_ereport_post(report->zcr_ereport, EVCH_SLEEP);