Lines Matching refs:verify
474 verify(nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) == 0); in make_leaf_vdev()
475 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev()
476 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev()
477 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_LOG, is_log) == 0); in make_leaf_vdev()
479 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_ALLOCATION_BIAS, in make_leaf_vdev()
482 verify(nvlist_add_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, in make_leaf_vdev()
529 verify(nvlist_add_string(vdev, in make_leaf_vdev()
607 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
623 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, in get_replication()
649 verify(nvlist_lookup_uint64(nv, in get_replication()
675 verify(nvlist_lookup_string(cnv, in get_replication()
690 verify(nvlist_lookup_nvlist_array(cnv, in get_replication()
696 verify(nvlist_lookup_string(cnv, in get_replication()
701 verify(nvlist_lookup_string(cnv, in get_replication()
888 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_replication()
994 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in make_disks()
1007 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in make_disks()
1049 verify(nvlist_add_string(nv, in make_disks()
1065 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, buf) == 0); in make_disks()
1136 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
1139 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in is_spare()
1144 verify(nvlist_lookup_uint64(spares[i], in is_spare()
1170 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); in is_device_in_use()
1175 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0); in is_device_in_use()
1443 verify(nvlist_alloc(&nv, NV_UNIQUE_NAME, in construct_spec()
1445 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec()
1447 verify(nvlist_add_uint64(nv, in construct_spec()
1450 verify(nvlist_add_string(nv, in construct_spec()
1454 verify(nvlist_add_string(nv, in construct_spec()
1459 verify(nvlist_add_string(nv, in construct_spec()
1464 verify(nvlist_add_uint64(nv, in construct_spec()
1468 verify(nvlist_add_nvlist_array(nv, in construct_spec()
1487 verify(nvlist_add_string(nv, in construct_spec()
1492 verify(nvlist_add_string(nv, in construct_spec()
1523 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1524 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1526 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1529 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1532 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1577 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev()
1584 verify(nvlist_lookup_string(child[c], in split_mirror_vdev()
1609 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in num_normal_vdevs()