Lines Matching defs:object
38 uint64_t object;
45 object = os->os_obj_next;
57 * multiple blocks of the dnode object before going back to
63 if (P2PHASE(object, L1_dnode_count) == 0) {
70 offset = object << DNODE_SHIFT;
76 object = offset >> DNODE_SHIFT;
78 os->os_obj_next = ++object;
86 (void) dnode_hold_impl(os, object, DNODE_MUST_BE_FREE,
91 if (dmu_object_next(os, &object, B_TRUE, 0) == 0)
92 os->os_obj_next = object - 1;
100 dmu_tx_add_new_object(tx, os, object);
101 return (object);
105 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot,
111 if (object == DMU_META_DNODE_OBJECT && !dmu_tx_private_ok(tx))
114 err = dnode_hold_impl(os, object, DNODE_MUST_BE_FREE, FTAG, &dn);
120 dmu_tx_add_new_object(tx, os, object);
125 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot,
131 if (object == DMU_META_DNODE_OBJECT)
134 err = dnode_hold_impl(os, object, DNODE_MUST_BE_ALLOCATED,
146 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx)
151 ASSERT(object != DMU_META_DNODE_OBJECT || dmu_tx_private_ok(tx));
153 err = dnode_hold_impl(os, object, DNODE_MUST_BE_ALLOCATED,
167 * Return (in *objectp) the next object which is allocated (or a hole)
168 * after *object, taking into account only objects that may have been modified
186 * Turn this object from old_type into DMU_OTN_ZAP_METADATA, and bump the
192 dmu_object_zapify(objset_t *mos, uint64_t object, dmu_object_type_t old_type,
199 VERIFY0(dnode_hold(mos, object, FTAG, &dn));
211 mzap_create_impl(mos, object, 0, 0, tx);
218 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx)
225 VERIFY0(dnode_hold(mos, object, FTAG, &dn));
233 VERIFY0(dmu_object_free(mos, object, tx));