Lines Matching refs:wr_curr_bio
180 struct scrub_bio *wr_curr_bio; member
727 kfree(sctx->wr_curr_bio); in scrub_free_ctx()
781 WARN_ON(sctx->wr_curr_bio != NULL); in scrub_setup_ctx()
783 sctx->wr_curr_bio = NULL; in scrub_setup_ctx()
1811 if (!sctx->wr_curr_bio) { in scrub_add_sector_to_wr_bio()
1812 sctx->wr_curr_bio = kzalloc(sizeof(*sctx->wr_curr_bio), in scrub_add_sector_to_wr_bio()
1814 if (!sctx->wr_curr_bio) { in scrub_add_sector_to_wr_bio()
1818 sctx->wr_curr_bio->sctx = sctx; in scrub_add_sector_to_wr_bio()
1819 sctx->wr_curr_bio->sector_count = 0; in scrub_add_sector_to_wr_bio()
1821 sbio = sctx->wr_curr_bio; in scrub_add_sector_to_wr_bio()
1882 if (!sctx->wr_curr_bio) in scrub_wr_submit()
1885 sbio = sctx->wr_curr_bio; in scrub_wr_submit()
1886 sctx->wr_curr_bio = NULL; in scrub_wr_submit()