Home
last modified time | relevance | path

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

/drivers/md/
Ddm-zone.c370 struct bio *orig_bio, struct bio *clone) in dm_zone_map_bio_begin() argument
373 unsigned int zno = bio_zone_no(orig_bio); in dm_zone_map_bio_begin()
388 switch (bio_op(orig_bio)) { in dm_zone_map_bio_begin()
406 (orig_bio->bi_opf & (~REQ_OP_MASK)); in dm_zone_map_bio_begin()
408 orig_bio->bi_iter.bi_sector + zwp_offset; in dm_zone_map_bio_begin()
429 struct bio *orig_bio, in dm_zone_map_bio_end() argument
432 unsigned int zno = bio_zone_no(orig_bio); in dm_zone_map_bio_end()
440 switch (bio_op(orig_bio)) { in dm_zone_map_bio_end()
458 if (nr_sectors != bio_sectors(orig_bio)) { in dm_zone_map_bio_end()
494 static bool dm_need_zone_wp_tracking(struct bio *orig_bio) in dm_need_zone_wp_tracking() argument
[all …]
Ddm-core.h235 struct bio *orig_bio; member
Ddm.c521 dm_io_acct(false, io->md, io->orig_bio, io->start_time, &io->stats_aux); in start_io_acct()
549 io->orig_bio = bio; in alloc_io()
821 bio = io->orig_bio; in dm_io_dec_pending()
1251 trace_block_bio_remap(clone, bio_dev(io->orig_bio), sector); in __map_bio()
1574 ci.io->orig_bio = b; in __split_and_process_bio()
Dmd.h696 struct bio *orig_bio; member
Dmd.c8675 struct bio *orig_bio = md_io_acct->orig_bio; in md_end_io_acct() local
8677 if (bio->bi_status && !orig_bio->bi_status) in md_end_io_acct()
8678 orig_bio->bi_status = bio->bi_status; in md_end_io_acct()
8680 bio_end_io_acct(orig_bio, md_io_acct->start_time); in md_end_io_acct()
8682 bio_endio(orig_bio); in md_end_io_acct()
8699 md_io_acct->orig_bio = *bio; in md_account_bio()
Draid5.c5364 struct bio *raid_bi = md_io_acct->orig_bio; in raid5_align_endio()
5443 md_io_acct->orig_bio = raid_bio; in raid5_read_one_chunk()
/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
689 __bio_clone_fast(bio, orig_bio); in do_bio_hook()
728 s->orig_bio = bio; in search_alloc()
[all …]