Home
last modified time | relevance | path

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

/linux-6.1.9/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()
267 size_t histogram_alloc_size; in dm_stats_create() local
291 histogram_alloc_size = (n_histogram_entries + 1) * (size_t)n_entries * sizeof(unsigned long long); in dm_stats_create()
292 …if (histogram_alloc_size / (n_histogram_entries + 1) != (size_t)n_entries * sizeof(unsigned long l… in dm_stats_create()
295 if (!check_shared_memory(shared_alloc_size + histogram_alloc_size + in dm_stats_create()
296 num_possible_cpus() * (percpu_alloc_size + histogram_alloc_size))) in dm_stats_create()
310 s->histogram_alloc_size = histogram_alloc_size; in dm_stats_create()
339 hi = dm_kvzalloc(s->histogram_alloc_size, NUMA_NO_NODE); in dm_stats_create()
[all …]