Lines Matching refs:verify
244 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
247 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in is_spare()
252 verify(nvlist_lookup_uint64(spares[i], in is_spare()
372 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0); in make_leaf_vdev()
373 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev()
374 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev()
381 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, in make_leaf_vdev()
506 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
527 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in get_replication()
557 verify(nvlist_lookup_uint64(nv, in get_replication()
583 verify(nvlist_lookup_string(cnv, in get_replication()
598 verify(nvlist_lookup_nvlist_array(cnv, in get_replication()
604 verify(nvlist_lookup_string(cnv, in get_replication()
609 verify(nvlist_lookup_string(cnv, in get_replication()
827 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_replication()
977 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks()
992 verify(!nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path)); in make_disks()
993 verify(!nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in make_disks()
1108 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, udevpath) == 0); in make_disks()
1153 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use()
1158 verify(!nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path)); in is_device_in_use()
1160 verify(!nvlist_lookup_uint64(nv, in is_device_in_use()
1413 verify(0); /* Unreachable */ in draid_config_by_type()
1650 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME, in construct_spec()
1652 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec()
1654 verify(nvlist_add_uint64(nv, in construct_spec()
1657 verify(nvlist_add_string(nv, in construct_spec()
1662 verify(nvlist_add_string(nv, in construct_spec()
1667 verify(nvlist_add_string(nv, in construct_spec()
1672 verify(nvlist_add_uint64(nv, in construct_spec()
1685 verify(nvlist_add_nvlist_array(nv, in construct_spec()
1702 verify(nvlist_add_uint64(nv, in construct_spec()
1705 verify(nvlist_add_string(nv, in construct_spec()
1712 verify(nvlist_add_string(nv, in construct_spec()
1717 verify(nvlist_add_string(nv, in construct_spec()
1748 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1749 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1751 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1754 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1757 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1795 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev()
1802 verify(nvlist_lookup_string(child[c], in split_mirror_vdev()
1827 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in num_normal_vdevs()