| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | spa_os.c | 128 VERIFY(nvlist_add_string(tops[holes[i]], ZPOOL_CONFIG_TYPE, in spa_generate_rootconf() 139 VERIFY(nvlist_add_string(tops[i], ZPOOL_CONFIG_TYPE, in spa_generate_rootconf() 158 VERIFY(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in spa_generate_rootconf()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 374 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev() 519 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in get_replication() 575 ZPOOL_CONFIG_TYPE, &childtype) == 0); in get_replication() 596 ZPOOL_CONFIG_TYPE, in get_replication() 948 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks() 1104 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use() 1606 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec() 1703 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
|
| H A D | zpool_iter.c | 301 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in for_each_vdev_cb()
|
| H A D | zpool_main.c | 2185 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in print_status_config() 2428 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in print_import_config() 2562 ZPOOL_CONFIG_TYPE, &type); in print_class_vdevs() 4674 ZPOOL_CONFIG_TYPE, &type); in print_vdev_stats() 6025 ZPOOL_CONFIG_TYPE, &type); in print_list_stats() 9944 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_retire.c | 212 (void) nvlist_add_string(replacement, ZPOOL_CONFIG_TYPE, in replace_with_spare() 230 if ((nvlist_lookup_string(spares[s], ZPOOL_CONFIG_TYPE, in replace_with_spare()
|
| H A D | zfs_mod.c | 408 if (nvlist_add_string(newvd, ZPOOL_CONFIG_TYPE, VDEV_TYPE_DISK) != 0 || in zfs_process_add() 416 nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT) != 0 || in zfs_process_add()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | util.c | 119 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 266 if (nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, in get_vdev_name() 305 if (nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type) != 0) { in get_vdev_desc()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_status.c | 171 verify(nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, in find_vdev_problem()
|
| H A D | libzfs_pool.c | 2553 } else if (strcmp(srchkey, ZPOOL_CONFIG_TYPE) == 0 && val) { in vdev_to_nvlist_iter() 2726 verify(nvlist_add_string(search, ZPOOL_CONFIG_TYPE, path) == 0); in zpool_find_vdev() 2796 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in vdev_get_physpaths() 2860 if (nvlist_lookup_string(vdev_root, ZPOOL_CONFIG_TYPE, &type) != 0 || in zpool_get_config_physpath() 3139 verify(nvlist_lookup_string(search, ZPOOL_CONFIG_TYPE, in is_replacing_spare() 3512 if (nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, in zpool_vdev_split() 3524 verify(nvlist_lookup_string(child[c], ZPOOL_CONFIG_TYPE, &type) in zpool_vdev_split() 3592 if (nvlist_add_string(*newroot, ZPOOL_CONFIG_TYPE, in zpool_vdev_split() 3986 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in zpool_vdev_name()
|
| H A D | libzfs_dataset.c | 5419 if (nvlist_lookup_string(vdevs[v], ZPOOL_CONFIG_TYPE, in volsize_from_vdevs()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 683 ZPOOL_CONFIG_TYPE, in get_configs() 710 ZPOOL_CONFIG_TYPE, in get_configs() 728 if (nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in get_configs()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 836 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0 || in update_vdev_config_dev_strs()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 611 #define ZPOOL_CONFIG_TYPE "type" macro
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 1126 VERIFY0(nvlist_add_string(file, ZPOOL_CONFIG_TYPE, in make_vdev_file() 1150 VERIFY0(nvlist_add_string(raid, ZPOOL_CONFIG_TYPE, in make_vdev_raid() 1202 VERIFY(nvlist_add_string(mirror, ZPOOL_CONFIG_TYPE, in make_vdev_mirror() 1243 VERIFY(nvlist_add_string(root, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT) == 0); in make_vdev_root() 3403 ZPOOL_CONFIG_TYPE, VDEV_TYPE_HOLE) == 0); in ztest_split_pool() 3419 VERIFY(nvlist_add_string(split, ZPOOL_CONFIG_TYPE, in ztest_split_pool()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev_draid.c | 1925 fnvlist_add_string(spare, ZPOOL_CONFIG_TYPE, in vdev_draid_spare_create() 2879 error = nvlist_lookup_string(spare, ZPOOL_CONFIG_TYPE, &type); in vdev_draid_spare_lookup()
|
| H A D | vdev_label.c | 435 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); in vdev_config_generate()
|
| H A D | vdev_removal.c | 2229 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) in spa_vdev_remove()
|
| H A D | vdev.c | 657 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in vdev_alloc()
|