Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dspa_os.c129 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 Dzpool_vdev.c373 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 Dzpool_main.c1175 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 Dcase_file.cc565 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 Dzfs_retire.c387 (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 Dzfs_mod.c549 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 Dzutil_import.c727 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 Dzpool_influxdb.c269 (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 Dzfs.c328 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 Dlibzfs_pool.c1499 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 Dlibzfs_status.c177 ZPOOL_CONFIG_TYPE); in find_vdev_problem()
H A Dlibzfs_dataset.c5346 if (nvlist_lookup_string(vdevs[v], ZPOOL_CONFIG_TYPE, in volsize_from_vdevs()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c123 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats()
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c898 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 Dzfs.h838 #define ZPOOL_CONFIG_TYPE "type" macro
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid.c1926 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 Dvdev_label.c466 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); in vdev_config_generate()
H A Dvdev_removal.c2470 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) in spa_vdev_remove()
H A Dvdev.c837 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) != 0) in vdev_alloc()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c1326 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 Dzfsimpl.h796 #define ZPOOL_CONFIG_TYPE "type" macro
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c939 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()