Home
last modified time | relevance | path

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

/drivers/md/
Ddm-table.c205 sector_t *n_highs; in alloc_targets() local
214 n_highs = (sector_t *) dm_vcalloc(num + 1, sizeof(struct dm_target) + in alloc_targets()
216 if (!n_highs) in alloc_targets()
219 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets()
222 memcpy(n_highs, t->highs, sizeof(*n_highs) * n); in alloc_targets()
226 memset(n_highs + n, -1, sizeof(*n_highs) * (num - n)); in alloc_targets()
230 t->highs = n_highs; in alloc_targets()