Lines Matching refs:orig_bio
473 struct bio *orig_bio; member
675 if (s->orig_bio) { in bio_complete()
676 generic_end_io_acct(s->d->disk->queue, bio_op(s->orig_bio), in bio_complete()
679 trace_bcache_request_end(s->d, s->orig_bio); in bio_complete()
680 s->orig_bio->bi_status = s->iop.status; in bio_complete()
681 bio_endio(s->orig_bio); in bio_complete()
682 s->orig_bio = NULL; in bio_complete()
687 struct bio *orig_bio, in do_bio_hook() argument
693 __bio_clone_fast(bio, orig_bio); in do_bio_hook()
731 s->orig_bio = bio; in search_alloc()
793 trace_bcache_read_retry(s->orig_bio); in cached_dev_read_error()
796 do_bio_hook(s, s->orig_bio, backing_request_endio); in cached_dev_read_error()
850 bch_data_verify(dc, s->orig_bio); in cached_dev_read_done()
871 trace_bcache_read(s->orig_bio, !s->cache_missed, s->iop.bypass); in cached_dev_read_done_bh()
1005 if (should_writeback(dc, s->orig_bio, in cached_dev_write()
1013 s->iop.bio = s->orig_bio; in cached_dev_write()