Home
last modified time | relevance | path

Searched refs:tio (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/md/
H A Ddm-rq.c82 struct dm_rq_target_io *tio = info->tio; in end_clone_bio() local
89 if (tio->error) in end_clone_bio()
102 tio->error = error; in end_clone_bio()
110 tio->completed += nr_bytes; in end_clone_bio()
119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio()
130 struct dm_rq_target_io *tio = tio_from_request(orig); in rq_end_stats() local
132 tio->duration_jiffies = jiffies - tio->duration_jiffies; in rq_end_stats()
134 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats()
135 tio->duration_jiffies, &tio->stats_aux); in rq_end_stats()
159 struct dm_rq_target_io *tio = clone->end_io_data; in dm_end_request() local
[all …]
H A Ddm-core.h256 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio))
266 static inline bool dm_tio_flagged(struct dm_target_io *tio, unsigned int bit) in dm_tio_flagged() argument
268 return (tio->flags & (1U << bit)) != 0; in dm_tio_flagged()
271 static inline void dm_tio_set_flag(struct dm_target_io *tio, unsigned int bit) in dm_tio_set_flag() argument
273 tio->flags |= (1U << bit); in dm_tio_set_flag()
276 static inline bool dm_tio_is_normal(struct dm_target_io *tio) in dm_tio_is_normal() argument
278 return (dm_tio_flagged(tio, DM_TIO_INSIDE_DM_IO) && in dm_tio_is_normal()
279 !dm_tio_flagged(tio, DM_TIO_IS_DUPLICATE_BIO)); in dm_tio_is_normal()
305 struct dm_target_io tio; member
H A Ddm-rq.h30 struct dm_rq_target_io *tio; member