Lines Matching refs:dm_target_io
78 #define DM_TARGET_IO_BIO_OFFSET (offsetof(struct dm_target_io, clone))
80 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio))
84 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_per_bio_data()
103 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr()
479 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_start_time_ns_from_clone()
533 struct dm_target_io *tio; in alloc_io()
540 tio = container_of(clone, struct dm_target_io, clone); in alloc_io()
565 static struct dm_target_io *alloc_tio(struct clone_info *ci, struct dm_target *ti, in alloc_tio()
568 struct dm_target_io *tio; in alloc_tio()
578 tio = container_of(clone, struct dm_target_io, clone); in alloc_tio()
590 static void free_tio(struct dm_target_io *tio) in free_tio()
905 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in clone_endio()
1179 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_accept_partial_bio()
1209 static blk_qc_t __map_bio(struct dm_target_io *tio) in __map_bio()
1287 static int clone_bio(struct dm_target_io *tio, struct bio *bio, in clone_bio()
1325 struct dm_target_io *tio; in alloc_multiple_bios()
1356 tio = container_of(bio, struct dm_target_io, clone); in alloc_multiple_bios()
1363 struct dm_target_io *tio, unsigned *len) in __clone_and_map_simple_bio()
1381 struct dm_target_io *tio; in __send_duplicate_bios()
1386 tio = container_of(bio, struct dm_target_io, clone); in __send_duplicate_bios()
1421 struct dm_target_io *tio; in __clone_and_map_data_bio()
2851 front_pad = roundup(per_io_data_size, __alignof__(struct dm_target_io)) + DM_TARGET_IO_BIO_OFFSET; in dm_alloc_md_mempools()