Lines Matching defs:bio
109 * nvmet_passthru_map_sg is limitted to using a single bio so limit
263 struct bio *bio;
270 bio = &req->p.inline_bio;
271 bio_init(bio, NULL, req->inline_bvec,
274 bio = bio_alloc(NULL, bio_max_segs(req->sg_cnt), req_op(rq),
276 bio->bi_end_io = bio_put;
280 if (bio_add_pc_page(rq->q, bio, sg_page(sg), sg->length,
282 nvmet_req_bio_put(req, bio);
287 blk_rq_bio_prep(rq, bio, req->sg_cnt);