Lines Matching refs:w_ctx
23 struct pblk_w_ctx w_ctx; in pblk_write_to_cache() local
48 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_to_cache()
49 w_ctx.flags = flags; in pblk_write_to_cache()
51 w_ctx.flags |= PBLK_FLUSH_ENTRY; in pblk_write_to_cache()
61 w_ctx.lba = lba + i; in pblk_write_to_cache()
64 pblk_rb_write_entry_user(&pblk->rwb, data, w_ctx, pos); in pblk_write_to_cache()
90 struct pblk_w_ctx w_ctx; in pblk_write_gc_to_cache() local
105 w_ctx.flags = PBLK_IOTYPE_GC; in pblk_write_gc_to_cache()
106 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_gc_to_cache()
112 w_ctx.lba = gc_rq->lba_list[i]; in pblk_write_gc_to_cache()
115 pblk_rb_write_entry_gc(&pblk->rwb, data, w_ctx, gc_rq->line, in pblk_write_gc_to_cache()