Lines Matching refs:rq_ppas

121 	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()
275 if (rq_ppas < pblk->min_write_pgs) { in pblk_recov_pad_oob()
280 rq_len = rq_ppas * geo->csecs; in pblk_recov_pad_oob()
291 bio = pblk_bio_map_addr(pblk, data, rq_ppas, rq_len, in pblk_recov_pad_oob()
307 rqd->nr_ppas = rq_ppas; in pblk_recov_pad_oob()
350 left_line_ppas -= rq_ppas; in pblk_recov_pad_oob()
351 left_ppas -= rq_ppas; in pblk_recov_pad_oob()
398 int rq_ppas, rq_len; in pblk_recov_scan_all_oob() local
418 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0); in pblk_recov_scan_all_oob()
419 if (!rq_ppas) in pblk_recov_scan_all_oob()
420 rq_ppas = pblk->min_write_pgs; in pblk_recov_scan_all_oob()
421 rq_len = rq_ppas * geo->csecs; in pblk_recov_scan_all_oob()
433 rqd->nr_ppas = rq_ppas; in pblk_recov_scan_all_oob()
438 if (pblk_io_aligned(pblk, rq_ppas)) in pblk_recov_scan_all_oob()
513 left_ppas -= rq_ppas; in pblk_recov_scan_all_oob()
532 int rq_ppas, rq_len; in pblk_recov_scan_oob() local
549 rq_ppas = pblk_calc_secs(pblk, left_ppas, 0); in pblk_recov_scan_oob()
550 if (!rq_ppas) in pblk_recov_scan_oob()
551 rq_ppas = pblk->min_write_pgs; in pblk_recov_scan_oob()
552 rq_len = rq_ppas * geo->csecs; in pblk_recov_scan_oob()
564 rqd->nr_ppas = rq_ppas; in pblk_recov_scan_oob()
569 if (pblk_io_aligned(pblk, rq_ppas)) in pblk_recov_scan_oob()
630 left_ppas -= rq_ppas; in pblk_recov_scan_oob()