Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-zone.c590 struct bio *orig_bio = io->orig_bio; in dm_zone_endio() local
608 orig_bio->bi_iter.bi_sector += in dm_zone_endio()
622 zno = bio_zone_no(orig_bio); in dm_zone_endio()
633 } else if (bio_op(orig_bio) == REQ_OP_ZONE_APPEND) { in dm_zone_endio()
639 if (WARN_ON_ONCE(zwp_offset < bio_sectors(orig_bio))) in dm_zone_endio()
643 orig_bio->bi_iter.bi_sector += in dm_zone_endio()
644 zwp_offset - bio_sectors(orig_bio); in dm_zone_endio()
Ddm-io-rewind.c147 struct bio *orig = io->orig_bio; in dm_io_rewind()
165 io->orig_bio = new_orig; in dm_io_rewind()
Ddm-core.h296 struct bio *orig_bio; member
Ddm.c499 struct bio *bio = io->orig_bio; in dm_io_acct()
589 io->orig_bio = bio; in alloc_io()
891 bio_list_add_head(&md->deferred, io->orig_bio); in dm_requeue_add_io()
909 struct bio *bio = io->orig_bio; in dm_handle_requeue()
956 struct bio *bio = io->orig_bio; in __dm_io_complete()
1351 io->sector_offset = bio_sectors(io->orig_bio); in dm_accept_partial_bio()
Dmd.h713 struct bio *orig_bio; member
Dmd.c8626 struct bio *orig_bio = md_io_acct->orig_bio; in md_end_io_acct() local
8628 orig_bio->bi_status = bio->bi_status; in md_end_io_acct()
8630 bio_end_io_acct(orig_bio, md_io_acct->start_time); in md_end_io_acct()
8632 bio_endio(orig_bio); in md_end_io_acct()
8650 md_io_acct->orig_bio = *bio; in md_account_bio()
Draid5.c5472 struct bio *raid_bi = md_io_acct->orig_bio; in raid5_align_endio()
5552 md_io_acct->orig_bio = raid_bio; in raid5_read_one_chunk()
/linux-6.1.9/drivers/md/bcache/
Drequest.c468 struct bio *orig_bio; member
671 if (s->orig_bio) { in bio_complete()
673 bio_end_io_acct_remapped(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
688 bio_init_clone(orig_bio->bi_bdev, bio, orig_bio, GFP_NOIO); in do_bio_hook()
727 s->orig_bio = bio; in search_alloc()
[all …]
/linux-6.1.9/fs/btrfs/
Dcompression.c157 btrfs_bio_end_io(btrfs_bio(cb->orig_bio), cb->status); in finish_compressed_bio_read()
519 u64 cur = bio_end_offset(cb->orig_bio); in add_ra_bio_pages()
609 (em->block_start >> 9) != cb->orig_bio->bi_iter.bi_sector) { in add_ra_bio_pages()
629 ret = bio_add_page(cb->orig_bio, page, add_size, offset_in_page(cur)); in add_ra_bio_pages()
714 cb->orig_bio = bio; in btrfs_submit_compressed_read()
1295 struct bio *orig_bio = cb->orig_bio; in btrfs_decompress_buf2page() local
1308 bvec = bio_iter_iovec(orig_bio, orig_bio->bi_iter); in btrfs_decompress_buf2page()
1333 bio_advance(orig_bio, copy_len); in btrfs_decompress_buf2page()
1335 if (!orig_bio->bi_iter.bi_size) in btrfs_decompress_buf2page()
Dcompression.h65 struct bio *orig_bio; member
Draid56.c1773 static void rbio_add_bio(struct btrfs_raid_bio *rbio, struct bio *orig_bio) in rbio_add_bio() argument
1776 const u64 orig_logical = orig_bio->bi_iter.bi_sector << SECTOR_SHIFT; in rbio_add_bio()
1778 const u32 orig_len = orig_bio->bi_iter.bi_size; in rbio_add_bio()
1786 bio_list_add(&rbio->bio_list, orig_bio); in rbio_add_bio()
1787 rbio->bio_list_bytes += orig_bio->bi_iter.bi_size; in rbio_add_bio()
Dlzo.c424 zero_fill_bio(cb->orig_bio); in lzo_decompress_bio()
Dzlib.c354 zero_fill_bio(cb->orig_bio); in zlib_decompress_bio()
Dvolumes.h501 struct bio *orig_bio; member
Dzstd.c612 zero_fill_bio(cb->orig_bio); in zstd_decompress_bio()
Dvolumes.c6812 bio_endio(stripe->bioc->orig_bio); in btrfs_clone_write_end_io()
6857 struct bio *orig_bio = bioc->orig_bio, *bio; in btrfs_submit_mirrored_bio() local
6859 ASSERT(bio_op(orig_bio) != REQ_OP_READ); in btrfs_submit_mirrored_bio()
6863 bio = orig_bio; in btrfs_submit_mirrored_bio()
6866 bio = bio_alloc_clone(NULL, orig_bio, GFP_NOFS, &fs_bio_set); in btrfs_submit_mirrored_bio()
6867 bio_inc_remaining(orig_bio); in btrfs_submit_mirrored_bio()
6923 bioc->orig_bio = bio; in btrfs_submit_bio()