Lines Matching refs:verify
472 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0);
473 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0);
474 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0);
475 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_LOG, is_log) == 0);
477 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK,
502 verify(nvlist_add_string(vdev,
519 * Go through and verify the replication level of the pool is consistent.
560 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
577 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE,
603 verify(nvlist_lookup_uint64(nv,
629 verify(nvlist_lookup_string(cnv,
642 verify(nvlist_lookup_nvlist_array(cnv,
648 verify(nvlist_lookup_string(cnv,
653 verify(nvlist_lookup_string(cnv,
811 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
901 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0);
914 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0);
940 verify(nvlist_add_string(nv,
956 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, buf) == 0);
1012 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0);
1015 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
1020 verify(nvlist_lookup_uint64(spares[i],
1046 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0);
1051 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0);
1285 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME,
1287 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE,
1289 verify(nvlist_add_uint64(nv,
1292 verify(nvlist_add_uint64(nv,
1296 verify(nvlist_add_nvlist_array(nv,
1340 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0);
1341 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE,
1343 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
1346 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
1349 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
1387 verify(nvlist_lookup_nvlist_array(newroot,
1394 verify(nvlist_lookup_string(child[c],