Lines Matching refs:verify

472 	verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0);  in make_leaf_vdev()
473 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev()
474 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev()
475 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_LOG, is_log) == 0); in make_leaf_vdev()
477 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, in make_leaf_vdev()
502 verify(nvlist_add_string(vdev, in make_leaf_vdev()
560 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
577 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, in get_replication()
603 verify(nvlist_lookup_uint64(nv, in get_replication()
629 verify(nvlist_lookup_string(cnv, in get_replication()
642 verify(nvlist_lookup_nvlist_array(cnv, in get_replication()
648 verify(nvlist_lookup_string(cnv, in get_replication()
653 verify(nvlist_lookup_string(cnv, in get_replication()
811 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_replication()
901 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks()
914 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in make_disks()
940 verify(nvlist_add_string(nv, in make_disks()
956 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, buf) == 0); in make_disks()
1012 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
1015 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in is_spare()
1020 verify(nvlist_lookup_uint64(spares[i], in is_spare()
1046 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use()
1051 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in is_device_in_use()
1285 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME, in construct_spec()
1287 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec()
1289 verify(nvlist_add_uint64(nv, in construct_spec()
1292 verify(nvlist_add_uint64(nv, in construct_spec()
1296 verify(nvlist_add_nvlist_array(nv, in construct_spec()
1340 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1341 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1343 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1346 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1349 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1387 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev()
1394 verify(nvlist_lookup_string(child[c], in split_mirror_vdev()