Lines Matching refs:n_histogram_entries

50 	unsigned n_histogram_entries;  member
236 unsigned n_histogram_entries, in dm_stats_create() argument
273 histogram_alloc_size = (n_histogram_entries + 1) * (size_t)n_entries * sizeof(unsigned long long); in dm_stats_create()
274 …if (histogram_alloc_size / (n_histogram_entries + 1) != (size_t)n_entries * sizeof(unsigned long l… in dm_stats_create()
294 s->n_histogram_entries = n_histogram_entries; in dm_stats_create()
296 s->n_histogram_entries * sizeof(unsigned long long), GFP_KERNEL); in dm_stats_create()
318 if (s->n_histogram_entries) { in dm_stats_create()
327 hi += s->n_histogram_entries + 1; in dm_stats_create()
338 if (s->n_histogram_entries) { in dm_stats_create()
347 hi += s->n_histogram_entries + 1; in dm_stats_create()
466 if (s->n_histogram_entries) { in dm_stats_list()
469 for (i = 0; i < s->n_histogram_entries; i++) { in dm_stats_list()
562 if (s->n_histogram_entries) { in dm_stat_for_entry()
563 unsigned lo = 0, hi = s->n_histogram_entries + 1; in dm_stat_for_entry()
693 if (s->n_histogram_entries) in __dm_stat_init_temporary_percpu_totals()
694 memset(shared->tmp.histogram, 0, (s->n_histogram_entries + 1) * sizeof(unsigned long long)); in __dm_stat_init_temporary_percpu_totals()
710 if (s->n_histogram_entries) { in __dm_stat_init_temporary_percpu_totals()
712 for (i = 0; i < s->n_histogram_entries + 1; i++) in __dm_stat_init_temporary_percpu_totals()
744 if (s->n_histogram_entries) { in __dm_stat_clear()
746 for (i = 0; i < s->n_histogram_entries + 1; i++) { in __dm_stat_clear()
858 if (s->n_histogram_entries) { in dm_stats_print()
860 for (i = 0; i < s->n_histogram_entries + 1; i++) { in dm_stats_print()
906 static int parse_histogram(const char *h, unsigned *n_histogram_entries, in parse_histogram() argument
913 *n_histogram_entries = 1; in parse_histogram()
916 (*n_histogram_entries)++; in parse_histogram()
918 *histogram_boundaries = kmalloc_array(*n_histogram_entries, in parse_histogram()
956 unsigned n_histogram_entries = 0; in message_stats_create() local
1012 if (n_histogram_entries) in message_stats_create()
1014 if ((r = parse_histogram(a + 10, &n_histogram_entries, &histogram_boundaries))) in message_stats_create()
1050 n_histogram_entries, histogram_boundaries, program_id, aux_data, in message_stats_create()