Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-stats.c57 size_t histogram_alloc_size; member
181 dm_kvfree(s->stat_percpu[cpu][0].histogram, s->histogram_alloc_size); in dm_stat_free()
184 dm_kvfree(s->stat_shared[0].tmp.histogram, s->histogram_alloc_size); in dm_stat_free()
275 size_t histogram_alloc_size; in dm_stats_create() local
302 histogram_alloc_size = (n_histogram_entries + 1) * (size_t)n_entries * sizeof(unsigned long long); in dm_stats_create()
303 …if (histogram_alloc_size / (n_histogram_entries + 1) != (size_t)n_entries * sizeof(unsigned long l… in dm_stats_create()
309 if (!check_shared_memory(shared_alloc_size + histogram_alloc_size + in dm_stats_create()
310 num_possible_cpus() * (percpu_alloc_size + histogram_alloc_size))) in dm_stats_create()
324 s->histogram_alloc_size = histogram_alloc_size; in dm_stats_create()
354 hi = dm_kvzalloc(s->histogram_alloc_size, NUMA_NO_NODE); in dm_stats_create()
[all …]