Home
last modified time | relevance | path

Searched refs:sbio (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dscrub.c712 struct scrub_bio *sbio = sctx->bios[sctx->curr]; in scrub_free_ctx() local
714 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() local
722 if (!sbio) in scrub_free_ctx()
724 kfree(sbio); in scrub_free_ctx()
754 struct scrub_bio *sbio; in scrub_setup_ctx() local
756 sbio = kzalloc(sizeof(*sbio), GFP_KERNEL); in scrub_setup_ctx()
757 if (!sbio) in scrub_setup_ctx()
[all …]
/linux-6.1.9/drivers/md/
Draid1.c2187 struct bio *sbio = r1_bio->bios[i]; in process_checks() local
2188 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()