Home
last modified time | relevance | path

Searched refs:min_write_pgs (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/lightnvm/
Dpblk-recovery.c143 rq_ppas = pblk->min_write_pgs; in pblk_recov_read_oob()
174 r_ptr_int += pblk->min_write_pgs; in pblk_recov_read_oob()
179 for (j = 0; j < pblk->min_write_pgs; j++, i++, r_ptr_int++) in pblk_recov_read_oob()
275 if (rq_ppas < pblk->min_write_pgs) { in pblk_recov_pad_oob()
318 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_pad_oob()
323 w_ptr += pblk->min_write_pgs; in pblk_recov_pad_oob()
328 for (j = 0; j < pblk->min_write_pgs; j++, i++, w_ptr++) { in pblk_recov_pad_oob()
420 rq_ppas = pblk->min_write_pgs; in pblk_recov_scan_all_oob()
447 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_scan_all_oob()
452 w_ptr += pblk->min_write_pgs; in pblk_recov_scan_all_oob()
[all …]
Dpblk-map.c32 int nr_secs = pblk->min_write_pgs; in pblk_map_page_data()
92 int min = pblk->min_write_pgs; in pblk_map_rq()
117 int min = pblk->min_write_pgs; in pblk_map_erase_rq()
Dpblk-sysfs.c397 int buckets = pblk->min_write_pgs - 1; in pblk_sysfs_get_padding_dist()
481 if (sec_per_write < pblk->min_write_pgs in pblk_sysfs_set_sec_per_write()
483 || sec_per_write % pblk->min_write_pgs != 0) in pblk_sysfs_set_sec_per_write()
520 int buckets = pblk->min_write_pgs - 1; in pblk_sysfs_set_padding_dist()
Dpblk-init.c288 div_u64_rem(geo->clba, pblk->min_write_pgs, &mod); in pblk_set_addrf()
375 pblk->min_write_pgs = geo->ws_opt; in pblk_core_init()
376 max_write_ppas = pblk->min_write_pgs * geo->all_luns; in pblk_core_init()
380 pblk_set_sec_per_write(pblk, pblk->min_write_pgs); in pblk_core_init()
388 pblk->pad_dist = kcalloc(pblk->min_write_pgs - 1, sizeof(atomic64_t), in pblk_core_init()
998 lm->meta_distance = (geo->all_luns / 2) * pblk->min_write_pgs; in pblk_line_meta_init()
Dpblk-write.c385 int rq_ppas = pblk->min_write_pgs; in pblk_submit_meta_io()
614 if (!secs_to_flush && secs_avail < pblk->min_write_pgs) in pblk_submit_write()
Dpblk.h619 int min_write_pgs; /* Minimum amount of pages required by controller */ member
1298 return !(nr_secs % pblk->min_write_pgs); in pblk_io_aligned()
Dpblk-core.c346 if (secs_avail >= pblk->min_write_pgs) in pblk_write_should_kick()
549 int min = pblk->min_write_pgs; in pblk_calc_secs()
641 int min = pblk->min_write_pgs; in pblk_line_submit_emeta_io()
Dpblk-rb.c583 if (pad < pblk->min_write_pgs) in pblk_rb_read_to_bio()