tio 86 drivers/md/dm-rq.c struct dm_rq_target_io *tio = info->tio; tio 93 drivers/md/dm-rq.c if (tio->error) tio 106 drivers/md/dm-rq.c tio->error = error; tio 114 drivers/md/dm-rq.c tio->completed += nr_bytes; tio 123 drivers/md/dm-rq.c blk_update_request(tio->orig, BLK_STS_OK, tio->completed); tio 134 drivers/md/dm-rq.c struct dm_rq_target_io *tio = tio_from_request(orig); tio 135 drivers/md/dm-rq.c tio->duration_jiffies = jiffies - tio->duration_jiffies; tio 137 drivers/md/dm-rq.c blk_rq_pos(orig), tio->n_sectors, true, tio 138 drivers/md/dm-rq.c tio->duration_jiffies, &tio->stats_aux); tio 166 drivers/md/dm-rq.c struct dm_rq_target_io *tio = clone->end_io_data; tio 167 drivers/md/dm-rq.c struct mapped_device *md = tio->md; tio 168 drivers/md/dm-rq.c struct request *rq = tio->orig; tio 171 drivers/md/dm-rq.c tio->ti->type->release_clone_rq(clone, NULL); tio 195 drivers/md/dm-rq.c static void dm_requeue_original_request(struct dm_rq_target_io *tio, bool delay_requeue) tio 197 drivers/md/dm-rq.c struct mapped_device *md = tio->md; tio 198 drivers/md/dm-rq.c struct request *rq = tio->orig; tio 202 drivers/md/dm-rq.c if (tio->clone) { tio 203 drivers/md/dm-rq.c blk_rq_unprep_clone(tio->clone); tio 204 drivers/md/dm-rq.c tio->ti->type->release_clone_rq(tio->clone, NULL); tio 214 drivers/md/dm-rq.c struct dm_rq_target_io *tio = clone->end_io_data; tio 217 drivers/md/dm-rq.c if (tio->ti) { tio 218 drivers/md/dm-rq.c rq_end_io = tio->ti->type->rq_end_io; tio 221 drivers/md/dm-rq.c r = rq_end_io(tio->ti, clone, error, &tio->info); tio 227 drivers/md/dm-rq.c disable_discard(tio->md); tio 230 drivers/md/dm-rq.c disable_write_same(tio->md); tio 233 drivers/md/dm-rq.c disable_write_zeroes(tio->md); tio 246 drivers/md/dm-rq.c dm_requeue_original_request(tio, false); tio 250 drivers/md/dm-rq.c dm_requeue_original_request(tio, true); tio 264 drivers/md/dm-rq.c struct dm_rq_target_io *tio = tio_from_request(rq); tio 265 drivers/md/dm-rq.c struct request *clone = tio->clone; tio 268 drivers/md/dm-rq.c struct mapped_device *md = tio->md; tio 271 drivers/md/dm-rq.c blk_mq_end_request(rq, tio->error); tio 279 drivers/md/dm-rq.c dm_done(clone, tio->error, mapped); tio 288 drivers/md/dm-rq.c struct dm_rq_target_io *tio = tio_from_request(rq); tio 290 drivers/md/dm-rq.c tio->error = error; tio 308 drivers/md/dm-rq.c struct dm_rq_target_io *tio = clone->end_io_data; tio 310 drivers/md/dm-rq.c dm_complete_request(tio->orig, error); tio 331 drivers/md/dm-rq.c struct dm_rq_target_io *tio = data; tio 336 drivers/md/dm-rq.c info->tio = tio; tio 343 drivers/md/dm-rq.c struct dm_rq_target_io *tio, gfp_t gfp_mask) tio 347 drivers/md/dm-rq.c r = blk_rq_prep_clone(clone, rq, &tio->md->bs, gfp_mask, tio 348 drivers/md/dm-rq.c dm_rq_bio_constructor, tio); tio 353 drivers/md/dm-rq.c clone->end_io_data = tio; tio 355 drivers/md/dm-rq.c tio->clone = clone; tio 360 drivers/md/dm-rq.c static void init_tio(struct dm_rq_target_io *tio, struct request *rq, tio 363 drivers/md/dm-rq.c tio->md = md; tio 364 drivers/md/dm-rq.c tio->ti = NULL; tio 365 drivers/md/dm-rq.c tio->clone = NULL; tio 366 drivers/md/dm-rq.c tio->orig = rq; tio 367 drivers/md/dm-rq.c tio->error = 0; tio 368 drivers/md/dm-rq.c tio->completed = 0; tio 375 drivers/md/dm-rq.c memset(&tio->info, 0, sizeof(tio->info)); tio 384 drivers/md/dm-rq.c static int map_request(struct dm_rq_target_io *tio) tio 387 drivers/md/dm-rq.c struct dm_target *ti = tio->ti; tio 388 drivers/md/dm-rq.c struct mapped_device *md = tio->md; tio 389 drivers/md/dm-rq.c struct request *rq = tio->orig; tio 393 drivers/md/dm-rq.c r = ti->type->clone_and_map_rq(ti, rq, &tio->info, &clone); tio 399 drivers/md/dm-rq.c if (setup_clone(clone, rq, tio, GFP_ATOMIC)) { tio 401 drivers/md/dm-rq.c ti->type->release_clone_rq(clone, &tio->info); tio 412 drivers/md/dm-rq.c tio->ti->type->release_clone_rq(clone, &tio->info); tio 413 drivers/md/dm-rq.c tio->clone = NULL; tio 422 drivers/md/dm-rq.c dm_requeue_original_request(tio, true); tio 453 drivers/md/dm-rq.c struct dm_rq_target_io *tio = tio_from_request(orig); tio 454 drivers/md/dm-rq.c tio->duration_jiffies = jiffies; tio 455 drivers/md/dm-rq.c tio->n_sectors = blk_rq_sectors(orig); tio 457 drivers/md/dm-rq.c blk_rq_pos(orig), tio->n_sectors, false, 0, tio 458 drivers/md/dm-rq.c &tio->stats_aux); tio 475 drivers/md/dm-rq.c struct dm_rq_target_io *tio = blk_mq_rq_to_pdu(rq); tio 481 drivers/md/dm-rq.c tio->md = md; tio 485 drivers/md/dm-rq.c tio->info.ptr = tio + 1; tio 495 drivers/md/dm-rq.c struct dm_rq_target_io *tio = blk_mq_rq_to_pdu(rq); tio 496 drivers/md/dm-rq.c struct mapped_device *md = tio->md; tio 513 drivers/md/dm-rq.c init_tio(tio, rq, md); tio 518 drivers/md/dm-rq.c tio->ti = ti; tio 521 drivers/md/dm-rq.c if (map_request(tio) == DM_MAPIO_REQUEUE) { tio 29 drivers/md/dm-rq.h struct dm_rq_target_io *tio; tio 102 drivers/md/dm.c struct dm_target_io tio; tio 107 drivers/md/dm.c struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); tio 108 drivers/md/dm.c if (!tio->inside_dm_io) tio 110 drivers/md/dm.c return (char *)bio - offsetof(struct dm_target_io, clone) - offsetof(struct dm_io, tio) - data_size; tio 118 drivers/md/dm.c return (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clone)); tio 568 drivers/md/dm.c struct dm_target_io *tio; tio 575 drivers/md/dm.c tio = container_of(clone, struct dm_target_io, clone); tio 576 drivers/md/dm.c tio->inside_dm_io = true; tio 577 drivers/md/dm.c tio->io = NULL; tio 579 drivers/md/dm.c io = container_of(tio, struct dm_io, tio); tio 594 drivers/md/dm.c bio_put(&io->tio.clone); tio 600 drivers/md/dm.c struct dm_target_io *tio; tio 602 drivers/md/dm.c if (!ci->io->tio.io) { tio 604 drivers/md/dm.c tio = &ci->io->tio; tio 610 drivers/md/dm.c tio = container_of(clone, struct dm_target_io, clone); tio 611 drivers/md/dm.c tio->inside_dm_io = false; tio 614 drivers/md/dm.c tio->magic = DM_TIO_MAGIC; tio 615 drivers/md/dm.c tio->io = ci->io; tio 616 drivers/md/dm.c tio->ti = ti; tio 617 drivers/md/dm.c tio->target_bio_nr = target_bio_nr; tio 619 drivers/md/dm.c return tio; tio 622 drivers/md/dm.c static void free_tio(struct dm_target_io *tio) tio 624 drivers/md/dm.c if (tio->inside_dm_io) tio 626 drivers/md/dm.c bio_put(&tio->clone); tio 976 drivers/md/dm.c struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); tio 977 drivers/md/dm.c struct dm_io *io = tio->io; tio 978 drivers/md/dm.c struct mapped_device *md = tio->io->md; tio 979 drivers/md/dm.c dm_endio_fn endio = tio->ti->type->end_io; tio 994 drivers/md/dm.c int r = endio(tio->ti, bio, &error); tio 1010 drivers/md/dm.c free_tio(tio); tio 1205 drivers/md/dm.c struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); tio 1208 drivers/md/dm.c BUG_ON(bi_size > *tio->len_ptr); tio 1210 drivers/md/dm.c *tio->len_ptr -= bi_size - n_sectors; tio 1263 drivers/md/dm.c static blk_qc_t __map_bio(struct dm_target_io *tio) tio 1267 drivers/md/dm.c struct bio *clone = &tio->clone; tio 1268 drivers/md/dm.c struct dm_io *io = tio->io; tio 1270 drivers/md/dm.c struct dm_target *ti = tio->ti; tio 1297 drivers/md/dm.c free_tio(tio); tio 1301 drivers/md/dm.c free_tio(tio); tio 1321 drivers/md/dm.c static int clone_bio(struct dm_target_io *tio, struct bio *bio, tio 1324 drivers/md/dm.c struct bio *clone = &tio->clone; tio 1331 drivers/md/dm.c if (unlikely(!dm_target_has_integrity(tio->ti->type) && tio 1332 drivers/md/dm.c !dm_target_passes_integrity(tio->ti->type))) { tio 1334 drivers/md/dm.c dm_device_name(tio->io->md), tio 1335 drivers/md/dm.c tio->ti->type->name); tio 1356 drivers/md/dm.c struct dm_target_io *tio; tio 1363 drivers/md/dm.c tio = alloc_tio(ci, ti, 0, GFP_NOIO); tio 1364 drivers/md/dm.c bio_list_add(blist, &tio->clone); tio 1375 drivers/md/dm.c tio = alloc_tio(ci, ti, bio_nr, try ? GFP_NOIO : GFP_NOWAIT); tio 1376 drivers/md/dm.c if (!tio) tio 1379 drivers/md/dm.c bio_list_add(blist, &tio->clone); tio 1387 drivers/md/dm.c tio = container_of(bio, struct dm_target_io, clone); tio 1388 drivers/md/dm.c free_tio(tio); tio 1394 drivers/md/dm.c struct dm_target_io *tio, unsigned *len) tio 1396 drivers/md/dm.c struct bio *clone = &tio->clone; tio 1398 drivers/md/dm.c tio->len_ptr = len; tio 1404 drivers/md/dm.c return __map_bio(tio); tio 1412 drivers/md/dm.c struct dm_target_io *tio; tio 1417 drivers/md/dm.c tio = container_of(bio, struct dm_target_io, clone); tio 1418 drivers/md/dm.c (void) __clone_and_map_simple_bio(ci, tio, len); tio 1449 drivers/md/dm.c struct dm_target_io *tio; tio 1452 drivers/md/dm.c tio = alloc_tio(ci, ti, 0, GFP_NOIO); tio 1453 drivers/md/dm.c tio->len_ptr = len; tio 1454 drivers/md/dm.c r = clone_bio(tio, bio, sector, *len); tio 1456 drivers/md/dm.c free_tio(tio); tio 1459 drivers/md/dm.c (void) __map_bio(tio); tio 1705 drivers/md/dm.c struct dm_target_io *tio; tio 1712 drivers/md/dm.c tio = alloc_tio(&ci, ti, 0, GFP_NOIO); tio 1713 drivers/md/dm.c ret = __clone_and_map_simple_bio(&ci, tio, NULL); tio 3005 drivers/md/dm.c io_front_pad = roundup(front_pad, __alignof__(struct dm_io)) + offsetof(struct dm_io, tio); tio 47 sound/soc/sh/rcar/cmd.c struct rsnd_dai_stream *tio; tio 57 sound/soc/sh/rcar/cmd.c tio = &rdai->playback; tio 58 sound/soc/sh/rcar/cmd.c src = rsnd_io_to_mod_src(tio); tio 59 sound/soc/sh/rcar/cmd.c if (mix == rsnd_io_to_mod_mix(tio)) tio 62 sound/soc/sh/rcar/cmd.c tio = &rdai->capture; tio 63 sound/soc/sh/rcar/cmd.c src = rsnd_io_to_mod_src(tio); tio 64 sound/soc/sh/rcar/cmd.c if (mix == rsnd_io_to_mod_mix(tio))