Lines Matching refs:idx_end
718 static void __dm_stat_clear(struct dm_stat *s, size_t idx_start, size_t idx_end, in __dm_stat_clear() argument
725 for (x = idx_start; x < idx_end; x++) { in __dm_stat_clear()
807 size_t idx_end; in dm_stats_print() local
823 idx_end = idx_start + idx_len; in dm_stats_print()
824 if (idx_end < idx_start || in dm_stats_print()
825 idx_end > s->n_entries) in dm_stats_print()
826 idx_end = s->n_entries; in dm_stats_print()
828 if (idx_start > idx_end) in dm_stats_print()
829 idx_start = idx_end; in dm_stats_print()
834 for (x = idx_start; x < idx_end; x++, start = end) { in dm_stats_print()
871 __dm_stat_clear(s, idx_start, idx_end, false); in dm_stats_print()