Searched refs:poolconfig (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.sbin/makefs/ |
H A D | zfs.c | 371 nvlist_t *poolconfig, *vdevconfig; in pool_init_objdir_config() local 380 poolconfig = pool_config_nvcreate(zfs); in pool_init_objdir_config() 383 nvlist_add_nvlist(poolconfig, ZPOOL_CONFIG_VDEV_TREE, vdevconfig); in pool_init_objdir_config() 386 error = nvlist_export(poolconfig); in pool_init_objdir_config() 390 configblksz = nvlist_size(poolconfig); in pool_init_objdir_config() 393 nvlist_copy(poolconfig, configbuf, configblksz); in pool_init_objdir_config() 399 *(uint64_t *)DN_BONUS(dnode) = nvlist_size(poolconfig); in pool_init_objdir_config() 403 nvlist_destroy(poolconfig); in pool_init_objdir_config() 570 nvlist_t *poolconfig, *vdevconfig; in pool_labels_write() local 578 poolconfig = pool_config_nvcreate(zfs); in pool_labels_write() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_vdev.c | 1859 nvlist_t *poolconfig = NULL; in make_root_vdev() local 1870 if (zhp && ((poolconfig = zpool_get_config(zhp, NULL)) == NULL)) { in make_root_vdev() 1881 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) { in make_root_vdev() 1891 if (check_rep && check_replication(poolconfig, newroot) != 0) { in make_root_vdev() 1899 if (poolconfig == NULL && num_normal_vdevs(newroot) == 0) { in make_root_vdev()
|