Lines Matching refs:n_histogram_entries

50 	unsigned int n_histogram_entries;  member
259 unsigned int n_histogram_entries, in dm_stats_create() argument
296 histogram_alloc_size = (n_histogram_entries + 1) * (size_t)n_entries * sizeof(unsigned long long); in dm_stats_create()
297 …if (histogram_alloc_size / (n_histogram_entries + 1) != (size_t)n_entries * sizeof(unsigned long l… in dm_stats_create()
317 s->n_histogram_entries = n_histogram_entries; in dm_stats_create()
319 s->n_histogram_entries * sizeof(unsigned long long), GFP_KERNEL); in dm_stats_create()
342 if (s->n_histogram_entries) { in dm_stats_create()
352 hi += s->n_histogram_entries + 1; in dm_stats_create()
364 if (s->n_histogram_entries) { in dm_stats_create()
374 hi += s->n_histogram_entries + 1; in dm_stats_create()
503 if (s->n_histogram_entries) { in dm_stats_list()
507 for (i = 0; i < s->n_histogram_entries; i++) { in dm_stats_list()
603 if (s->n_histogram_entries) { in dm_stat_for_entry()
604 unsigned int lo = 0, hi = s->n_histogram_entries + 1; in dm_stat_for_entry()
735 if (s->n_histogram_entries) in __dm_stat_init_temporary_percpu_totals()
736 memset(shared->tmp.histogram, 0, (s->n_histogram_entries + 1) * sizeof(unsigned long long)); in __dm_stat_init_temporary_percpu_totals()
752 if (s->n_histogram_entries) { in __dm_stat_init_temporary_percpu_totals()
755 for (i = 0; i < s->n_histogram_entries + 1; i++) in __dm_stat_init_temporary_percpu_totals()
787 if (s->n_histogram_entries) { in __dm_stat_clear()
790 for (i = 0; i < s->n_histogram_entries + 1; i++) { in __dm_stat_clear()
903 if (s->n_histogram_entries) { in dm_stats_print()
906 for (i = 0; i < s->n_histogram_entries + 1; i++) in dm_stats_print()
953 static int parse_histogram(const char *h, unsigned int *n_histogram_entries, in parse_histogram() argument
960 *n_histogram_entries = 1; in parse_histogram()
963 (*n_histogram_entries)++; in parse_histogram()
965 *histogram_boundaries = kmalloc_array(*n_histogram_entries, in parse_histogram()
1003 unsigned int n_histogram_entries = 0; in message_stats_create() local
1058 if (n_histogram_entries) in message_stats_create()
1060 r = parse_histogram(a + 10, &n_histogram_entries, &histogram_boundaries); in message_stats_create()
1097 n_histogram_entries, histogram_boundaries, program_id, aux_data, in message_stats_create()