Searched refs:new_slices (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_device_util.c1063 uint64_t *new_slices = NULL; local
1081 new_slices = (uint64_t *)calloc(nelem + 1, sizeof (uint64_t));
1082 if (new_slices != NULL) {
1085 new_slices[i] = old_slices[i];
1087 new_slices[i] = slice;
1090 attrs, ATTR_VIRTUAL_SLICES, new_slices, nelem);
1092 free(new_slices);

Completed in 65 milliseconds