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()
480 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_start_time_ns_from_clone()
519 struct dm_target_io *tio; in alloc_io()
526 tio = container_of(clone, struct dm_target_io, clone); in alloc_io()
548 static struct dm_target_io *alloc_tio(struct clone_info *ci, struct dm_target *ti, in alloc_tio()
551 struct dm_target_io *tio; in alloc_tio()
561 tio = container_of(clone, struct dm_target_io, clone); in alloc_tio()
573 static void free_tio(struct dm_target_io *tio) in free_tio()
882 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in clone_endio()
1156 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_accept_partial_bio()
1186 static void __map_bio(struct dm_target_io *tio) in __map_bio()
1261 static int clone_bio(struct dm_target_io *tio, struct bio *bio, in clone_bio()
1299 struct dm_target_io *tio; in alloc_multiple_bios()
1330 tio = container_of(bio, struct dm_target_io, clone); in alloc_multiple_bios()
1337 struct dm_target_io *tio, unsigned *len) in __clone_and_map_simple_bio()
1354 struct dm_target_io *tio; in __send_duplicate_bios()
1359 tio = container_of(bio, struct dm_target_io, clone); in __send_duplicate_bios()
1394 struct dm_target_io *tio; in __clone_and_map_data_bio()
2816 front_pad = roundup(per_io_data_size, __alignof__(struct dm_target_io)) + DM_TARGET_IO_BIO_OFFSET; in dm_alloc_md_mempools()