Lines Matching refs:w_ctx
25 struct pblk_w_ctx w_ctx; in pblk_write_to_cache() local
51 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_to_cache()
52 w_ctx.flags = flags; in pblk_write_to_cache()
54 w_ctx.flags |= PBLK_FLUSH_ENTRY; in pblk_write_to_cache()
64 w_ctx.lba = lba + i; in pblk_write_to_cache()
67 pblk_rb_write_entry_user(&pblk->rwb, data, w_ctx, pos); in pblk_write_to_cache()
95 struct pblk_w_ctx w_ctx; in pblk_write_gc_to_cache() local
110 w_ctx.flags = PBLK_IOTYPE_GC; in pblk_write_gc_to_cache()
111 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_gc_to_cache()
117 w_ctx.lba = gc_rq->lba_list[i]; in pblk_write_gc_to_cache()
120 pblk_rb_write_entry_gc(&pblk->rwb, data, w_ctx, gc_rq->line, in pblk_write_gc_to_cache()