Searched refs:dm_target_io (Results 1 – 1 of 1) sorted by relevance
/drivers/md/ |
D | dm.c | 79 struct dm_target_io { struct 104 struct dm_target_io tio; 109 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_per_bio_data() 111 return (char *)bio - offsetof(struct dm_target_io, clone) - data_size; in dm_per_bio_data() 112 …return (char *)bio - offsetof(struct dm_target_io, clone) - offsetof(struct dm_io, tio) - data_siz… in dm_per_bio_data() 120 …return (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clo… in dm_bio_from_per_bio_data() 122 return (struct bio *)((char *)io + offsetof(struct dm_target_io, clone)); in dm_bio_from_per_bio_data() 128 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr() 596 struct dm_target_io *tio; in alloc_io() 603 tio = container_of(clone, struct dm_target_io, clone); in alloc_io() [all …]
|