Searched refs:vdev_type (Results 1 – 2 of 2) sorted by relevance
8556 char *vdev_type; in vdev_any_spare_replacing() local 8558 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing() 8560 if (strcmp(vdev_type, VDEV_TYPE_REPLACING) == 0 || in vdev_any_spare_replacing() 8561 strcmp(vdev_type, VDEV_TYPE_SPARE) == 0) { in vdev_any_spare_replacing()
4480 char *vdev_type = vd->vdev_ops->vdev_op_type; in vdev_is_bootable() local4482 if (strcmp(vdev_type, VDEV_TYPE_MISSING) == 0) { in vdev_is_bootable()