Lines Matching refs:w_ctx
24 struct pblk_w_ctx w_ctx; in pblk_write_to_cache() local
49 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_to_cache()
50 w_ctx.flags = flags; in pblk_write_to_cache()
52 w_ctx.flags |= PBLK_FLUSH_ENTRY; in pblk_write_to_cache()
62 w_ctx.lba = lba + i; in pblk_write_to_cache()
65 pblk_rb_write_entry_user(&pblk->rwb, data, w_ctx, pos); in pblk_write_to_cache()
93 struct pblk_w_ctx w_ctx; in pblk_write_gc_to_cache() local
108 w_ctx.flags = PBLK_IOTYPE_GC; in pblk_write_gc_to_cache()
109 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_gc_to_cache()
115 w_ctx.lba = gc_rq->lba_list[i]; in pblk_write_gc_to_cache()
118 pblk_rb_write_entry_gc(&pblk->rwb, data, w_ctx, gc_rq->line, in pblk_write_gc_to_cache()