Lines Matching refs:nv
1114 vdev_validate(char *nv) in vdev_validate() argument
1118 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_OFFLINE, &ival, in vdev_validate()
1120 nvlist_lookup_value(nv, ZPOOL_CONFIG_FAULTED, &ival, in vdev_validate()
1122 nvlist_lookup_value(nv, ZPOOL_CONFIG_REMOVED, &ival, in vdev_validate()
1134 vdev_get_bootpath(char *nv, uint64_t inguid, char *devid, char *bootpath, in vdev_get_bootpath() argument
1139 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_TYPE, &type, DATA_TYPE_STRING, in vdev_get_bootpath()
1146 if (vdev_validate(nv) != 0) in vdev_get_bootpath()
1149 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_GUID, in vdev_get_bootpath()
1159 (void) nvlist_lookup_value(nv, ZPOOL_CONFIG_IS_SPARE, in vdev_get_bootpath()
1165 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_PHYS_PATH, in vdev_get_bootpath()
1169 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_DEVID, in vdev_get_bootpath()
1185 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_CHILDREN, &child, in vdev_get_bootpath()
1215 char *nvlist, *nv; in check_pool_label() local
1255 if (nvlist_lookup_value(nvlist, ZPOOL_CONFIG_VDEV_TREE, &nv, in check_pool_label()
1261 if (vdev_get_bootpath(nv, diskguid, outdevid, outpath, 0)) in check_pool_label()