Home
last modified time | relevance | path

Searched refs:vdev_type (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c264 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 Drebuild_raidz.ksh53 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 Dcase_file.cc493 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 Dcase_file.h340 bool Replace(const char* vdev_type, const char* path, bool isspare);
/freebsd-13.1/sys/dev/hptrr/
H A Dldm.h340 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
/freebsd-13.1/usr.sbin/bsdinstall/scripts/
H A Dzfsboot1699 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 Dldm.h346 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
/freebsd-13.1/sys/dev/hptnr/
H A Dldm.h345 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c10256 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 Dvdev.c5142 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()