Home
last modified time | relevance | path

Searched refs:ZPOOL_CONFIG_TYPE (Results 1 – 19 of 19) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dspa_os.c128 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 Dzpool_vdev.c374 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 Dzpool_iter.c301 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in for_each_vdev_cb()
H A Dzpool_main.c2185 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 Dzfs_retire.c212 (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 Dzfs_mod.c408 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 Dutil.c119 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats()
/f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c266 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 Dlibzfs_status.c171 verify(nvlist_lookup_string(vdev, ZPOOL_CONFIG_TYPE, in find_vdev_problem()
H A Dlibzfs_pool.c2553 } 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 Dlibzfs_dataset.c5419 if (nvlist_lookup_string(vdevs[v], ZPOOL_CONFIG_TYPE, in volsize_from_vdevs()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c683 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 Dzutil_import_os.c836 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 Dzfs.h611 #define ZPOOL_CONFIG_TYPE "type" macro
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c1126 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 Dvdev_draid.c1925 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 Dvdev_label.c435 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); in vdev_config_generate()
H A Dvdev_removal.c2229 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) in spa_vdev_remove()
H A Dvdev.c657 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in vdev_alloc()