Lines Matching refs:errors
974 const struct scrub_error_records *errors) in scrub_stripe_report_errors() argument
998 if (!bitmap_empty(&errors->init_error_bitmap, stripe->nr_sectors)) { in scrub_stripe_report_errors()
1032 if (test_bit(sector_nr, &errors->init_error_bitmap) && in scrub_stripe_report_errors()
1039 if (!test_bit(sector_nr, &errors->init_error_bitmap)) in scrub_stripe_report_errors()
1091 for (int i = 0; i < errors->nr_io_errors; i++) in scrub_stripe_report_errors()
1093 for (int i = 0; i < errors->nr_csum_errors; i++) in scrub_stripe_report_errors()
1096 for (int i = 0; i < errors->nr_meta_gen_errors; in scrub_stripe_report_errors()
1106 sctx->stat.read_errors += errors->nr_io_errors; in scrub_stripe_report_errors()
1107 sctx->stat.csum_errors += errors->nr_csum_errors; in scrub_stripe_report_errors()
1108 sctx->stat.verify_errors += errors->nr_meta_errors + in scrub_stripe_report_errors()
1109 errors->nr_meta_gen_errors; in scrub_stripe_report_errors()
1137 struct scrub_error_records errors = { 0 }; in scrub_stripe_read_repair_worker() local
1150 errors.init_error_bitmap = scrub_bitmap_read_error(stripe); in scrub_stripe_read_repair_worker()
1151 errors.nr_io_errors = scrub_bitmap_weight_io_error(stripe); in scrub_stripe_read_repair_worker()
1152 errors.nr_csum_errors = scrub_bitmap_weight_csum_error(stripe); in scrub_stripe_read_repair_worker()
1153 errors.nr_meta_errors = scrub_bitmap_weight_meta_error(stripe); in scrub_stripe_read_repair_worker()
1154 errors.nr_meta_gen_errors = scrub_bitmap_weight_meta_gen_error(stripe); in scrub_stripe_read_repair_worker()
1156 if (bitmap_empty(&errors.init_error_bitmap, stripe->nr_sectors)) in scrub_stripe_read_repair_worker()
1207 bitmap_andnot(&repaired, &errors.init_error_bitmap, &error, in scrub_stripe_read_repair_worker()
1218 scrub_stripe_report_errors(sctx, stripe, &errors); in scrub_stripe_read_repair_worker()