Home
last modified time | relevance | path

Searched refs:dm_stats (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
Ddm-stats.h12 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()
Ddm-stats.c191 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()
425 static struct dm_stat *__dm_stats_find(struct dm_stats *stats, int id) in __dm_stats_find()
439 static int dm_stats_delete(struct dm_stats *stats, int id) in dm_stats_delete()
477 static int dm_stats_list(struct dm_stats *stats, const char *program, in dm_stats_list()
658 void dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw, in dm_stats_account_io()
794 static int dm_stats_clear(struct dm_stats *stats, int id) in dm_stats_clear()
837 static int dm_stats_print(struct dm_stats *stats, int id, in dm_stats_print()
[all …]
Ddm-core.h121 struct dm_stats stats;
172 static inline struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()