Home
last modified time | relevance | path

Searched refs:line_ws (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/lightnvm/
Dpblk-gc.c181 struct pblk_line_ws *line_ws = container_of(work, struct pblk_line_ws, in pblk_gc_line_prepare_ws() local
183 struct pblk *pblk = line_ws->pblk; in pblk_gc_line_prepare_ws()
184 struct pblk_line *line = line_ws->line; in pblk_gc_line_prepare_ws()
271 kfree(line_ws); in pblk_gc_line_prepare_ws()
286 kfree(line_ws); in pblk_gc_line_prepare_ws()
298 struct pblk_line_ws *line_ws; in pblk_gc_line() local
302 line_ws = kmalloc(sizeof(struct pblk_line_ws), GFP_KERNEL); in pblk_gc_line()
303 if (!line_ws) in pblk_gc_line()
306 line_ws->pblk = pblk; in pblk_gc_line()
307 line_ws->line = line; in pblk_gc_line()
[all …]
Dpblk-core.c23 struct pblk_line_ws *line_ws = container_of(work, struct pblk_line_ws, in pblk_line_mark_bb() local
25 struct pblk *pblk = line_ws->pblk; in pblk_line_mark_bb()
27 struct ppa_addr *ppa = line_ws->priv; in pblk_line_mark_bb()
43 mempool_free(line_ws, &pblk->gen_ws_pool); in pblk_line_mark_bb()
1818 struct pblk_line_ws *line_ws = container_of(work, struct pblk_line_ws, in pblk_line_close_ws() local
1820 struct pblk *pblk = line_ws->pblk; in pblk_line_close_ws()
1821 struct pblk_line *line = line_ws->line; in pblk_line_close_ws()
1831 mempool_free(line_ws, &pblk->gen_ws_pool); in pblk_line_close_ws()
1838 struct pblk_line_ws *line_ws; in pblk_gen_run_ws() local
1840 line_ws = mempool_alloc(&pblk->gen_ws_pool, gfp_mask); in pblk_gen_run_ws()
[all …]