Searched refs:vdev_type (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 263 char *vdev_type = NULL; in get_vdev_name() local 267 &vdev_type) != 0) { in get_vdev_name() 268 vdev_type = "unknown"; in get_vdev_name() 276 vdev_type); in get_vdev_name() 280 parent_name, vdev_type, (u_longlong_t)vdev_id); in get_vdev_name() 299 char *vdev_type = NULL; in get_vdev_desc() local 305 if (nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type) != 0) { in get_vdev_desc() 306 vdev_type = "unknown"; in get_vdev_desc() 317 s = escape_string(vdev_type); in get_vdev_desc() 322 t = escape_string(vdev_type); in get_vdev_desc()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | rebuild_raidz.ksh | 53 for vdev_type in "raidz" "raidz2" "raidz3"; do 54 log_must zpool create -f $TESTPOOL1 $vdev_type ${VDEV_FILES[@]}
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev.c | 4931 const char *vdev_type = vd->vdev_ops->vdev_op_type; in vdev_is_bootable() local 4933 if (strcmp(vdev_type, VDEV_TYPE_MISSING) == 0 || in vdev_is_bootable() 4934 strcmp(vdev_type, VDEV_TYPE_INDIRECT) == 0) { in vdev_is_bootable()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 9942 char *vdev_type; in vdev_any_spare_replacing() local 9944 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing() 9946 if (strcmp(vdev_type, VDEV_TYPE_REPLACING) == 0 || in vdev_any_spare_replacing() 9947 strcmp(vdev_type, VDEV_TYPE_SPARE) == 0 || in vdev_any_spare_replacing() 9948 strcmp(vdev_type, VDEV_TYPE_DRAID_SPARE) == 0) { in vdev_any_spare_replacing()
|