Home
last modified time | relevance | path

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

/Linux-v4.19/block/
Dblk-map.c20 struct bio *orig_bio = *bio; in blk_rq_append_bio() local
28 if (orig_bio != *bio) { in blk_rq_append_bio()
30 *bio = orig_bio; in blk_rq_append_bio()
63 struct bio *bio, *orig_bio; in __blk_rq_map_user_iov() local
77 orig_bio = bio; in __blk_rq_map_user_iov()
85 __blk_rq_unmap_user(orig_bio); in __blk_rq_map_user_iov()
221 struct bio *bio, *orig_bio; in blk_rq_map_kern() local
244 orig_bio = bio; in blk_rq_map_kern()
248 bio_put(orig_bio); in blk_rq_map_kern()
/Linux-v4.19/drivers/md/bcache/
Drequest.c471 struct bio *orig_bio; member
673 if (s->orig_bio) { in bio_complete()
674 generic_end_io_acct(s->d->disk->queue, bio_op(s->orig_bio), in bio_complete()
677 trace_bcache_request_end(s->d, s->orig_bio); in bio_complete()
678 s->orig_bio->bi_status = s->iop.status; in bio_complete()
679 bio_endio(s->orig_bio); in bio_complete()
680 s->orig_bio = NULL; in bio_complete()
685 struct bio *orig_bio, in do_bio_hook() argument
691 __bio_clone_fast(bio, orig_bio); in do_bio_hook()
729 s->orig_bio = bio; in search_alloc()
[all …]
/Linux-v4.19/fs/btrfs/
Dlzo.c308 struct bio *orig_bio = cb->orig_bio; in lzo_decompress_bio() local
414 tot_out, disk_start, orig_bio); in lzo_decompress_bio()
421 zero_fill_bio(orig_bio); in lzo_decompress_bio()
Dzlib.c216 struct bio *orig_bio = cb->orig_bio; in zlib_decompress_bio() local
257 orig_bio); in zlib_decompress_bio()
290 zero_fill_bio(orig_bio); in zlib_decompress_bio()
Dcompression.c125 ASSERT(btrfs_io_bio(cb->orig_bio)); in end_compressed_bio_read()
126 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read()
161 bio_io_error(cb->orig_bio); in end_compressed_bio_read()
171 bio_for_each_segment_all(bvec, cb->orig_bio, i) in end_compressed_bio_read()
174 bio_endio(cb->orig_bio); in end_compressed_bio_read()
321 cb->orig_bio = NULL; in btrfs_submit_compressed_write()
425 last_offset = bio_end_offset(cb->orig_bio); in add_ra_bio_pages()
475 (em->block_start >> 9) != cb->orig_bio->bi_iter.bi_sector) { in add_ra_bio_pages()
498 ret = bio_add_page(cb->orig_bio, page, in add_ra_bio_pages()
581 cb->orig_bio = bio; in btrfs_submit_compressed_read()
Dzstd.c264 struct bio *orig_bio = cb->orig_bio; in zstd_decompress_bio() local
305 buf_start, total_out, disk_start, orig_bio); in zstd_decompress_bio()
330 zero_fill_bio(orig_bio); in zstd_decompress_bio()
Dcompression.h58 struct bio *orig_bio; member
Dbtrfs_inode.h306 struct bio *orig_bio; member
Dvolumes.h301 struct bio *orig_bio; member
Dinode.c8173 bio_io_error(dip->orig_bio); in btrfs_end_dio_bio()
8176 bio_endio(dip->orig_bio); in btrfs_end_dio_bio()
8188 struct btrfs_io_bio *orig_io_bio = btrfs_io_bio(dip->orig_bio); in btrfs_lookup_and_bind_dio_csum()
8197 ret = btrfs_lookup_bio_sums_dio(inode, dip->orig_bio, in btrfs_lookup_and_bind_dio_csum()
8203 if (bio == dip->orig_bio) in btrfs_lookup_and_bind_dio_csum()
8264 struct bio *orig_bio = dip->orig_bio; in btrfs_submit_direct_hook() local
8265 u64 start_sector = orig_bio->bi_iter.bi_sector; in btrfs_submit_direct_hook()
8275 map_length = orig_bio->bi_iter.bi_size; in btrfs_submit_direct_hook()
8277 ret = btrfs_map_block(fs_info, btrfs_op(orig_bio), start_sector << 9, in btrfs_submit_direct_hook()
8283 bio = orig_bio; in btrfs_submit_direct_hook()
[all …]
Dvolumes.c6030 if (bio == bbio->orig_bio) in btrfs_end_bio()
6038 bio = bbio->orig_bio; in btrfs_end_bio()
6141 WARN_ON(bio != bbio->orig_bio); in bbio_error()
6178 bbio->orig_bio = first_bio; in btrfs_map_bio()
/Linux-v4.19/drivers/md/
Ddm.c97 struct bio *orig_bio; member
552 io->orig_bio = bio; in alloc_io()
607 struct bio *bio = io->orig_bio; in start_io_acct()
627 struct bio *bio = io->orig_bio; in end_io_acct()
882 bio_list_add_head(&md->deferred, io->orig_bio); in dec_pending()
890 bio = io->orig_bio; in dec_pending()
1171 struct bio *report_bio = tio->io->orig_bio; in dm_remap_zone_report()
1276 bio_dev(io->orig_bio), sector); in __map_bio()
1625 ci.io->orig_bio = b; in __split_and_process_bio()
/Linux-v4.19/drivers/lightnvm/
Dpblk-read.c240 struct bio *bio = pr_ctx->orig_bio; in pblk_end_partial_read()
350 pr_ctx->orig_bio = bio; in pblk_setup_partial_read()
Dpblk.h124 struct bio *orig_bio; member