Searched refs:orig_bio (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | dm-zone.c | 590 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()
|
D | dm-io-rewind.c | 147 struct bio *orig = io->orig_bio; in dm_io_rewind() 165 io->orig_bio = new_orig; in dm_io_rewind()
|
D | dm-core.h | 296 struct bio *orig_bio; member
|
D | dm.c | 499 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()
|
D | md.h | 713 struct bio *orig_bio; member
|
D | md.c | 8626 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()
|
D | raid5.c | 5472 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/ |
D | request.c | 468 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/ |
D | compression.c | 157 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()
|
D | compression.h | 65 struct bio *orig_bio; member
|
D | raid56.c | 1773 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()
|
D | lzo.c | 424 zero_fill_bio(cb->orig_bio); in lzo_decompress_bio()
|
D | zlib.c | 354 zero_fill_bio(cb->orig_bio); in zlib_decompress_bio()
|
D | volumes.h | 501 struct bio *orig_bio; member
|
D | zstd.c | 612 zero_fill_bio(cb->orig_bio); in zstd_decompress_bio()
|
D | volumes.c | 6812 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()
|