Searched refs:min_write_pgs (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-map.c | 33 int nr_secs = pblk->min_write_pgs; in pblk_map_page_data() 104 int min = pblk->min_write_pgs; in pblk_map_rq() 134 int min = pblk->min_write_pgs; in pblk_map_erase_rq()
|
D | pblk-recovery.c | 99 for (i = 0; i < written_secs; i += pblk->min_write_pgs) in pblk_update_line_wp() 100 __pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_update_line_wp() 209 if (rq_ppas < pblk->min_write_pgs) { in pblk_recov_pad_line() 236 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_pad_line() 241 w_ptr += pblk->min_write_pgs; in pblk_recov_pad_line() 246 for (j = 0; j < pblk->min_write_pgs; j++, i++, w_ptr++) { in pblk_recov_pad_line() 390 rq_ppas = pblk->min_write_pgs; in pblk_recov_scan_oob() 413 paddr += pblk->min_write_pgs; in pblk_recov_scan_oob() 418 for (j = 0; j < pblk->min_write_pgs; j++, i++) in pblk_recov_scan_oob()
|
D | pblk-init.c | 282 div_u64_rem(geo->clba, pblk->min_write_pgs, &mod); in pblk_set_addrf() 392 pblk->min_write_pgs = geo->ws_opt; in pblk_core_init() 393 pblk->min_write_pgs_data = pblk->min_write_pgs; in pblk_core_init() 394 max_write_ppas = pblk->min_write_pgs * geo->all_luns; in pblk_core_init() 398 pblk_set_sec_per_write(pblk, pblk->min_write_pgs); in pblk_core_init() 409 if (pblk->min_write_pgs in pblk_core_init() 428 pblk->max_write_pgs = pblk->min_write_pgs; in pblk_core_init() 429 pblk->min_write_pgs_data = pblk->min_write_pgs - 1; in pblk_core_init() 432 pblk->pad_dist = kcalloc(pblk->min_write_pgs - 1, sizeof(atomic64_t), in pblk_core_init() 700 clba = (geo->clba / pblk->min_write_pgs) * pblk->min_write_pgs_data; in pblk_set_provision() [all …]
|
D | pblk-sysfs.c | 398 int buckets = pblk->min_write_pgs - 1; in pblk_sysfs_get_padding_dist() 489 if (sec_per_write < pblk->min_write_pgs in pblk_sysfs_set_sec_per_write() 491 || sec_per_write % pblk->min_write_pgs != 0) in pblk_sysfs_set_sec_per_write() 528 int buckets = pblk->min_write_pgs - 1; in pblk_sysfs_set_padding_dist()
|
D | pblk-write.c | 379 int rq_ppas = pblk->min_write_pgs; in pblk_submit_meta_io() 613 packed_meta_pgs = (pblk->min_write_pgs - pblk->min_write_pgs_data); in pblk_submit_write()
|
D | pblk-rb.c | 570 pad += (pblk->min_write_pgs - pblk->min_write_pgs_data); in pblk_rb_read_to_bio() 624 if (pad < pblk->min_write_pgs) in pblk_rb_read_to_bio()
|
D | pblk-core.c | 413 * (pblk->min_write_pgs - pblk->min_write_pgs_data); in pblk_line_gc_list() 582 int min = pblk->min_write_pgs; in pblk_calc_secs() 585 if (skip_meta && pblk->min_write_pgs_data != pblk->min_write_pgs) in pblk_calc_secs() 775 int min = pblk->min_write_pgs; in pblk_line_emeta_read()
|
D | pblk.h | 612 int min_write_pgs; /* Minimum amount of pages required by controller */ member 1188 return !(nr_secs % pblk->min_write_pgs); in pblk_io_aligned()
|