Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-gc.c178 struct pblk_line_ws *line_ws = container_of(work, struct pblk_line_ws, in pblk_gc_line_prepare_ws() local
180 struct pblk *pblk = line_ws->pblk; in pblk_gc_line_prepare_ws()
181 struct pblk_line *line = line_ws->line; in pblk_gc_line_prepare_ws()
273 kfree(line_ws); in pblk_gc_line_prepare_ws()
290 kfree(line_ws); in pblk_gc_line_prepare_ws()
305 struct pblk_line_ws *line_ws; in pblk_gc_line() local
309 line_ws = kmalloc(sizeof(struct pblk_line_ws), GFP_KERNEL); in pblk_gc_line()
310 if (!line_ws) in pblk_gc_line()
313 line_ws->pblk = pblk; in pblk_gc_line()
314 line_ws->line = line; in pblk_gc_line()
[all …]
Dpblk-core.c27 struct pblk_line_ws *line_ws = container_of(work, struct pblk_line_ws, in pblk_line_mark_bb() local
29 struct pblk *pblk = line_ws->pblk; in pblk_line_mark_bb()
31 struct ppa_addr *ppa = line_ws->priv; in pblk_line_mark_bb()
47 mempool_free(line_ws, &pblk->gen_ws_pool); in pblk_line_mark_bb()
1849 struct pblk_line_ws *line_ws = container_of(work, struct pblk_line_ws, in pblk_line_close_ws() local
1851 struct pblk *pblk = line_ws->pblk; in pblk_line_close_ws()
1852 struct pblk_line *line = line_ws->line; in pblk_line_close_ws()
1862 mempool_free(line_ws, &pblk->gen_ws_pool); in pblk_line_close_ws()
1869 struct pblk_line_ws *line_ws; in pblk_gen_run_ws() local
1871 line_ws = mempool_alloc(&pblk->gen_ws_pool, gfp_mask); in pblk_gen_run_ws()
[all …]