Lines Matching defs:bio
52 * nvmet_passthru_map_sg is limitted to using a single bio so limit
192 struct bio *bio;
203 bio = bio_alloc(GFP_KERNEL, req->sg_cnt);
204 bio->bi_end_io = bio_put;
205 bio->bi_opf = req_op(rq) | op_flags;
208 if (bio_add_pc_page(rq->q, bio, sg_page(sg), sg->length,
210 bio_put(bio);
215 ret = blk_rq_append_bio(rq, &bio);
217 bio_put(bio);