Searched refs:vdev_type (Results 1 – 10 of 10) sorted by relevance
| /freebsd-13.1/sys/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 264 char *vdev_type = NULL; in get_vdev_name() local 268 &vdev_type) != 0) { in get_vdev_name() 269 vdev_type = "unknown"; in get_vdev_name() 277 vdev_type); in get_vdev_name() 281 parent_name, vdev_type, (u_longlong_t)vdev_id); in get_vdev_name() 300 char *vdev_type = NULL; in get_vdev_desc() local 306 if (nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type) != 0) { in get_vdev_desc() 307 vdev_type = "unknown"; in get_vdev_desc() 318 s = escape_string(vdev_type); in get_vdev_desc() 323 t = escape_string(vdev_type); in get_vdev_desc()
|
| /freebsd-13.1/sys/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[@]}
|
| /freebsd-13.1/cddl/usr.sbin/zfsd/ |
| H A D | case_file.cc | 493 char *devPath, *vdev_type; in ActivateSpare() local 577 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_TYPE, &vdev_type); in ActivateSpare() 585 return (Replace(vdev_type, devPath, /*isspare*/true)); in ActivateSpare() 1054 CaseFile::Replace(const char* vdev_type, const char* path, bool isspare) { in Replace() argument 1106 if (nvlist_add_string(newvd, ZPOOL_CONFIG_TYPE, vdev_type) != 0 in Replace()
|
| H A D | case_file.h | 340 bool Replace(const char* vdev_type, const char* path, bool isspare);
|
| /freebsd-13.1/sys/dev/hptrr/ |
| H A D | ldm.h | 340 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
|
| /freebsd-13.1/usr.sbin/bsdinstall/scripts/ |
| H A D | zfsboot | 1699 vdev_type="$ZFSBOOT_VDEV_TYPE" 1702 [ "$vdev_type" = "stripe" ] && vdev_type= 1705 "$vdev_type" $ZFSBOOT_DISKS || continue
|
| /freebsd-13.1/sys/dev/hpt27xx/ |
| H A D | ldm.h | 346 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
|
| /freebsd-13.1/sys/dev/hptnr/ |
| H A D | ldm.h | 345 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 10256 char *vdev_type; in vdev_any_spare_replacing() local 10258 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing() 10260 if (strcmp(vdev_type, VDEV_TYPE_REPLACING) == 0 || in vdev_any_spare_replacing() 10261 strcmp(vdev_type, VDEV_TYPE_SPARE) == 0 || in vdev_any_spare_replacing() 10262 strcmp(vdev_type, VDEV_TYPE_DRAID_SPARE) == 0) { in vdev_any_spare_replacing()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev.c | 5142 const char *vdev_type = vd->vdev_ops->vdev_op_type; in vdev_is_bootable() local 5144 if (strcmp(vdev_type, VDEV_TYPE_MISSING) == 0) in vdev_is_bootable()
|