Lines Matching refs:dm_stat
42 struct dm_stat { struct
172 struct dm_stat *s = container_of(head, struct dm_stat, rcu_head); in dm_stat_free()
210 struct dm_stat *s; in dm_stats_cleanup()
214 s = container_of(stats->list.next, struct dm_stat, list_entry); in dm_stats_cleanup()
239 struct dm_stat *tmp_s; in dm_stats_recalc_precise_timestamps()
243 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_recalc_precise_timestamps()
262 struct dm_stat *s, *tmp_s; in dm_stats_create()
284 if ((shared_alloc_size - sizeof(struct dm_stat)) / sizeof(struct dm_stat_shared) != n_entries) in dm_stats_create()
385 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()
420 static struct dm_stat *__dm_stats_find(struct dm_stats *stats, int id) in __dm_stats_find()
422 struct dm_stat *s; in __dm_stats_find()
436 struct dm_stat *s; in dm_stats_delete()
475 struct dm_stat *s; in dm_stats_list()
514 static void dm_stat_round(struct dm_stat *s, struct dm_stat_shared *shared, in dm_stat_round()
545 static void dm_stat_for_entry(struct dm_stat *s, size_t entry, in dm_stat_for_entry()
615 static void __dm_stat_bio(struct dm_stat *s, int bi_rw, in __dm_stat_bio()
658 struct dm_stat *s; in dm_stats_account_io()
702 struct dm_stat *s, size_t x) in __dm_stat_init_temporary_percpu_totals()
750 static void __dm_stat_clear(struct dm_stat *s, size_t idx_start, size_t idx_end, in __dm_stat_clear()
791 struct dm_stat *s; in dm_stats_clear()
811 static unsigned long long dm_jiffies_to_msec64(struct dm_stat *s, unsigned long long j) in dm_jiffies_to_msec64()
837 struct dm_stat *s; in dm_stats_print()
916 struct dm_stat *s; in dm_stats_set_aux()