Home
last modified time | relevance | path

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

/drivers/md/
Ddm-stats.c57 size_t histogram_alloc_size; member
178 dm_kvfree(s->stat_percpu[cpu][0].histogram, s->histogram_alloc_size); in dm_stat_free()
181 dm_kvfree(s->stat_shared[0].tmp.histogram, s->histogram_alloc_size); in dm_stat_free()
255 size_t histogram_alloc_size; in dm_stats_create() local
279 histogram_alloc_size = (n_histogram_entries + 1) * (size_t)n_entries * sizeof(unsigned long long); in dm_stats_create()
280 …if (histogram_alloc_size / (n_histogram_entries + 1) != (size_t)n_entries * sizeof(unsigned long l… in dm_stats_create()
283 if (!check_shared_memory(shared_alloc_size + histogram_alloc_size + in dm_stats_create()
284 num_possible_cpus() * (percpu_alloc_size + histogram_alloc_size))) in dm_stats_create()
298 s->histogram_alloc_size = histogram_alloc_size; in dm_stats_create()
327 hi = dm_kvzalloc(s->histogram_alloc_size, NUMA_NO_NODE); in dm_stats_create()
[all …]