Lines Matching refs:verify

470 	verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0);  in make_leaf_vdev()
471 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev()
472 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev()
473 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_LOG, is_log) == 0); in make_leaf_vdev()
475 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, in make_leaf_vdev()
500 verify(nvlist_add_string(vdev, in make_leaf_vdev()
556 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
573 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, in get_replication()
599 verify(nvlist_lookup_uint64(nv, in get_replication()
625 verify(nvlist_lookup_string(cnv, in get_replication()
638 verify(nvlist_lookup_nvlist_array(cnv, in get_replication()
644 verify(nvlist_lookup_string(cnv, in get_replication()
649 verify(nvlist_lookup_string(cnv, in get_replication()
807 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_replication()
897 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks()
910 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in make_disks()
936 verify(nvlist_add_string(nv, in make_disks()
952 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, buf) == 0); in make_disks()
1008 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
1011 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in is_spare()
1016 verify(nvlist_lookup_uint64(spares[i], in is_spare()
1041 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in check_in_use()
1046 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in check_in_use()
1281 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME, in construct_spec()
1283 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec()
1285 verify(nvlist_add_uint64(nv, in construct_spec()
1288 verify(nvlist_add_uint64(nv, in construct_spec()
1292 verify(nvlist_add_nvlist_array(nv, in construct_spec()
1336 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1337 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1339 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1342 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1345 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1383 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev()
1390 verify(nvlist_lookup_string(child[c], in split_mirror_vdev()