Searched refs:wr_curr_bio (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/btrfs/
H A Dscrub.c164 struct scrub_bio *wr_curr_bio; member in struct:scrub_wr_ctx
1712 if (!wr_ctx->wr_curr_bio) { scrub_add_page_to_wr_bio()
1713 wr_ctx->wr_curr_bio = kzalloc(sizeof(*wr_ctx->wr_curr_bio), scrub_add_page_to_wr_bio()
1715 if (!wr_ctx->wr_curr_bio) { scrub_add_page_to_wr_bio()
1719 wr_ctx->wr_curr_bio->sctx = sctx; scrub_add_page_to_wr_bio()
1720 wr_ctx->wr_curr_bio->page_count = 0; scrub_add_page_to_wr_bio()
1722 sbio = wr_ctx->wr_curr_bio; scrub_add_page_to_wr_bio()
1779 if (!wr_ctx->wr_curr_bio) scrub_wr_submit()
1782 sbio = wr_ctx->wr_curr_bio; scrub_wr_submit()
1783 wr_ctx->wr_curr_bio = NULL; scrub_wr_submit()
3870 WARN_ON(wr_ctx->wr_curr_bio != NULL); scrub_setup_wr_ctx()
3873 wr_ctx->wr_curr_bio = NULL; scrub_setup_wr_ctx()
3888 kfree(wr_ctx->wr_curr_bio); scrub_free_wr_ctx()
3889 wr_ctx->wr_curr_bio = NULL; scrub_free_wr_ctx()

Completed in 99 milliseconds