Lines Matching refs:ve
298 vdev_entry_t *ve; in add_config() local
367 for (ve = pe->pe_vdevs; ve != NULL; ve = ve->ve_next) { in add_config()
368 if (ve->ve_guid == top_guid) in add_config()
372 if (ve == NULL) { in add_config()
373 if ((ve = zutil_alloc(hdl, sizeof (vdev_entry_t))) == NULL) { in add_config()
376 ve->ve_guid = top_guid; in add_config()
377 ve->ve_next = pe->pe_vdevs; in add_config()
378 pe->pe_vdevs = ve; in add_config()
386 for (ce = ve->ve_configs; ce != NULL; ce = ce->ce_next) { in add_config()
397 ce->ce_next = ve->ve_configs; in add_config()
398 ve->ve_configs = ce; in add_config()
473 vdev_entry_t *ve; in get_configs() local
508 for (ve = pe->pe_vdevs; ve != NULL; ve = ve->ve_next) { in get_configs()
516 for (ce = ve->ve_configs; ce != NULL; in get_configs()
1170 vdev_entry_t *ve, *venext; in zpool_find_import_impl() local
1329 for (ve = pe->pe_vdevs; ve != NULL; ve = venext) { in zpool_find_import_impl()
1330 venext = ve->ve_next; in zpool_find_import_impl()
1331 for (ce = ve->ve_configs; ce != NULL; ce = cenext) { in zpool_find_import_impl()
1336 free(ve); in zpool_find_import_impl()