Lines Matching refs:dn
41 dnode_t *dn = NULL;
87 FTAG, &dn);
88 if (dn)
95 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
96 dnode_rele(dn, FTAG);
108 dnode_t *dn;
114 err = dnode_hold_impl(os, object, DNODE_MUST_BE_FREE, FTAG, &dn);
117 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
118 dnode_rele(dn, FTAG);
128 dnode_t *dn;
135 FTAG, &dn);
139 dnode_reallocate(dn, ot, blocksize, bonustype, bonuslen, tx);
141 dnode_rele(dn, FTAG);
148 dnode_t *dn;
154 FTAG, &dn);
158 ASSERT(dn->dn_type != DMU_OT_NONE);
159 dnode_free_range(dn, 0, DMU_OBJECT_END, tx);
160 dnode_free(dn, tx);
161 dnode_rele(dn, FTAG);
195 dnode_t *dn;
199 VERIFY0(dnode_hold(mos, object, FTAG, &dn));
200 if (dn->dn_type == DMU_OTN_ZAP_METADATA) {
201 dnode_rele(dn, FTAG);
204 ASSERT3U(dn->dn_type, ==, old_type);
205 ASSERT0(dn->dn_maxblkid);
206 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type =
208 dnode_setdirty(dn, tx);
209 dnode_rele(dn, FTAG);
220 dnode_t *dn;
225 VERIFY0(dnode_hold(mos, object, FTAG, &dn));
226 t = dn->dn_type;
227 dnode_rele(dn, FTAG);