Searched refs:VERIFY (Results 26 - 50 of 107) sorted by relevance

12345

/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Ddebug.h33 * The VERIFY() functions are never compiled out and cannot be disabled.
43 * VERIFY() - Verify X is true, if not panic.
106 #define VERIFY(cond) \ macro
108 spl_assert("VERIFY(" #cond ") failed\n", \
114 "VERIFY(" #cond ") failed " str "\n", __VA_ARGS__);\
313 #define ASSERT VERIFY
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c138 VERIFY(ztw = malloc(sizeof (*ztw)));
371 VERIFY(gettimeofday(&tv, NULL) == 0);
738 VERIFY((random_fd = open(random_path, O_RDONLY | O_CLOEXEC)) != -1);
739 VERIFY((urandom_fd = open(urandom_path, O_RDONLY | O_CLOEXEC)) != -1);
951 VERIFY(vasprintf(&buf, fmt, adx_copy) != -1);
964 VERIFY(vasprintf(&buf, fmt, adx) != -1);
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dsa.c306 VERIFY(0 == sa_build_index(hdl, SA_SPILL));
434 VERIFY(0 == zap_update(os, os->os_sa->sa_layout_attr_obj,
705 VERIFY(dmu_spill_hold_by_bonus(hdl->sa_bonus, 0, NULL,
719 VERIFY(0 == sa_resize_spill(hdl,
742 VERIFY(bonustype == DMU_OT_SA);
779 VERIFY((bonustype == DMU_OT_ZNODE && lot->lot_num == 0) ||
793 VERIFY(0 == sa_build_index(hdl, SA_BONUS));
803 VERIFY(0 == dmu_rm_spill(hdl->sa_os,
806 VERIFY(0 == sa_build_index(hdl, SA_SPILL));
1677 VERIFY(dmu_set_bonustyp
[all...]
H A Dzfs_ioctl.c1487 VERIFY(nvlist_alloc(&zplprops, NV_UNIQUE_NAME, KM_SLEEP) == 0);
2183 VERIFY(nvlist_add_uint64(props, zfs_prop_to_name(prop), value) == 0);
2218 VERIFY(nvlist_alloc(&nv, NV_UNIQUE_NAME, KM_SLEEP) == 0);
2409 VERIFY(nvpair_value_nvlist(pair, &attrs) == 0);
2464 VERIFY(nvpair_value_nvlist(pair, &attrs) == 0);
2465 VERIFY(nvlist_lookup_nvpair(attrs, ZPROP_VALUE,
2809 VERIFY(nvlist_alloc(newprops, NV_UNIQUE_NAME, KM_SLEEP) == 0);
2816 VERIFY(nvlist_add_nvpair(*newprops, pair) == 0);
2941 VERIFY(0 == nvlist_add_string(dummy, propname, ""));
2945 VERIFY(
[all...]
H A Dvdev_initialize.c78 VERIFY(vd->vdev_leaf_zap != 0);
123 VERIFY(error == 0 || error == ENOENT);
127 VERIFY(error == 0 || error == ENOENT);
131 VERIFY(error == 0 || error == ENOENT);
H A Dvdev_raidz_math_avx512f.c201 VERIFY(0); \
380 VERIFY(0); \
H A Ddsl_userhold.c337 VERIFY(0 == nvlist_alloc(&dduha.dduha_chkholds, 0, KM_SLEEP));
508 VERIFY(error == 0 || error == ENOENT);
H A Dzfeature.c212 VERIFY(nvlist_add_string(unsup_feat,
H A Dzvol.c189 VERIFY(nvlist_lookup_uint64(nvprops,
199 VERIFY(nvlist_remove_all(nvprops,
880 VERIFY(dsl_dataset_long_held(zv->zv_objset->os_dsl_dataset));
1509 VERIFY(0);
H A Dvdev_raidz_math_sse2.c132 VERIFY(0); \
184 VERIFY(0); \
519 VERIFY(0); \
H A Ddsl_pool.c516 VERIFY(zap_add(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT,
655 VERIFY(range_tree_is_empty(ms->ms_freeing));
656 VERIFY(range_tree_is_empty(ms->ms_checkpointing));
H A Dbrt.c462 VERIFY(brtvd->bv_mos_entries != 0);
474 VERIFY(brtvd->bv_mos_brtvdev != 0);
1503 VERIFY(error == 0 || error == ENOENT);
H A Dzfs_quota.c350 VERIFY(0 == zap_add(zfsvfs->z_os, MASTER_NODE_OBJ,
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c345 VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, zp,
843 VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, NULL, SA_HDL_SHARED,
933 VERIFY(sa_replace_all_by_template(sa_hdl, sa_attrs, cnt, tx) == 0);
947 VERIFY(*zpp != NULL);
948 VERIFY(dzp != NULL);
1345 VERIFY(!zp->z_is_sa);
1346 VERIFY(0 == dmu_object_free(os, acl_obj, tx));
1348 VERIFY(0 == dmu_object_free(os, obj, tx));
1574 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(ZTOZSB(zp)),
1764 VERIFY(sa_bulk_updat
[all...]
H A Darc_os.c361 VERIFY(arc_shrinker);
H A Dzfs_vfsops.c1647 VERIFY(zfsvfs_teardown(zfsvfs, B_TRUE) == 0);
1768 VERIFY(zfsctl_root_lookup(*ipp, "snapshot", ipp,
1860 VERIFY(dsl_dataset_long_held(ds));
1871 VERIFY(zfsvfs_setup(zfsvfs, B_FALSE) == 0);
1955 VERIFY(dsl_dataset_long_held(ds));
2044 VERIFY(0 == sa_set_sa_object(os, sa_obj));
H A Dvdev_file.c332 VERIFY(vdev_file_taskq);
H A Dzfs_dir.c746 VERIFY(0 == sa_update(xzp->z_sa_hdl, SA_ZPL_LINKS(zfsvfs),
762 VERIFY(error == 0 || error == ENOENT);
1155 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), &xzp->z_id,
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Ddtrace_impl.h1326 * DTrace calls ASSERT and VERIFY from probe context. To assure that a failed
1327 * ASSERT or VERIFY does not induce a markedly more catastrophic failure (e.g.,
1329 * and VERIFY macros to be ones that may safely be called from probe context.
1331 * ASSERT and/or VERIFY from probe context, and _only_ by those components.
1336 #undef VERIFY macro
1337 #define VERIFY(EX) ((void)((EX) || \ macro
/freebsd-current/sys/dev/hptmv/
H A Dosbsd.h225 #define VERIFY 3 macro
/freebsd-current/sys/amd64/vmm/amd/
H A Damdvi_hw.c447 const uint64_t VERIFY = 0xA5A5; local
454 amdvi_cmd_cmp(softc, VERIFY);
456 for (i = 0; i < 100 && (*read != VERIFY); i++) {
459 status = (VERIFY == softc->cmp_data) ? true : false;
/freebsd-current/tools/test/stress2/misc/
H A Dmapwrite.sh31 * [ 7.666305] VERIFY(arc_released(db->db_buf)) failed
/freebsd-current/sys/cam/ctl/
H A Dctl_nvme_all.c67 OPC_ENTRY(VERIFY),
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dzhack.c164 VERIFY(nvlist_alloc(&props, NV_UNIQUE_NAME, 0) == 0);
165 VERIFY(nvlist_add_uint64(props,
220 VERIFY(zap_lookup(os, obj, za.za_name,

Completed in 884 milliseconds

12345