| /freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_dnode.h | 42 __field(dmu_object_type_t, dn_type) 64 __entry->dn_type = dn->dn_type; 89 __entry->dn_object, __entry->dn_type, __entry->dn_bonuslen,
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_parser.c | 339 ctf_id_t ltype = lp->dn_type; in dt_type_promote() 342 ctf_id_t rtype = rp->dn_type; in dt_type_promote() 409 dt_type_promote(lp, rp, &dnp->dn_ctfp, &dnp->dn_type); in dt_node_promote() 410 dt_node_type_assign(dnp, dnp->dn_ctfp, dnp->dn_type, B_FALSE); in dt_node_promote() 524 dnp->dn_type = CTF_ERR; in dt_node_xalloc() 717 dnp->dn_type = type; in dt_node_type_assign() 726 dst->dn_type = src->dn_type; in dt_node_type_propagate() 741 (void) dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf + n, len); in dt_node_type_name() 745 return (dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf, len)); in dt_node_type_name() 760 base = ctf_type_resolve(dnp->dn_ctfp, dnp->dn_type); in dt_node_type_size() [all …]
|
| H A D | dt_ident.c | 280 isp->dis_args[i].dn_type = CTF_ERR; in dt_idcook_func() 346 dt_type_name(ap->dn_ctfp, ap->dn_type, n1, sizeof (n1))); in dt_idcook_args() 377 if (xnp->dn_type == CTF_ERR) { in dt_idcook_args() 382 if (nnp->dn_type == CTF_ERR) { in dt_idcook_args() 407 xidp = dt_xlator_ident(dxp, xnp->dn_ctfp, xnp->dn_type); in dt_idcook_args() 459 dt_type_name(ap->dn_ctfp, ap->dn_type, n, sizeof (n))); in dt_idcook_regs()
|
| H A D | dt_cg.c | 199 type = ctf_type_resolve(ctfp, dnp->dn_type); in dt_cg_ptrsize() 340 type = ctf_type_resolve(fp, dst->dn_left->dn_type); in dt_cg_field_set() 418 ctf_type_encoding(dst->dn_ctfp, dst->dn_type, &e) != CTF_ERR) in dt_cg_store() 649 type = ctf_type_resolve(ctfp, dnp->dn_type); in dt_cg_prearith_op() 706 type = ctf_type_resolve(ctfp, dnp->dn_type); in dt_cg_postarith_op() 1406 mnp->dn_membexpr->dn_type); in dt_cg_xlate_member() 1746 dnp->dn_type), dnp->dn_reg, dnp->dn_reg); in dt_cg_node() 1865 type = ctf_type_resolve(ctfp, dnp->dn_left->dn_type); in dt_cg_node() 2046 dnp->dn_type), dnp->dn_reg, dnp->dn_reg); in dt_cg_node()
|
| H A D | dt_xlator.c | 261 ctf_id_t src_type = src->dn_type; in dt_xlator_lookup() 265 ctf_id_t dst_type = dst->dn_type; in dt_xlator_lookup()
|
| H A D | dt_printf.c | 120 base = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_str() 133 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_wstr() 184 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_xshort() 197 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_xlong() 210 ctf_id_t type = dnp->dn_type; in pfcheck_xlonglong() 241 dnp->dn_type), pfd->pfd_conv->pfc_dctfp, pfd->pfd_conv->pfc_dtype)); in pfcheck_type()
|
| H A D | dt_parser.h | 52 ctf_id_t dn_type; /* CTF type reference for node's type */ member
|
| H A D | dt_cc.c | 712 n = snprintf(NULL, 0, "%s`%ld", dmp->dm_name, dret->dn_type) + 1; in dt_action_trace() 717 ctflib, dret->dn_type) + 1; in dt_action_trace() 720 dret->dn_type) + 1; in dt_action_trace() 726 dret->dn_type); in dt_action_trace() 729 dmp->dm_name, ctflib, dret->dn_type); in dt_action_trace() 732 dmp->dm_name, dret->dn_type); in dt_action_trace()
|
| H A D | dt_dof.c | 418 dnp->dn_type, buf, sizeof (buf))); in dof_add_probe() 425 dnp->dn_type, buf, sizeof (buf))); in dof_add_probe()
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode_sync.c | 45 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_increase_indirection() 585 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_sync_free() 586 ASSERT(dn->dn_type != DMU_OT_NONE); in dnode_sync_free() 595 dn->dn_type = DMU_OT_NONE; in dnode_sync_free() 685 ASSERT(dnp->dn_type != DMU_OT_NONE || dn->dn_allocated_txg); in dnode_sync() 686 ASSERT(dnp->dn_type != DMU_OT_NONE || in dnode_sync() 724 if (dnp->dn_type == DMU_OT_NONE) { in dnode_sync() 730 dnp->dn_type = dn->dn_type; in dnode_sync() 747 dnp->dn_type = dn->dn_type; in dnode_sync()
|
| H A D | dmu_object.c | 181 if (dn->dn_type == DMU_OT_NONE) { in dmu_object_alloc_impl() 363 ASSERT(dn->dn_type != DMU_OT_NONE); in dmu_object_free() 457 if (dn->dn_type == DMU_OTN_ZAP_METADATA) { in dmu_object_zapify() 461 ASSERT3U(dn->dn_type, ==, old_type); in dmu_object_zapify() 471 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify() 489 t = dn->dn_type; in dmu_object_free_zapified()
|
| H A D | dnode.c | 403 ASSERT(DMU_OT_IS_VALID(dn->dn_phys->dn_type)); in dnode_verify() 412 if (dn->dn_phys->dn_type != DMU_OT_NONE || dn->dn_allocated_txg != 0) { in dnode_verify() 422 ASSERT(DMU_OT_IS_VALID(dn->dn_type)); in dnode_verify() 435 if (dn->dn_phys->dn_type != DMU_OT_NONE) in dnode_verify() 454 if (dnp->dn_type == DMU_OT_NONE) { in dnode_byteswap() 505 if (dnp->dn_type != DMU_OT_NONE) in dnode_buf_byteswap() 607 dn->dn_type = dnp->dn_type; in dnode_create() 622 ASSERT(DMU_OT_IS_VALID(dn->dn_phys->dn_type)); in dnode_create() 737 ASSERT(dn->dn_type in dnode_allocate() [all...] |
| H A D | dmu_diff.c | 83 if (dnp->dn_type == DMU_OT_NONE) in report_dnode()
|
| H A D | dbuf.c | 442 type = dn->dn_type; in dbuf_include_in_metadata_cache() 612 is_metadata = DMU_OT_IS_METADATA(DB_DNODE(db)->dn_type); in dbuf_is_metadata() 664 (level > 0 || DMU_OT_IS_METADATA(dn->dn_type)))) { in dnode_level_is_l2cacheable() 1566 !DMU_OT_IS_ENCRYPTED(dn->dn_type)) || in dbuf_read_verify_dnode_crypt() 1732 mac, dn->dn_type, size, arc_buf_lsize(db->db_buf), in dbuf_fix_old_data() 3147 type = DB_DNODE(db)->dn_type; in dmu_buf_write_embedded() 3190 type = DB_DNODE(db)->dn_type; in dmu_buf_redact() 3515 ASSERT(dn->dn_type != DMU_OT_NONE); in dbuf_create() 3970 dn->dn_type, arc_buf_size(data), arc_buf_lsize(data), in dbuf_hold_copy() 4919 dn->dn_type, psiz in dbuf_sync_leaf() [all...] |
| H A D | dmu_send.c | 722 if (dnp == NULL || dnp->dn_type == DMU_OT_NONE) in dump_dnode() 735 drro->drr_type = dnp->dn_type; in dump_dnode() 1121 DMU_SPILL_BLKID || DMU_OT_IS_METADATA(dnp->dn_type)) && in send_cb() 1150 record->sru.data.obj_type = dnp->dn_type; in send_cb() 1706 range->sru.data.obj_type = dn->dn_type; 1749 spill_range->sru.data.obj_type = dnp->dn_type; in send_reader_thread()
|
| H A D | dmu_objset.c | 1690 DMU_USERUSED_DNODE(os)->dn_type != DMU_OT_NONE) { in dmu_objset_sync() 1698 DMU_PROJECTUSED_DNODE(os)->dn_type != DMU_OT_NONE) { in dmu_objset_sync() 1994 ASSERT(dn->dn_phys->dn_type == DMU_OT_NONE || in userquota_updates_task() 2101 if (DMU_USERUSED_DNODE(os)->dn_type == DMU_OT_NONE) { in dmu_objset_do_userquota_updates_prep() 2111 DMU_PROJECTUSED_DNODE(os)->dn_type == DMU_OT_NONE) { in dmu_objset_do_userquota_updates_prep()
|
| H A D | zap_impl.c | 288 if (DMU_OT_BYTESWAP(dn->dn_type) != DMU_BSWAP_ZAP) in zap_lock_impl()
|
| H A D | dmu_redact.c | 273 if (dnp->dn_type == DMU_OT_NONE || in redact_cb() 863 DMU_OT_IS_METADATA((*dn)->dn_type))) { in hold_next_object()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 812 if (dnp->dn_type != DMU_OT_NONE && in zio_crypt_copy_dnode_bonus() 1076 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1077 osp->os_groupused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1078 osp->os_projectused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs() 1080 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1081 osp->os_groupused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs() 1102 if (osp->os_userused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs() 1109 if (osp->os_groupused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs() 1116 if (osp->os_projectused_dnode.dn_type != DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1450 if (sdnp[i].dn_type != DMU_OT_NONE && in zio_crypt_init_uios_dnode() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 896 if (dnp->dn_type != DMU_OT_NONE && in zio_crypt_copy_dnode_bonus() 1229 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1230 osp->os_groupused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1231 osp->os_projectused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs() 1233 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1234 osp->os_groupused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs() 1266 if (osp->os_userused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs() 1273 if (osp->os_groupused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs() 1280 if (osp->os_projectused_dnode.dn_type != DMU_OT_NONE && in zio_crypt_do_objset_hmacs() 1652 if (sdnp[i].dn_type != DMU_OT_NONE && in zio_crypt_init_uios_dnode() [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | dnode.h | 204 uint8_t dn_type; /* dmu_object_type_t */ member 290 dmu_object_type_t dn_type; /* object type */ member 456 (((_level) > 0 || DMU_OT_IS_METADATA((_dn)->dn_type)) && \
|
| /freebsd/stand/i386/libi386/ |
| H A D | biospnp.c | 69 uint8_t dn_type[3]; member
|
| /freebsd/usr.sbin/makefs/zfs/ |
| H A D | objset.c | 68 dnode->dn_type = type; in dnode_init()
|
| H A D | vdev.c | 130 vdev_pwrite_data(zfs, dnode->dn_type, dnode->dn_checksum, level, fill, in vdev_pwrite_dnode_indir()
|
| /freebsd/sys/contrib/openzfs/tests/unit/ |
| H A D | mock_dmu.c | 116 mdn->mdn_dn.dn_type = type; in mock_dnode_create()
|