Lines Matching refs:orig
21 struct request *orig, *clone; member
83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio()
119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio()
127 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats() argument
130 struct dm_rq_target_io *tio = tio_from_request(orig); in rq_end_stats()
133 dm_stats_account_io(&md->stats, rq_data_dir(orig), in rq_end_stats()
134 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats()
161 struct request *rq = tio->orig; in dm_end_request()
191 struct request *rq = tio->orig; in dm_requeue_original_request()
302 dm_complete_request(tio->orig, error); in end_clone_request()
313 info->orig = bio_orig; in dm_rq_bio_constructor()
344 tio->orig = rq; in init_tio()
367 struct request *rq = tio->orig; in map_request()
433 static void dm_start_request(struct mapped_device *md, struct request *orig) in dm_start_request() argument
435 blk_mq_start_request(orig); in dm_start_request()
438 struct dm_rq_target_io *tio = tio_from_request(orig); in dm_start_request()
441 tio->n_sectors = blk_rq_sectors(orig); in dm_start_request()
442 dm_stats_account_io(&md->stats, rq_data_dir(orig), in dm_start_request()
443 blk_rq_pos(orig), tio->n_sectors, false, 0, in dm_start_request()