Lines Matching refs:gc_rq_ws
88 struct pblk_line_ws *gc_rq_ws = container_of(work, in pblk_gc_line_ws() local
90 struct pblk *pblk = gc_rq_ws->pblk; in pblk_gc_line_ws()
92 struct pblk_line *line = gc_rq_ws->line; in pblk_gc_line_ws()
93 struct pblk_gc_rq *gc_rq = gc_rq_ws->priv; in pblk_gc_line_ws()
122 kfree(gc_rq_ws); in pblk_gc_line_ws()
128 kfree(gc_rq_ws); in pblk_gc_line_ws()
186 struct pblk_line_ws *gc_rq_ws; in pblk_gc_line_prepare_ws() local
247 gc_rq_ws = kmalloc(sizeof(struct pblk_line_ws), GFP_KERNEL); in pblk_gc_line_prepare_ws()
248 if (!gc_rq_ws) in pblk_gc_line_prepare_ws()
251 gc_rq_ws->pblk = pblk; in pblk_gc_line_prepare_ws()
252 gc_rq_ws->line = line; in pblk_gc_line_prepare_ws()
253 gc_rq_ws->priv = gc_rq; in pblk_gc_line_prepare_ws()
264 INIT_WORK(&gc_rq_ws->ws, pblk_gc_line_ws); in pblk_gc_line_prepare_ws()
265 queue_work(gc->gc_line_reader_wq, &gc_rq_ws->ws); in pblk_gc_line_prepare_ws()