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

/illumos-gate/usr/src/uts/common/io/
H A Dpshot.c3303 pshot_device_t *newdevs = NULL; local
3313 newdevs = pshot_devices_from_props(dip, &newdevs_len, PSHOT_DEV_ANYNT);
3314 rv = pshot_devices_grow(&newdevs, newdevs_len, pshot_stock_devices,
3323 pshot_devices = newdevs;
3327 if (rv && newdevs)
3328 pshot_devices_free(newdevs, newdevs_len);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c4955 nvlist_t **newdevs; local
4964 newdevs = kmem_alloc(sizeof (void *) *
4967 VERIFY(nvlist_dup(olddevs[i], &newdevs[i],
4970 VERIFY(nvlist_dup(devs[i], &newdevs[i + oldndevs],
4977 config, newdevs, ndevs + oldndevs) == 0);
4979 nvlist_free(newdevs[i]);
4980 kmem_free(newdevs, (oldndevs + ndevs) * sizeof (void *));

Completed in 168 milliseconds