Searched refs:VDEV_TYPE_DRAID (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_vdev.c | 556 strcmp(type, VDEV_TYPE_DRAID) == 0) { in get_replication() 1251 } else if (strncmp(type, VDEV_TYPE_DRAID, in get_parity() 1252 strlen(VDEV_TYPE_DRAID)) == 0) { in get_parity() 1253 p = type + strlen(VDEV_TYPE_DRAID); in get_parity() 1288 strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0) { in is_grouping() 1301 return (VDEV_TYPE_DRAID); in is_grouping() 1373 if (strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) != 0) in draid_config_by_type() 1686 if (strcmp(type, VDEV_TYPE_DRAID) == 0) { in construct_spec()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 1441 strcmp(type, VDEV_TYPE_DRAID) == 0) { in zpool_has_draid_vdev() 1457 VDEV_TYPE_DRAID, (u_longlong_t)parity, (u_longlong_t)data, in zpool_draid_name() 1471 if (sscanf(name, VDEV_TYPE_DRAID "%llu-%llu-%llu", in zpool_is_draid_spare() 3027 if (strncmp(type, VDEV_TYPE_DRAID, in vdev_to_nvlist_iter() 3028 strlen(VDEV_TYPE_DRAID)) == 0) in vdev_to_nvlist_iter() 3051 assert(rzlen == strlen(VDEV_TYPE_DRAID)); in vdev_to_nvlist_iter() 3054 strncmp(type, VDEV_TYPE_DRAID, rzlen) == 0) && in vdev_to_nvlist_iter() 3199 if (strncmp(name, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0 && in zpool_vdev_is_interior() 4568 if (strcmp(path, VDEV_TYPE_DRAID) == 0) { in zpool_vdev_name()
|
H A D | libzfs_dataset.c | 5524 strcmp(type, VDEV_TYPE_DRAID) != 0) in volsize_from_vdevs()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_draid.c | 1726 "%s%llu-%llu-%llu", VDEV_TYPE_DRAID, in vdev_draid_spare_create() 2332 .vdev_op_type = VDEV_TYPE_DRAID,
|
/freebsd/sys/contrib/openzfs/include/sys/fs/ |
H A D | zfs.h | 909 #define VDEV_TYPE_DRAID "draid" macro
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 1168 (void) strlcpy(zo->zo_raid_type, VDEV_TYPE_DRAID, in process_options() 1277 if (sscanf(name, VDEV_TYPE_DRAID "%"PRIu64"-%"PRIu64"-%"PRIu64"", in ztest_is_draid_spare() 1359 if (strcmp(ztest_opts.zo_raid_type, VDEV_TYPE_DRAID) == 0) { in make_vdev_raid() 3168 if (strcmp(ztest_opts.zo_raid_type, VDEV_TYPE_DRAID) == 0) in ztest_spa_upgrade() 3533 if (strstr(svd->vdev_path, VDEV_TYPE_DRAID) != NULL) in ztest_vdev_aux_add_remove()
|