Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/
H A Dpshot.c3302 pshot_device_t *newdevs = NULL; in pshot_devices_setup() local
3312 newdevs = pshot_devices_from_props(dip, &newdevs_len, PSHOT_DEV_ANYNT); in pshot_devices_setup()
3313 rv = pshot_devices_grow(&newdevs, newdevs_len, pshot_stock_devices, in pshot_devices_setup()
3322 pshot_devices = newdevs; in pshot_devices_setup()
3326 if (rv && newdevs) in pshot_devices_setup()
3327 pshot_devices_free(newdevs, newdevs_len); in pshot_devices_setup()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dspa.c3425 nvlist_t **newdevs; in spa_set_aux_vdevs() local
3434 newdevs = kmem_alloc(sizeof (void *) * in spa_set_aux_vdevs()
3437 VERIFY(nvlist_dup(olddevs[i], &newdevs[i], in spa_set_aux_vdevs()
3440 VERIFY(nvlist_dup(devs[i], &newdevs[i + oldndevs], in spa_set_aux_vdevs()
3447 config, newdevs, ndevs + oldndevs) == 0); in spa_set_aux_vdevs()
3449 nvlist_free(newdevs[i]); in spa_set_aux_vdevs()
3450 kmem_free(newdevs, (oldndevs + ndevs) * sizeof (void *)); in spa_set_aux_vdevs()