Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c547 strcmp(type, VDEV_TYPE_DRAID) == 0) { in get_replication()
1191 } else if (strncmp(type, VDEV_TYPE_DRAID, in get_parity()
1192 strlen(VDEV_TYPE_DRAID)) == 0) { in get_parity()
1193 p = type + strlen(VDEV_TYPE_DRAID); in get_parity()
1228 strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0) { in is_grouping()
1241 return (VDEV_TYPE_DRAID); in is_grouping()
1313 if (strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) != 0) in draid_config_by_type()
1630 if (strcmp(type, VDEV_TYPE_DRAID) == 0) { in construct_spec()
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c1228 strcmp(type, VDEV_TYPE_DRAID) == 0) { in zpool_has_draid_vdev()
1244 VDEV_TYPE_DRAID, (u_longlong_t)parity, (u_longlong_t)data, in zpool_draid_name()
1258 if (sscanf(name, VDEV_TYPE_DRAID "%llu-%llu-%llu", in zpool_is_draid_spare()
2656 assert(rzlen == strlen(VDEV_TYPE_DRAID)); in vdev_to_nvlist_iter()
2659 strncmp(type, VDEV_TYPE_DRAID, rzlen) == 0) && in vdev_to_nvlist_iter()
2799 if (strncmp(name, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0 && in zpool_vdev_is_interior()
4147 if (strcmp(path, VDEV_TYPE_DRAID) == 0) { in zpool_vdev_name()
H A Dlibzfs_dataset.c5419 strcmp(type, VDEV_TYPE_DRAID) != 0) in volsize_from_vdevs()
/freebsd-13.1/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h772 #define VDEV_TYPE_DRAID "draid" macro
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid.c1730 "%s%llu-%llu-%llu", VDEV_TYPE_DRAID, in vdev_draid_spare_create()
2335 .vdev_op_type = VDEV_TYPE_DRAID,
/freebsd-13.1/sys/contrib/openzfs/cmd/ztest/
H A Dztest.c1114 (void) strlcpy(zo->zo_raid_type, VDEV_TYPE_DRAID, in process_options()
1213 if (sscanf(name, VDEV_TYPE_DRAID "%llu-%llu-%llu", in ztest_is_draid_spare()
1294 if (strcmp(ztest_opts.zo_raid_type, VDEV_TYPE_DRAID) == 0) { in make_vdev_raid()
3060 if (strcmp(ztest_opts.zo_raid_type, VDEV_TYPE_DRAID) == 0) in ztest_spa_upgrade()
3417 if (strstr(svd->vdev_path, VDEV_TYPE_DRAID) != NULL) in ztest_vdev_aux_add_remove()