Lines Matching defs:sblock_to_check
212 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
821 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check)
823 struct scrub_ctx *sctx = sblock_to_check->sctx;
841 BUG_ON(sblock_to_check->page_count < 1);
843 if (sblock_to_check->pagev[0]->flags & BTRFS_EXTENT_FLAG_SUPER) {
854 logical = sblock_to_check->pagev[0]->logical;
855 BUG_ON(sblock_to_check->pagev[0]->mirror_num < 1);
856 failed_mirror_index = sblock_to_check->pagev[0]->mirror_num - 1;
857 is_metadata = !(sblock_to_check->pagev[0]->flags &
859 have_csum = sblock_to_check->pagev[0]->have_csum;
860 dev = sblock_to_check->pagev[0]->dev;
933 ret = scrub_setup_recheck_block(sblock_to_check, sblocks_for_recheck);
960 sblock_to_check->data_corrected = 1;
973 scrub_print_warning("i/o error", sblock_to_check);
980 scrub_print_warning("checksum error", sblock_to_check);
989 sblock_to_check);
1178 sblock_to_check->data_corrected = 1;