Home
last modified time | relevance | path

Searched refs:rq_ppas (Results 1 – 3 of 3) sorted by relevance

/drivers/lightnvm/
Dpblk-recovery.c185 int left_line_ppas, rq_ppas; in pblk_recov_pad_line() local
208 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0, false); in pblk_recov_pad_line()
209 if (rq_ppas < pblk->min_write_pgs) { in pblk_recov_pad_line()
225 rqd->nr_ppas = rq_ppas; in pblk_recov_pad_line()
273 left_line_ppas -= rq_ppas; in pblk_recov_pad_line()
274 left_ppas -= rq_ppas; in pblk_recov_pad_line()
368 int rq_ppas; in pblk_recov_scan_oob() local
388 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0, false); in pblk_recov_scan_oob()
389 if (!rq_ppas) in pblk_recov_scan_oob()
390 rq_ppas = pblk->min_write_pgs; in pblk_recov_scan_oob()
[all …]
Dpblk-write.c379 int rq_ppas = pblk->min_write_pgs; in pblk_submit_meta_io() local
390 rq_len = rq_ppas * geo->csecs; in pblk_submit_meta_io()
393 ret = pblk_alloc_w_rq(pblk, rqd, rq_ppas, pblk_end_io_write_meta); in pblk_submit_meta_io()
400 paddr = __pblk_alloc_page(pblk, meta_line, rq_ppas); in pblk_submit_meta_io()
402 for (j = 0; j < rq_ppas; j++, i++, paddr++) in pblk_submit_meta_io()
425 pblk_dealloc_page(pblk, meta_line, rq_ppas); in pblk_submit_meta_io()
Dpblk-core.c778 int rq_ppas, rq_len; in pblk_line_emeta_read() local
793 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0, false); in pblk_line_emeta_read()
794 rq_len = rq_ppas * geo->csecs; in pblk_line_emeta_read()
801 rqd.nr_ppas = rq_ppas; in pblk_line_emeta_read()
808 if (pblk_io_aligned(pblk, rq_ppas)) in pblk_line_emeta_read()
846 left_ppas -= rq_ppas; in pblk_line_emeta_read()