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() 1240 } else if (strncmp(type, VDEV_TYPE_DRAID, in get_parity() 1241 strlen(VDEV_TYPE_DRAID)) == 0) { in get_parity() 1242 p = type + strlen(VDEV_TYPE_DRAID); in get_parity() 1277 strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0) { in is_grouping() 1290 return (VDEV_TYPE_DRAID); in is_grouping() 1362 if (strncmp(type, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) != 0) in draid_config_by_type() 1676 if (strcmp(type, VDEV_TYPE_DRAID) == 0) { in construct_spec()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 1463 strcmp(type, VDEV_TYPE_DRAID) == 0) { in zpool_has_draid_vdev() 1479 VDEV_TYPE_DRAID, (u_longlong_t)parity, (u_longlong_t)data, in zpool_draid_name() 1493 if (sscanf(name, VDEV_TYPE_DRAID "%llu-%llu-%llu", in zpool_is_draid_spare() 2982 assert(rzlen == strlen(VDEV_TYPE_DRAID)); in vdev_to_nvlist_iter() 2985 strncmp(type, VDEV_TYPE_DRAID, rzlen) == 0) && in vdev_to_nvlist_iter() 3130 if (strncmp(name, VDEV_TYPE_DRAID, strlen(VDEV_TYPE_DRAID)) == 0 && in zpool_vdev_is_interior() 4499 if (strcmp(path, VDEV_TYPE_DRAID) == 0) { in zpool_vdev_name()
|
H A D | libzfs_dataset.c | 5525 strcmp(type, VDEV_TYPE_DRAID) != 0) in volsize_from_vdevs()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_draid.c | 1725 "%s%llu-%llu-%llu", VDEV_TYPE_DRAID, in vdev_draid_spare_create() 2330 .vdev_op_type = VDEV_TYPE_DRAID,
|
/freebsd/sys/contrib/openzfs/include/sys/fs/ |
H A D | zfs.h | 903 #define VDEV_TYPE_DRAID "draid" macro
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 1169 (void) strlcpy(zo->zo_raid_type, VDEV_TYPE_DRAID, in process_options() 1278 if (sscanf(name, VDEV_TYPE_DRAID "%"PRIu64"-%"PRIu64"-%"PRIu64"", in ztest_is_draid_spare() 1360 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()
|