Lines Matching refs:bio_orig
104 struct bio *bio_orig = bio->bi_private; in bounce_end_io() local
106 struct bvec_iter orig_iter = bio_orig->bi_iter; in bounce_end_io()
113 orig_vec = bio_iter_iovec(bio_orig, orig_iter); in bounce_end_io()
118 bio_advance_iter(bio_orig, &orig_iter, orig_vec.bv_len); in bounce_end_io()
121 bio_orig->bi_status = bio->bi_status; in bounce_end_io()
122 bio_endio(bio_orig); in bounce_end_io()
133 struct bio *bio_orig = bio->bi_private; in bounce_end_io_read() local
136 copy_to_high_bio_irq(bio_orig, bio); in bounce_end_io_read()
210 void __blk_queue_bounce(struct request_queue *q, struct bio **bio_orig) in __blk_queue_bounce() argument
213 int rw = bio_data_dir(*bio_orig); in __blk_queue_bounce()
220 bio_for_each_segment(from, *bio_orig, iter) { in __blk_queue_bounce()
229 if (sectors < bio_sectors(*bio_orig)) { in __blk_queue_bounce()
230 bio = bio_split(*bio_orig, sectors, GFP_NOIO, &bounce_bio_split); in __blk_queue_bounce()
231 bio_chain(bio, *bio_orig); in __blk_queue_bounce()
232 submit_bio_noacct(*bio_orig); in __blk_queue_bounce()
233 *bio_orig = bio; in __blk_queue_bounce()
235 bio = bounce_clone_bio(*bio_orig); in __blk_queue_bounce()
258 trace_block_bio_bounce(*bio_orig); in __blk_queue_bounce()
267 bio->bi_private = *bio_orig; in __blk_queue_bounce()
268 *bio_orig = bio; in __blk_queue_bounce()