Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/lightnvm/
Dpblk-recovery.c121 int rq_ppas, rq_len; in pblk_recov_read_oob() local
141 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0); in pblk_recov_read_oob()
142 if (!rq_ppas) in pblk_recov_read_oob()
143 rq_ppas = pblk->min_write_pgs; in pblk_recov_read_oob()
144 rq_len = rq_ppas * geo->csecs; in pblk_recov_read_oob()
156 rqd->nr_ppas = rq_ppas; in pblk_recov_read_oob()
161 if (pblk_io_aligned(pblk, rq_ppas)) in pblk_recov_read_oob()
210 left_ppas -= rq_ppas; in pblk_recov_read_oob()
251 int left_line_ppas, rq_ppas, rq_len; in pblk_recov_pad_oob() local
274 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0); in pblk_recov_pad_oob()
[all …]
Dpblk-write.c385 int rq_ppas = pblk->min_write_pgs; in pblk_submit_meta_io() local
396 rq_len = rq_ppas * geo->csecs; in pblk_submit_meta_io()
399 bio = pblk_bio_map_addr(pblk, data, rq_ppas, rq_len, in pblk_submit_meta_io()
410 ret = pblk_alloc_w_rq(pblk, rqd, rq_ppas, pblk_end_io_write_meta); in pblk_submit_meta_io()
416 paddr = __pblk_alloc_page(pblk, meta_line, rq_ppas); in pblk_submit_meta_io()
418 for (j = 0; j < rq_ppas; j++, i++, paddr++) in pblk_submit_meta_io()
441 pblk_dealloc_page(pblk, meta_line, rq_ppas); in pblk_submit_meta_io()
Dpblk-core.c644 int rq_ppas, rq_len; in pblk_line_submit_emeta_io() local
669 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0); in pblk_line_submit_emeta_io()
670 rq_len = rq_ppas * geo->csecs; in pblk_line_submit_emeta_io()
672 bio = pblk_bio_map_addr(pblk, emeta_buf, rq_ppas, rq_len, in pblk_line_submit_emeta_io()
688 rqd.nr_ppas = rq_ppas; in pblk_line_submit_emeta_io()
710 if (pblk_io_aligned(pblk, rq_ppas)) in pblk_line_submit_emeta_io()
759 left_ppas -= rq_ppas; in pblk_line_submit_emeta_io()