Lines Matching refs:w_ctx
29 struct pblk_w_ctx *w_ctx; in pblk_end_w_bio() local
33 w_ctx = pblk_rb_w_ctx(rwb, pos); in pblk_end_w_bio()
34 flags = READ_ONCE(w_ctx->flags); in pblk_end_w_bio()
39 smp_store_release(&w_ctx->flags, flags); in pblk_end_w_bio()
46 while ((original_bio = bio_list_pop(&w_ctx->bios))) in pblk_end_w_bio()
149 struct pblk_w_ctx *w_ctx; in pblk_prepare_resubmit() local
158 w_ctx = &entry->w_ctx; in pblk_prepare_resubmit()
161 ppa_l2p = pblk_trans_map_get(pblk, w_ctx->lba); in pblk_prepare_resubmit()
163 w_ctx->lba = ADDR_EMPTY; in pblk_prepare_resubmit()
166 flags = READ_ONCE(w_ctx->flags); in pblk_prepare_resubmit()
169 smp_store_release(&w_ctx->flags, flags); in pblk_prepare_resubmit()
174 line = &pblk->lines[pblk_ppa_to_line(w_ctx->ppa)]; in pblk_prepare_resubmit()