Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/lightnvm/
Dpblk-read.c239 struct bio *new_bio = rqd->bio; in pblk_end_partial_read() local
280 src_bv = new_bio->bi_io_vec[i++]; in pblk_end_partial_read()
298 bio_put(new_bio); in pblk_end_partial_read()
317 struct bio *new_bio, *bio = r_ctx->private; in pblk_setup_partial_read() local
325 new_bio = bio_alloc(GFP_KERNEL, nr_holes); in pblk_setup_partial_read()
327 if (pblk_bio_add_pages(pblk, new_bio, GFP_KERNEL, nr_holes)) in pblk_setup_partial_read()
330 if (nr_holes != new_bio->bi_vcnt) { in pblk_setup_partial_read()
342 new_bio->bi_iter.bi_sector = 0; /* internal bio */ in pblk_setup_partial_read()
343 bio_set_op_attrs(new_bio, REQ_OP_READ, 0); in pblk_setup_partial_read()
345 rqd->bio = new_bio; in pblk_setup_partial_read()
[all …]