Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/bcache/
Drequest.c468 struct bio *orig_bio; member
671 if (s->orig_bio) { in bio_complete()
673 part_end_io_acct(s->part, s->orig_bio, s->start_time); in bio_complete()
675 trace_bcache_request_end(s->d, s->orig_bio); in bio_complete()
676 s->orig_bio->bi_status = s->iop.status; in bio_complete()
677 bio_endio(s->orig_bio); in bio_complete()
678 s->orig_bio = NULL; in bio_complete()
683 struct bio *orig_bio, in do_bio_hook() argument
689 __bio_clone_fast(bio, orig_bio); in do_bio_hook()
727 s->orig_bio = bio; in search_alloc()
[all …]
/kernel/linux/linux-5.10/block/
Dblk-map.c526 struct bio *orig_bio = *bio; in blk_rq_append_bio() local
540 if (orig_bio != *bio) { in blk_rq_append_bio()
542 *bio = orig_bio; in blk_rq_append_bio()
689 struct bio *bio, *orig_bio; in blk_rq_map_kern() local
708 orig_bio = bio; in blk_rq_map_kern()
712 bio_put(orig_bio); in blk_rq_map_kern()
/kernel/linux/linux-5.10/fs/btrfs/
Dlzo.c306 struct bio *orig_bio = cb->orig_bio; in lzo_decompress_bio() local
412 tot_out, disk_start, orig_bio); in lzo_decompress_bio()
419 zero_fill_bio(orig_bio); in lzo_decompress_bio()
Dzlib.c290 struct bio *orig_bio = cb->orig_bio; in zlib_decompress_bio() local
331 orig_bio); in zlib_decompress_bio()
364 zero_fill_bio(orig_bio); in zlib_decompress_bio()
Dcompression.c216 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read()
251 bio_io_error(cb->orig_bio); in end_compressed_bio_read()
261 bio_for_each_segment_all(bvec, cb->orig_bio, iter_all) in end_compressed_bio_read()
264 bio_endio(cb->orig_bio); in end_compressed_bio_read()
406 cb->orig_bio = NULL; in btrfs_submit_compressed_write()
519 last_offset = bio_end_offset(cb->orig_bio); in add_ra_bio_pages()
567 (em->block_start >> 9) != cb->orig_bio->bi_iter.bi_sector) { in add_ra_bio_pages()
590 ret = bio_add_page(cb->orig_bio, page, in add_ra_bio_pages()
671 cb->orig_bio = bio; in btrfs_submit_compressed_read()
Dzstd.c551 struct bio *orig_bio = cb->orig_bio; in zstd_decompress_bio() local
592 buf_start, total_out, disk_start, orig_bio); in zstd_decompress_bio()
617 zero_fill_bio(orig_bio); in zstd_decompress_bio()
Dcompression.h60 struct bio *orig_bio; member
Draid56.c1755 static void rbio_add_bio(struct btrfs_raid_bio *rbio, struct bio *orig_bio) in rbio_add_bio() argument
1758 const u64 orig_logical = orig_bio->bi_iter.bi_sector << SECTOR_SHIFT; in rbio_add_bio()
1760 const u32 orig_len = orig_bio->bi_iter.bi_size; in rbio_add_bio()
1768 bio_list_add(&rbio->bio_list, orig_bio); in rbio_add_bio()
1769 rbio->bio_list_bytes += orig_bio->bi_iter.bi_size; in rbio_add_bio()
Dvolumes.h329 struct bio *orig_bio; member
Dvolumes.c6385 if (bio == bbio->orig_bio) in btrfs_end_bio()
6393 bio = bbio->orig_bio; in btrfs_end_bio()
6442 WARN_ON(bio != bbio->orig_bio); in bbio_error()
6479 bbio->orig_bio = first_bio; in btrfs_map_bio()
/kernel/linux/linux-5.10/drivers/md/
Ddm.c100 struct bio *orig_bio; member
600 struct bio *bio = io->orig_bio; in start_io_acct()
646 io->orig_bio = bio; in alloc_io()
925 bio_list_add_head(&md->deferred, io->orig_bio); in dec_pending()
933 bio = io->orig_bio; in dec_pending()
995 struct bio *orig_bio = io->orig_bio; in clone_endio() local
1013 if (bio_op(orig_bio) == REQ_OP_ZONE_APPEND) { in clone_endio()
1015 struct request_queue *q = orig_bio->bi_disk->queue; in clone_endio()
1018 orig_bio->bi_iter.bi_sector += written_sector & mask; in clone_endio()
1330 bio_dev(io->orig_bio), sector); in __map_bio()
[all …]