Lines Matching refs:verify

471 	verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0);  in make_leaf_vdev()
472 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev()
473 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev()
474 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_LOG, is_log) == 0); in make_leaf_vdev()
476 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, in make_leaf_vdev()
501 verify(nvlist_add_string(vdev, in make_leaf_vdev()
557 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
574 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, in get_replication()
600 verify(nvlist_lookup_uint64(nv, in get_replication()
626 verify(nvlist_lookup_string(cnv, in get_replication()
639 verify(nvlist_lookup_nvlist_array(cnv, in get_replication()
645 verify(nvlist_lookup_string(cnv, in get_replication()
650 verify(nvlist_lookup_string(cnv, in get_replication()
808 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_replication()
898 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks()
911 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in make_disks()
937 verify(nvlist_add_string(nv, in make_disks()
953 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, buf) == 0); in make_disks()
1009 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
1012 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in is_spare()
1017 verify(nvlist_lookup_uint64(spares[i], in is_spare()
1043 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use()
1048 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in is_device_in_use()
1282 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME, in construct_spec()
1284 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec()
1286 verify(nvlist_add_uint64(nv, in construct_spec()
1289 verify(nvlist_add_uint64(nv, in construct_spec()
1293 verify(nvlist_add_nvlist_array(nv, in construct_spec()
1337 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1338 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1340 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1343 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1346 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1384 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev()
1391 verify(nvlist_lookup_string(child[c], in split_mirror_vdev()