Home
last modified time | relevance | path

Searched refs:data_line (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-sysfs.c184 cur_data = (l_mg->data_line) ? l_mg->data_line->id : -1; in pblk_sysfs_lines()
259 if (l_mg->data_line) { in pblk_sysfs_lines()
260 cur_sec = l_mg->data_line->cur_sec; in pblk_sysfs_lines()
261 msecs = l_mg->data_line->left_msecs; in pblk_sysfs_lines()
262 vsc = le32_to_cpu(*l_mg->data_line->vsc); in pblk_sysfs_lines()
263 sec_in_line = l_mg->data_line->sec_in_line; in pblk_sysfs_lines()
267 spin_lock(&l_mg->data_line->lock); in pblk_sysfs_lines()
268 if (l_mg->data_line->map_bitmap) in pblk_sysfs_lines()
269 map_weight = bitmap_weight(l_mg->data_line->map_bitmap, in pblk_sysfs_lines()
273 spin_unlock(&l_mg->data_line->lock); in pblk_sysfs_lines()
Dpblk-recovery.c655 struct pblk_line *line, *tline, *data_line = NULL; in pblk_recov_l2p() local
816 data_line = line; in pblk_recov_l2p()
830 l_mg->data_line = data_line; in pblk_recov_l2p()
849 return data_line; in pblk_recov_l2p()
863 line = l_mg->data_line; in pblk_recov_pad()
Dpblk-write.c440 struct pblk_line *data_line = pblk_line_get_data(pblk); in pblk_valid_meta_ppa() local
456 ppa_opt = addr_to_gen_ppa(pblk, paddr + data_line->meta_distance, 0); in pblk_valid_meta_ppa()
460 test_bit(pos_opt, data_line->blk_bitmap)) in pblk_valid_meta_ppa()
464 data_line->meta_distance--; in pblk_valid_meta_ppa()
Dpblk-core.c1215 l_mg->data_line = line; in pblk_line_recov_alloc()
1340 l_mg->data_line = NULL; in pblk_line_retry()
1353 l_mg->data_line = retry_line; in pblk_line_retry()
1385 l_mg->data_line = line; in pblk_line_get_first_data()
1532 l_mg->data_line = NULL; in __pblk_pipeline_stop()
1554 cur = l_mg->data_line; in pblk_line_replace_data()
1555 l_mg->data_line = new; in pblk_line_replace_data()
1722 return pblk->l_mg.data_line; in pblk_line_get_data()
Dpblk.h511 struct pblk_line *data_line; /* Current data line */ member
Dpblk-init.c830 l_mg->log_line = l_mg->data_line = NULL; in pblk_line_mg_init()