Home
last modified time | relevance | path

Searched refs:VDEV_TYPE_DRAID (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c555 strcmp(type, VDEV_TYPE_DRAID) == 0) { in get_replication()
1239 } else if (strncmp(type, VDEV_TYPE_DRAID, in get_parity()
1240 strlen(VDEV_TYPE_DRAID)) == 0) { in get_parity()
1241 p = type + strlen(VDEV_TYPE_DRAID); in get_parity()
1276 strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0) { in is_grouping()
1289 return (VDEV_TYPE_DRAID); in is_grouping()
1361 if (strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) != 0) in draid_config_by_type()
1675 if (strcmp(type, VDEV_TYPE_DRAID) == 0) { in construct_spec()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c1417 strcmp(type, VDEV_TYPE_DRAID) == 0) { in zpool_has_draid_vdev()
1433 VDEV_TYPE_DRAID, (u_longlong_t)parity, (u_longlong_t)data, in zpool_draid_name()
1447 if (sscanf(name, VDEV_TYPE_DRAID "%llu-%llu-%llu", in zpool_is_draid_spare()
2892 assert(rzlen == strlen(VDEV_TYPE_DRAID)); in vdev_to_nvlist_iter()
2895 strncmp(type, VDEV_TYPE_DRAID, rzlen) == 0) && in vdev_to_nvlist_iter()
3035 if (strncmp(name, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0 && in zpool_vdev_is_interior()
4305 if (strcmp(path, VDEV_TYPE_DRAID) == 0) { in zpool_vdev_name()
H A Dlibzfs_dataset.c5515 strcmp(type, VDEV_TYPE_DRAID) != 0) in volsize_from_vdevs()
/freebsd-14.2/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h879 #define VDEV_TYPE_DRAID "draid" macro
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid.c1738 "%s%llu-%llu-%llu", VDEV_TYPE_DRAID, in vdev_draid_spare_create()
2343 .vdev_op_type = VDEV_TYPE_DRAID,
/freebsd-14.2/sys/contrib/openzfs/cmd/
H A Dztest.c1119 (void) strlcpy(zo->zo_raid_type, VDEV_TYPE_DRAID, in process_options()
1196 if (sscanf(name, VDEV_TYPE_DRAID "%"PRIu64"-%"PRIu64"-%"PRIu64"", in ztest_is_draid_spare()
1278 if (strcmp(ztest_opts.zo_raid_type, VDEV_TYPE_DRAID) == 0) { in make_vdev_raid()
3050 if (strcmp(ztest_opts.zo_raid_type, VDEV_TYPE_DRAID) == 0) in ztest_spa_upgrade()
3409 if (strstr(svd->vdev_path, VDEV_TYPE_DRAID) != NULL) in ztest_vdev_aux_add_remove()