Searched refs:newdevs (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ |
H A D | pshot.c | 3302 pshot_device_t *newdevs = NULL; local 3312 newdevs = pshot_devices_from_props(dip, &newdevs_len, PSHOT_DEV_ANYNT); 3313 rv = pshot_devices_grow(&newdevs, newdevs_len, pshot_stock_devices, 3322 pshot_devices = newdevs; 3326 if (rv && newdevs) 3327 pshot_devices_free(newdevs, newdevs_len);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 3527 nvlist_t **newdevs; local 3536 newdevs = kmem_alloc(sizeof (void *) * 3539 VERIFY(nvlist_dup(olddevs[i], &newdevs[i], 3542 VERIFY(nvlist_dup(devs[i], &newdevs[i + oldndevs], 3549 config, newdevs, ndevs + oldndevs) == 0); 3551 nvlist_free(newdevs[i]); 3552 kmem_free(newdevs, (oldndevs + ndevs) * sizeof (void *));
|
Completed in 692 milliseconds