| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | spa_os.c | 129 fnvlist_add_string(tops[holes[i]], ZPOOL_CONFIG_TYPE, in spa_generate_rootconf() 138 fnvlist_add_string(tops[i], ZPOOL_CONFIG_TYPE, in spa_generate_rootconf() 154 fnvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT); in spa_generate_rootconf()
|
| /freebsd/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 373 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev() 501 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in get_replication() 557 ZPOOL_CONFIG_TYPE, &childtype) == 0); in get_replication() 578 ZPOOL_CONFIG_TYPE, in get_replication() 968 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks() 1144 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use() 1840 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec() 1943 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
|
| H A D | zpool_main.c | 1175 ZPOOL_CONFIG_TYPE); in fill_vdev_info() 2897 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in print_status_config() 3208 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in print_import_config() 3346 ZPOOL_CONFIG_TYPE, &type); in print_class_vdevs() 5729 ZPOOL_CONFIG_TYPE, &type); in print_vdev_stats() 7263 ZPOOL_CONFIG_TYPE, &type); in collect_list_stats() 9298 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in vdev_stats_nvlist() 9573 ZPOOL_CONFIG_TYPE, &type); in class_vdevs_nvlist() 12656 type = fnvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE); in get_callback_vdev_cb() 13280 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing()
|
| /freebsd/cddl/usr.sbin/zfsd/ |
| H A D | case_file.cc | 565 ZPOOL_CONFIG_TYPE, &parent_type); in ActivateSpare() 613 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_TYPE, &vdev_type); in ActivateSpare() 1191 if (nvlist_add_string(newvd, ZPOOL_CONFIG_TYPE, vdev_type) != 0 in Replace() 1193 || nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT) != 0 in Replace()
|
| /freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_retire.c | 387 (void) nvlist_add_string(replacement, ZPOOL_CONFIG_TYPE, in replace_with_spare() 405 if ((nvlist_lookup_string(spares[s], ZPOOL_CONFIG_TYPE, in replace_with_spare()
|
| H A D | zfs_mod.c | 549 if (nvlist_add_string(newvd, ZPOOL_CONFIG_TYPE, VDEV_TYPE_DISK) != 0 || in zfs_process_add() 557 nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT) != 0 || in zfs_process_add()
|
| /freebsd/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 727 ZPOOL_CONFIG_TYPE, in get_configs() 754 ZPOOL_CONFIG_TYPE, in get_configs() 772 if (nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in get_configs() 1976 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type); in vdev_is_real_leaf() 2079 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in for_each_vdev_cb()
|
| /freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | zpool_influxdb.c | 269 (void) nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type); in get_vdev_name() 306 (void) nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type); in get_vdev_desc()
|
| /freebsd/usr.sbin/makefs/ |
| H A D | zfs.c | 328 nvlist_add_string(diskvdevnv, ZPOOL_CONFIG_TYPE, VDEV_TYPE_DISK); in pool_disk_vdev_config_nvcreate() 354 nvlist_add_string(rootvdevnv, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT); in pool_root_vdev_config_nvcreate()
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 1499 ZPOOL_CONFIG_TYPE, &type) == 0 && in zpool_has_draid_vdev() 3097 nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &tmp); in vdev_to_nvlist_iter() 3141 } else if (strcmp(srchkey, ZPOOL_CONFIG_TYPE) == 0) { in vdev_to_nvlist_iter() 3365 fnvlist_add_string(search, ZPOOL_CONFIG_TYPE, path); in __zpool_find_vdev() 3665 if (nvlist_lookup_string(vdev_nv, ZPOOL_CONFIG_TYPE, &vdev_type) == 0) in zpool_vdev_fault() 3760 ZPOOL_CONFIG_TYPE); in is_replacing_spare() 3824 type = fnvlist_lookup_string(tgt, ZPOOL_CONFIG_TYPE); in zpool_vdev_attach() 4188 if (nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, in zpool_vdev_split() 4200 type = fnvlist_lookup_string(child[c], ZPOOL_CONFIG_TYPE); in zpool_vdev_split() 4267 if (nvlist_add_string(*newroot, ZPOOL_CONFIG_TYPE, in zpool_vdev_split() [all …]
|
| H A D | libzfs_status.c | 177 ZPOOL_CONFIG_TYPE); in find_vdev_problem()
|
| H A D | libzfs_dataset.c | 5346 if (nvlist_lookup_string(vdevs[v], ZPOOL_CONFIG_TYPE, in volsize_from_vdevs()
|
| /freebsd/sys/contrib/openzfs/lib/libzpool/ |
| H A D | util.c | 123 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats()
|
| /freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 898 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0 || in update_vdev_config_dev_strs()
|
| /freebsd/sys/contrib/openzfs/include/sys/fs/ |
| H A D | zfs.h | 838 #define ZPOOL_CONFIG_TYPE "type" macro
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_draid.c | 1926 fnvlist_add_string(spare, ZPOOL_CONFIG_TYPE, in vdev_draid_spare_create() 3008 error = nvlist_lookup_string(spare, ZPOOL_CONFIG_TYPE, &type); in vdev_draid_spare_lookup()
|
| H A D | vdev_label.c | 466 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); in vdev_config_generate()
|
| H A D | vdev_removal.c | 2470 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) in spa_vdev_remove()
|
| H A D | vdev.c | 837 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in vdev_alloc()
|
| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 1326 fnvlist_add_string(file, ZPOOL_CONFIG_TYPE, in make_vdev_file() 1350 fnvlist_add_string(raid, ZPOOL_CONFIG_TYPE, in make_vdev_raid() 1402 fnvlist_add_string(mirror, ZPOOL_CONFIG_TYPE, VDEV_TYPE_MIRROR); in make_vdev_mirror() 1441 fnvlist_add_string(root, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT); in make_vdev_root() 3652 ZPOOL_CONFIG_TYPE, VDEV_TYPE_HOLE); in ztest_split_pool() 3668 fnvlist_add_string(split, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT); in ztest_split_pool()
|
| /freebsd/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 796 #define ZPOOL_CONFIG_TYPE "type" macro
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 939 nvlist_find(nvlist, ZPOOL_CONFIG_TYPE, DATA_TYPE_STRING, NULL, in vdev_init() 1933 if (nvlist_find(vdevs, ZPOOL_CONFIG_TYPE, DATA_TYPE_STRING, in vdev_get_label_asize()
|