Lines Matching refs:nv

866 	nvlist_t *nv;
880 nv = top[t];
886 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &is_log);
888 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE,
892 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN,
903 verify(nvlist_lookup_uint64(nv,
999 make_disks(libzfs_handle_t *hdl, zpool_handle_t *zhp, nvlist_t *nv,
1013 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0);
1015 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN,
1026 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0);
1027 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK,
1054 verify(nvlist_add_string(nv,
1070 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, buf) == 0);
1081 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
1089 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_L2CACHE,
1153 check_in_use(libzfs_handle_t *hdl, nvlist_t *config, nvlist_t *nv,
1160 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN,
1166 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0);
1167 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0);
1174 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK,
1212 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
1220 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_L2CACHE,
1297 nvlist_t *nvroot, *nv, **top, **spares, **l2cache;
1318 nv = NULL;
1379 if ((nv = make_leaf_vdev(hdl, vdevlist[c],
1386 child[children] = nv;
1424 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME,
1426 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE,
1428 verify(nvlist_add_uint64(nv,
1431 verify(nvlist_add_uint64(nv,
1435 verify(nvlist_add_nvlist_array(nv,
1448 if ((nv = make_leaf_vdev(hdl, vdevlist[0], is_log))
1459 top[toplevels] = nv;