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()270 size_t shared_alloc_size; in dm_stats_create() local288 shared_alloc_size = struct_size(s, stat_shared, n_entries); in dm_stats_create()289 if ((shared_alloc_size - sizeof(struct dm_stat)) / sizeof(struct dm_stat_shared) != n_entries) in dm_stats_create()300 if (!check_shared_memory(shared_alloc_size + histogram_alloc_size + in dm_stats_create()304 s = dm_kvzalloc(shared_alloc_size, NUMA_NO_NODE); in dm_stats_create()313 s->shared_alloc_size = shared_alloc_size; in dm_stats_create()