Searched refs:shared_alloc_size (Results 1 – 1 of 1) sorted by relevance
55 size_t shared_alloc_size; member182 dm_kvfree(s, s->shared_alloc_size); in dm_stat_free()265 size_t shared_alloc_size; in dm_stats_create() local283 shared_alloc_size = struct_size(s, stat_shared, n_entries); in dm_stats_create()284 if ((shared_alloc_size - sizeof(struct dm_stat)) / sizeof(struct dm_stat_shared) != n_entries) in dm_stats_create()295 if (!check_shared_memory(shared_alloc_size + histogram_alloc_size + in dm_stats_create()299 s = dm_kvzalloc(shared_alloc_size, NUMA_NO_NODE); in dm_stats_create()308 s->shared_alloc_size = shared_alloc_size; in dm_stats_create()