| int dm_statistics_init(void); |
| void dm_statistics_exit(void); |
| struct list_head list; /* list of struct dm_stat */ |
| struct dm_stats_last_position __percpu *last; |
| void dm_stats_init(struct dm_stats *st); |
| void dm_stats_cleanup(struct dm_stats *st); |
| int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, |
| char *result, unsigned maxlen); |
| void dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw, |
| sector_t bi_sector, unsigned bi_sectors, bool end, |
| unsigned long duration, struct dm_stats_aux *aux); |
| static inline bool dm_stats_used(struct dm_stats *st) |
| return !list_empty(&st->list); |