Searched refs:tio (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/md/ ! |
D | dm-rq.c | 81 struct dm_rq_target_io *tio = info->tio; in end_clone_bio() local 88 if (tio->error) in end_clone_bio() 101 tio->error = error; in end_clone_bio() 109 tio->completed += nr_bytes; in end_clone_bio() 118 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio() 129 struct dm_rq_target_io *tio = tio_from_request(orig); in rq_end_stats() local 130 tio->duration_jiffies = jiffies - tio->duration_jiffies; in rq_end_stats() 132 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats() 133 tio->duration_jiffies, &tio->stats_aux); in rq_end_stats() 157 struct dm_rq_target_io *tio = clone->end_io_data; in dm_end_request() local [all …]
|
D | dm-core.h | 252 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio)) 262 static inline bool dm_tio_flagged(struct dm_target_io *tio, unsigned int bit) in dm_tio_flagged() argument 264 return (tio->flags & (1U << bit)) != 0; in dm_tio_flagged() 267 static inline void dm_tio_set_flag(struct dm_target_io *tio, unsigned int bit) in dm_tio_set_flag() argument 269 tio->flags |= (1U << bit); in dm_tio_set_flag() 272 static inline bool dm_tio_is_normal(struct dm_target_io *tio) in dm_tio_is_normal() argument 274 return (dm_tio_flagged(tio, DM_TIO_INSIDE_DM_IO) && in dm_tio_is_normal() 275 !dm_tio_flagged(tio, DM_TIO_IS_DUPLICATE_BIO)); in dm_tio_is_normal() 301 struct dm_target_io tio; member
|
D | dm.c | 573 struct dm_target_io *tio; in alloc_io() local 577 tio = clone_to_tio(clone); in alloc_io() 578 tio->flags = 0; in alloc_io() 579 dm_tio_set_flag(tio, DM_TIO_INSIDE_DM_IO); in alloc_io() 580 tio->io = NULL; in alloc_io() 582 io = container_of(tio, struct dm_io, tio); in alloc_io() 603 bio_put(&io->tio.clone); in free_io() 610 struct dm_target_io *tio; in alloc_tio() local 613 if (!ci->io->tio.io) { in alloc_tio() 615 tio = &ci->io->tio; in alloc_tio() [all …]
|
D | dm-zone.c | 513 int dm_zone_map_bio(struct dm_target_io *tio) in dm_zone_map_bio() argument 515 struct dm_io *io = tio->io; in dm_zone_map_bio() 516 struct dm_target *ti = tio->ti; in dm_zone_map_bio() 518 struct bio *clone = &tio->clone; in dm_zone_map_bio() 556 *tio->len_ptr); in dm_zone_map_bio() 565 *tio->len_ptr); in dm_zone_map_bio()
|
D | dm-rq.h | 29 struct dm_rq_target_io *tio; member
|
D | dm.h | 116 static inline int dm_zone_map_bio(struct dm_target_io *tio) in dm_zone_map_bio() argument
|
/linux-6.1.9/sound/soc/sh/rcar/ ! |
D | cmd.c | 55 struct rsnd_dai_stream *tio = &rdai->playback; in rsnd_cmd_init() local 56 struct rsnd_mod *src = rsnd_io_to_mod_src(tio); in rsnd_cmd_init() 58 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init() 61 tio = &rdai->capture; in rsnd_cmd_init() 62 src = rsnd_io_to_mod_src(tio); in rsnd_cmd_init() 63 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init()
|