Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/lightnvm/
Dpblk-core.c605 pblk->lm.sec_per_line, line->cur_sec); in pblk_dealloc_page()
621 if (line->cur_sec + nr_secs > pblk->lm.sec_per_line) { in __pblk_alloc_page()
623 nr_secs = pblk->lm.sec_per_line - line->cur_sec; in __pblk_alloc_page()
627 pblk->lm.sec_per_line, line->cur_sec); in __pblk_alloc_page()
656 pblk->lm.sec_per_line, line->cur_sec); in pblk_lookup_page()
1070 line->sec_in_line = lm->sec_per_line; in pblk_line_init_bb()
1077 lm->sec_per_line); in pblk_line_init_bb()
1079 lm->sec_per_line); in pblk_line_init_bb()
1095 bitmap_copy(line->invalid_bitmap, line->map_bitmap, lm->sec_per_line); in pblk_line_init_bb()
1101 off = lm->sec_per_line; in pblk_line_init_bb()
[all …]
Dpblk-sysfs.c270 lm->sec_per_line); in pblk_sysfs_lines()
283 geo->all_luns, lm->blk_per_line, lm->sec_per_line); in pblk_sysfs_lines()
303 map_weight, lm->sec_per_line, in pblk_sysfs_lines()
331 lm->sec_per_line, in pblk_sysfs_lines_info()
Dpblk-init.c634 lm->dsec_per_line = lm->sec_per_line - lm->emeta_sec[0]; in calc_emeta_len()
907 for (i = 0; i < lm->sec_per_line; i += bb_distance) in pblk_line_mg_init()
941 lm->sec_per_line = geo->clba * geo->all_luns; in pblk_line_meta_init()
944 lm->sec_bitmap_len = BITS_TO_LONGS(lm->sec_per_line) * sizeof(long); in pblk_line_meta_init()
946 lm->mid_thrs = lm->sec_per_line / 2; in pblk_line_meta_init()
947 lm->high_thrs = lm->sec_per_line / 4; in pblk_line_meta_init()
Dpblk-gc.c209 bitmap_copy(invalid_bitmap, line->invalid_bitmap, lm->sec_per_line); in pblk_gc_line_prepare_ws()
226 bit = find_next_zero_bit(invalid_bitmap, lm->sec_per_line, in pblk_gc_line_prepare_ws()
Dpblk.h563 unsigned int sec_per_line; /* Number of sectors in a line */ member
1302 if (paddr > lm->sec_per_line) in pblk_boundary_paddr_checks()
Dpblk-recovery.c554 emeta_start = lm->sec_per_line; in pblk_line_emeta_start()