Lines Matching refs:verify
125 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &ival) == 0);
127 verify(nvlist_lookup_string(nv, ZPROP_VALUE, &value) == 0);
165 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &value) == 0);
167 verify(nvlist_lookup_uint64(nv, ZPROP_VALUE, &value) == 0);
319 verify(nvlist_lookup_nvlist(zpool_get_config(zhp, NULL),
321 verify(nvlist_lookup_uint64_array(nvroot,
1585 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nvinfo) ==
1587 verify(nvlist_lookup_nvlist(nvinfo, ZPOOL_CONFIG_UNSUP_FEAT,
1594 verify(nvpair_type(nvp) == DATA_TYPE_STRING);
1595 verify(nvpair_value_string(nvp, &desc) == 0);
1625 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME,
1645 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION,
1660 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID,
1828 verify(nvlist_lookup_nvlist(zhp->zpool_config,
1905 verify(nvpair_value_uint64(pair, &srchval) == 0);
1906 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID,
1916 verify(nvpair_value_string(pair, &srchval) == 0);
1995 verify(strncmp(type, VDEV_TYPE_RAIDZ,
1999 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID,
2010 * Now verify that we have the correct vdev id.
2086 verify(nvlist_alloc(&search, NV_UNIQUE_NAME, KM_SLEEP) == 0);
2087 verify(nvlist_add_string(search, ZPOOL_CONFIG_PHYS_PATH, ppath) == 0);
2089 verify(nvlist_lookup_nvlist(zhp->zpool_config, ZPOOL_CONFIG_VDEV_TREE,
2123 verify(nvlist_alloc(&search, NV_UNIQUE_NAME, KM_SLEEP) == 0);
2127 verify(nvlist_add_uint64(search, ZPOOL_CONFIG_GUID, guid) == 0);
2129 verify(nvlist_add_string(search, ZPOOL_CONFIG_TYPE, path) == 0);
2132 verify(nvlist_add_string(search, ZPOOL_CONFIG_PATH, buf) == 0);
2134 verify(nvlist_add_string(search, ZPOOL_CONFIG_PATH, path) == 0);
2137 verify(nvlist_lookup_nvlist(zhp->zpool_config, ZPOOL_CONFIG_VDEV_TREE,
2364 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, &zc.zc_guid) == 0);
2376 verify(nvlist_lookup_string(tgt, ZPOOL_CONFIG_PATH,
2431 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, &zc.zc_guid) == 0);
2533 verify(nvlist_lookup_string(search, ZPOOL_CONFIG_TYPE,
2587 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, &zc.zc_guid) == 0);
2597 verify(nvlist_lookup_nvlist(zpool_get_config(zhp, NULL),
2740 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, &zc.zc_guid) == 0);
2840 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &tree)
2842 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, &vers) == 0);
2900 verify(nvlist_lookup_string(child[c], ZPOOL_CONFIG_TYPE, &type)
2909 verify(nvlist_lookup_nvlist_array(child[c],
2945 verify(nvlist_remove_all(*newroot, ZPOOL_CONFIG_CHILDREN) == 0);
3057 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, &zc.zc_guid) == 0);
3102 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID,
3277 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID,
3310 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID,
3344 verify(nvlist_lookup_string(nv,
3380 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &path) == 0);
3386 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NPARITY,
3400 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID,
3434 verify(nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_ERRCOUNT,
3477 verify(nvlist_alloc(nverrlistp, 0, KM_SLEEP) == 0);
3702 verify(nvlist_alloc(nvhisp, NV_UNIQUE_NAME, 0) == 0);
3703 verify(nvlist_add_nvlist_array(*nvhisp, ZPOOL_HIST_RECORD,
3848 verify(nvlist_lookup_nvlist(zhp->zpool_config,
3940 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_TYPE, &type) == 0);
4025 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,