Home
last modified time | relevance | path

Searched refs:vsc (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/lightnvm/
Dpblk-core.c169 le32_add_cpu(line->vsc, -1); in __pblk_map_invalidate()
377 int vsc = le32_to_cpu(*line->vsc); in pblk_line_gc_list() local
387 } else if (!vsc) { in pblk_line_gc_list()
392 } else if (vsc < lm->high_thrs) { in pblk_line_gc_list()
397 } else if (vsc < lm->mid_thrs) { in pblk_line_gc_list()
402 } else if (vsc < line->sec_in_line) { in pblk_line_gc_list()
407 } else if (vsc == line->sec_in_line) { in pblk_line_gc_list()
417 line->id, vsc, in pblk_line_gc_list()
1136 *line->vsc = cpu_to_le32(line->sec_in_line); in pblk_line_init_bb()
1270 *line->vsc = cpu_to_le32(EMPTY_ENTRY); in pblk_line_reinit()
Dpblk-sysfs.c179 int msecs = 0, cur_sec = 0, vsc = 0, sec_in_line = 0; in pblk_sysfs_lines() local
261 vsc = le32_to_cpu(*l_mg->data_line->vsc); in pblk_sysfs_lines()
301 cur_data, cur_sec, msecs, vsc, sec_in_line, in pblk_sysfs_lines()
Dpblk-gc.c94 line->id, *line->vsc, gc_rq->nr_secs); in pblk_gc_line_ws()
367 line_vsc = le32_to_cpu(*line->vsc); in pblk_gc_get_victim_line()
368 victim_vsc = le32_to_cpu(*victim->vsc); in pblk_gc_get_victim_line()
Dpblk.h476 __le32 *vsc; /* Valid sector count in line */ member
976 return le32_to_cpu(*line->vsc); in pblk_line_vsc()
Dpblk-write.c126 le32_add_cpu(line->vsc, -1); in pblk_map_remaining()
Dpblk-recovery.c69 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta()
Dpblk-init.c807 line->vsc = &l_mg->vsc_list[line_id]; in pblk_setup_line_meta()