Home
last modified time | relevance | path

Searched refs:dn_type (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dnode.h51 __field(dmu_object_type_t, dn_type)
73 __entry->dn_type = dn->dn_type;
98 __entry->dn_object, __entry->dn_type, __entry->dn_bonuslen,
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddmu_object.c190 if (dn->dn_type == DMU_OT_NONE) { in dmu_object_alloc_impl()
372 ASSERT(dn->dn_type != DMU_OT_NONE); in dmu_object_free()
464 if (dn->dn_type == DMU_OTN_ZAP_METADATA) { in dmu_object_zapify()
468 ASSERT3U(dn->dn_type, ==, old_type); in dmu_object_zapify()
478 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
496 t = dn->dn_type; in dmu_object_free_zapified()
H A Ddnode_sync.c54 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_increase_indirection()
593 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_sync_free()
594 ASSERT(dn->dn_type != DMU_OT_NONE); in dnode_sync_free()
603 dn->dn_type = DMU_OT_NONE; in dnode_sync_free()
634 ASSERT(dnp->dn_type != DMU_OT_NONE || dn->dn_allocated_txg); in dnode_sync()
635 ASSERT(dnp->dn_type != DMU_OT_NONE || in dnode_sync()
668 if (dnp->dn_type == DMU_OT_NONE) { in dnode_sync()
674 dnp->dn_type = dn->dn_type; in dnode_sync()
691 dnp->dn_type = dn->dn_type; in dnode_sync()
H A Ddnode.c288 ASSERT(DMU_OT_IS_VALID(dn->dn_type)); in dnode_verify()
320 if (dnp->dn_type == DMU_OT_NONE) { in dnode_byteswap()
380 if (dnp->dn_type != DMU_OT_NONE) in dnode_buf_byteswap()
471 dn->dn_type = dnp->dn_type; in dnode_create()
598 ASSERT(dn->dn_type == DMU_OT_NONE); in dnode_allocate()
608 ASSERT(dn->dn_type == DMU_OT_NONE); in dnode_allocate()
630 dn->dn_type = ot; in dnode_allocate()
724 dn->dn_type = ot; in dnode_reallocate()
765 ndn->dn_type = odn->dn_type; in dnode_move_impl()
1318 type = dn->dn_type; in dnode_hold_impl()
[all …]
H A Ddmu_diff.c92 if (dnp->dn_type == DMU_OT_NONE) in report_dnode()
H A Ddbuf.c427 dmu_object_type_t type = DB_DNODE(db)->dn_type; in dbuf_include_in_metadata_cache()
582 is_metadata = DMU_OT_IS_METADATA(DB_DNODE(db)->dn_type); in dbuf_is_metadata()
1423 !DMU_OT_IS_ENCRYPTED(dn->dn_type)) || in dbuf_read_verify_dnode_crypt()
2610 type = DB_DNODE(db)->dn_type; in dmu_buf_write_embedded()
2641 type = DB_DNODE(db)->dn_type; in dmu_buf_redact()
2950 ASSERT(dn->dn_type != DMU_OT_NONE); in dbuf_create()
4380 BP_GET_TYPE(bp) == dn->dn_type) || in dbuf_write_ready()
4406 if (dn->dn_type == DMU_OT_DNODE) { in dbuf_write_ready()
4413 if (dnp->dn_type != DMU_OT_NONE) { in dbuf_write_ready()
4757 ASSERT3U(db->db_dnode_handle->dnh_dnode->dn_type, ==, in dbuf_remap()
[all …]
H A Ddmu_send.c715 if (dnp == NULL || dnp->dn_type == DMU_OT_NONE) in dump_dnode()
728 drro->drr_type = dnp->dn_type; in dump_dnode()
804 record.sru.data.obj_type = dnp->dn_type; in dump_dnode()
1155 DMU_SPILL_BLKID || DMU_OT_IS_METADATA(dnp->dn_type)) && in send_cb()
1184 record->sru.data.obj_type = dnp->dn_type; in send_cb()
1714 range->sru.data.obj_type = dn->dn_type; in enqueue_range()
H A Ddmu_objset.c1672 DMU_USERUSED_DNODE(os)->dn_type != DMU_OT_NONE) { in dmu_objset_sync()
1680 DMU_PROJECTUSED_DNODE(os)->dn_type != DMU_OT_NONE) { in dmu_objset_sync()
1968 ASSERT(dn->dn_phys->dn_type == DMU_OT_NONE || in userquota_updates_task()
2069 if (DMU_USERUSED_DNODE(os)->dn_type == DMU_OT_NONE) { in dmu_objset_do_userquota_updates_prep()
2079 DMU_PROJECTUSED_DNODE(os)->dn_type == DMU_OT_NONE) { in dmu_objset_do_userquota_updates_prep()
H A Ddmu_redact.c283 if (dnp->dn_type == DMU_OT_NONE || in redact_cb()
872 DMU_OT_IS_METADATA((*dn)->dn_type))) { in hold_next_object()
H A Ddmu.c1932 dmu_object_type_t type = dn ? dn->dn_type : DMU_OT_OBJSET; in dmu_write_policy()
2134 doi->doi_type = dn->dn_type; in __dmu_object_info_from_dnode()
H A Ddmu_tx.c483 ASSERT3U(DMU_OT_BYTESWAP(dn->dn_type), ==, DMU_BSWAP_ZAP); in dmu_tx_hold_zap_impl()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c827 if (dnp->dn_type != DMU_OT_NONE && in zio_crypt_copy_dnode_bonus()
1088 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1089 osp->os_groupused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1090 osp->os_projectused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs()
1092 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1093 osp->os_groupused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs()
1118 if (osp->os_userused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs()
1125 if (osp->os_groupused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs()
1132 if (osp->os_projectused_dnode.dn_type != DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1452 if (sdnp[i].dn_type != DMU_OT_NONE && in zio_crypt_init_uios_dnode()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Ddnode.h214 uint8_t dn_type; /* dmu_object_type_t */ member
296 dmu_object_type_t dn_type; /* object type */ member
460 (DMU_OT_IS_METADATA((_dn)->dn_type) && \
H A Ddbuf.h453 DMU_OT_IS_METADATA((_dn)->dn_handle->dnh_dnode->dn_type)) && \
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c893 if (dnp->dn_type != DMU_OT_NONE && in zio_crypt_copy_dnode_bonus()
1215 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1216 osp->os_groupused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1217 osp->os_projectused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs()
1219 osp->os_userused_dnode.dn_type == DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1220 osp->os_groupused_dnode.dn_type == DMU_OT_NONE) || in zio_crypt_do_objset_hmacs()
1255 if (osp->os_userused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs()
1262 if (osp->os_groupused_dnode.dn_type != DMU_OT_NONE) { in zio_crypt_do_objset_hmacs()
1269 if (osp->os_projectused_dnode.dn_type != DMU_OT_NONE && in zio_crypt_do_objset_hmacs()
1623 if (sdnp[i].dn_type != DMU_OT_NONE && in zio_crypt_init_uios_dnode()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c2291 ASSERT3U(BP_GET_TYPE(bp), ==, dnp->dn_type); in print_indirect()
3473 if (dn->dn_type == DMU_OT_DNODE) { in dump_object()
3763 DMU_USERUSED_DNODE(os)->dn_type != 0) { in dump_objset()
3771 DMU_PROJECTUSED_DNODE(os)->dn_type != 0) in dump_objset()