Searched refs:vsc (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/drivers/lightnvm/ |
D | pblk-core.c | 169 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()
|
D | pblk-sysfs.c | 179 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()
|
D | pblk-gc.c | 94 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()
|
D | pblk.h | 476 __le32 *vsc; /* Valid sector count in line */ member 976 return le32_to_cpu(*line->vsc); in pblk_line_vsc()
|
D | pblk-write.c | 126 le32_add_cpu(line->vsc, -1); in pblk_map_remaining()
|
D | pblk-recovery.c | 69 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta()
|
D | pblk-init.c | 807 line->vsc = &l_mg->vsc_list[line_id]; in pblk_setup_line_meta()
|