Searched refs:sbio (Results 1 – 2 of 2) sorted by relevance
712 struct scrub_bio *sbio = sctx->bios[sctx->curr]; in scrub_free_ctx() local714 for (i = 0; i < sbio->sector_count; i++) in scrub_free_ctx()715 scrub_block_put(sbio->sectors[i]->sblock); in scrub_free_ctx()716 bio_put(sbio->bio); in scrub_free_ctx()720 struct scrub_bio *sbio = sctx->bios[i]; in scrub_free_ctx() local722 if (!sbio) in scrub_free_ctx()724 kfree(sbio); in scrub_free_ctx()754 struct scrub_bio *sbio; in scrub_setup_ctx() local756 sbio = kzalloc(sizeof(*sbio), GFP_KERNEL); in scrub_setup_ctx()757 if (!sbio) in scrub_setup_ctx()[all …]
2187 struct bio *sbio = r1_bio->bios[i]; in process_checks() local2188 blk_status_t status = sbio->bi_status; in process_checks()2190 struct page **spages = get_resync_pages(sbio)->pages; in process_checks()2195 if (sbio->bi_end_io != end_sync_read) in process_checks()2198 sbio->bi_status = 0; in process_checks()2200 bio_for_each_segment_all(bi, sbio, iter_all) in process_checks()2217 sbio->bi_end_io = NULL; in process_checks()2222 bio_copy_data(sbio, pbio); in process_checks()