Lines Matching refs:tx

38 bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx)
47 bpobj_alloc(os, SPA_OLD_MAXBLOCKSIZE, tx);
51 &dp->dp_empty_bpobj, tx) == 0);
53 spa_feature_incr(spa, SPA_FEATURE_EMPTY_BPOBJ, tx);
57 return (bpobj_alloc(os, blocksize, tx));
62 bpobj_decr_empty(objset_t *os, dmu_tx_t *tx)
66 spa_feature_decr(dmu_objset_spa(os), SPA_FEATURE_EMPTY_BPOBJ, tx);
71 DMU_POOL_EMPTY_BPOBJ, tx));
72 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx));
78 bpobj_alloc(objset_t *os, int blocksize, dmu_tx_t *tx)
90 DMU_OT_BPOBJ_HDR, size, tx));
94 bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx)
131 bpobj_free(os, objarray[blkoff], tx);
137 VERIFY3U(0, ==, dmu_object_free(os, bpo.bpo_phys->bpo_subobjs, tx));
143 VERIFY3U(0, ==, dmu_object_free(os, obj, tx));
204 bpobj_iterate_impl(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx,
216 dmu_buf_will_dirty(bpo->bpo_dbuf, tx);
240 err = func(arg, bp, tx);
261 (i + 1) * sizeof (blkptr_t), -1ULL, tx));
309 err = bpobj_iterate_impl(&sublist, func, arg, tx, free);
325 objarray[blkoff], tx);
339 (i + 1) * sizeof (uint64_t), -1ULL, tx));
359 bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx)
361 return (bpobj_iterate_impl(bpo, func, arg, tx, B_TRUE));
368 bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx)
370 return (bpobj_iterate_impl(bpo, func, arg, tx, B_FALSE));
374 bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx)
384 bpobj_decr_empty(bpo->bpo_os, tx);
394 bpobj_free(bpo->bpo_os, subobj, tx);
398 dmu_buf_will_dirty(bpo->bpo_dbuf, tx);
402 DMU_OT_NONE, 0, tx);
412 sizeof (subobj), &subobj, tx);
439 numsubsub * sizeof (subobj), subdb->db_data, tx);
443 dmu_buf_will_dirty(subbpo.bpo_dbuf, tx);
446 subsubobjs, tx));
458 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx)
506 dmu_buf_will_dirty(bpo->bpo_cached_dbuf, tx);
510 dmu_buf_will_dirty(bpo->bpo_dbuf, tx);
532 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx)