Searched refs:meta_line (Results 1 – 4 of 4) sorted by relevance
/drivers/lightnvm/ |
D | pblk-write.c | 367 int pblk_submit_meta_io(struct pblk *pblk, struct pblk_line *meta_line) in pblk_submit_meta_io() argument 373 struct pblk_emeta *emeta = meta_line->emeta; in pblk_submit_meta_io() 380 int id = meta_line->id; in pblk_submit_meta_io() 388 m_ctx->private = meta_line; in pblk_submit_meta_io() 399 spin_lock(&meta_line->lock); in pblk_submit_meta_io() 400 paddr = __pblk_alloc_page(pblk, meta_line, rq_ppas); in pblk_submit_meta_io() 401 spin_unlock(&meta_line->lock); in pblk_submit_meta_io() 409 list_del(&meta_line->list); in pblk_submit_meta_io() 425 pblk_dealloc_page(pblk, meta_line, rq_ppas); in pblk_submit_meta_io() 426 list_add(&meta_line->list, &meta_line->list); in pblk_submit_meta_io() [all …]
|
D | pblk-recovery.c | 661 int meta_line; in pblk_recov_l2p() local 669 meta_line = find_first_zero_bit(&l_mg->meta_bitmap, PBLK_DATA_LINES); in pblk_recov_l2p() 670 set_bit(meta_line, &l_mg->meta_bitmap); in pblk_recov_l2p() 671 smeta = l_mg->sline_meta[meta_line]; in pblk_recov_l2p() 672 emeta = l_mg->eline_meta[meta_line]; in pblk_recov_l2p() 748 WARN_ON_ONCE(!test_and_clear_bit(meta_line, in pblk_recov_l2p() 817 line->meta_line = meta_line; in pblk_recov_l2p() 825 WARN_ON_ONCE(!test_and_clear_bit(meta_line, in pblk_recov_l2p()
|
D | pblk-core.c | 922 int meta_line; in pblk_line_setup_metadata() local 927 meta_line = find_first_zero_bit(&l_mg->meta_bitmap, PBLK_DATA_LINES); in pblk_line_setup_metadata() 928 if (meta_line == PBLK_DATA_LINES) { in pblk_line_setup_metadata() 935 set_bit(meta_line, &l_mg->meta_bitmap); in pblk_line_setup_metadata() 936 line->meta_line = meta_line; in pblk_line_setup_metadata() 938 line->smeta = l_mg->sline_meta[meta_line]; in pblk_line_setup_metadata() 939 line->emeta = l_mg->eline_meta[meta_line]; in pblk_line_setup_metadata() 1349 retry_line->meta_line = line->meta_line; in pblk_line_retry() 1757 WARN_ON(!test_and_clear_bit(line->meta_line, &l_mg->meta_bitmap)); in pblk_line_close()
|
D | pblk.h | 451 int meta_line; /* Metadata line id */ member 780 int pblk_submit_meta_io(struct pblk *pblk, struct pblk_line *meta_line);
|