Searched refs:dm_stats (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-stats.h | 12 struct dm_stats { struct 24 int dm_stats_init(struct dm_stats *st); argument 25 void dm_stats_cleanup(struct dm_stats *st); 32 void dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw, 37 static inline bool dm_stats_used(struct dm_stats *st) in dm_stats_used() 42 static inline void dm_stats_record_start(struct dm_stats *stats, struct dm_stats_aux *aux) in dm_stats_record_start()
|
H A D | dm-stats.c | 191 int dm_stats_init(struct dm_stats *stats) in dm_stats_init() 212 void dm_stats_cleanup(struct dm_stats *stats) in dm_stats_cleanup() 241 static void dm_stats_recalc_precise_timestamps(struct dm_stats *stats) in dm_stats_recalc_precise_timestamps() 257 static int dm_stats_create(struct dm_stats *stats, sector_t start, sector_t end, in dm_stats_create() 427 static struct dm_stat *__dm_stats_find(struct dm_stats *stats, int id) in __dm_stats_find() 441 static int dm_stats_delete(struct dm_stats *stats, int id) in dm_stats_delete() 479 static int dm_stats_list(struct dm_stats *stats, const char *program, in dm_stats_list() 663 void dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw, in dm_stats_account_io() 801 static int dm_stats_clear(struct dm_stats *stats, int id) in dm_stats_clear() 844 static int dm_stats_print(struct dm_stats *stats, int id, in dm_stats_print() [all …]
|
H A D | dm-core.h | 122 struct dm_stats stats; 173 static inline struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()
|