Lines Matching refs:tx

39 bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx)  in bpobj_alloc_empty()  argument
48 bpobj_alloc(os, SPA_OLD_MAXBLOCKSIZE, tx); in bpobj_alloc_empty()
52 &dp->dp_empty_bpobj, tx) == 0); in bpobj_alloc_empty()
54 spa_feature_incr(spa, SPA_FEATURE_EMPTY_BPOBJ, tx); in bpobj_alloc_empty()
58 return (bpobj_alloc(os, blocksize, tx)); in bpobj_alloc_empty()
63 bpobj_decr_empty(objset_t *os, dmu_tx_t *tx) in bpobj_decr_empty() argument
67 spa_feature_decr(dmu_objset_spa(os), SPA_FEATURE_EMPTY_BPOBJ, tx); in bpobj_decr_empty()
72 DMU_POOL_EMPTY_BPOBJ, tx)); in bpobj_decr_empty()
73 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx)); in bpobj_decr_empty()
79 bpobj_alloc(objset_t *os, int blocksize, dmu_tx_t *tx) in bpobj_alloc() argument
91 DMU_OT_BPOBJ_HDR, size, tx)); in bpobj_alloc()
95 bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bpobj_free() argument
132 bpobj_free(os, objarray[blkoff], tx); in bpobj_free()
138 VERIFY3U(0, ==, dmu_object_free(os, bpo.bpo_phys->bpo_subobjs, tx)); in bpobj_free()
144 VERIFY3U(0, ==, dmu_object_free(os, obj, tx)); in bpobj_free()
211 bpobj_iterate_impl(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx, in bpobj_iterate_impl() argument
224 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_iterate_impl()
248 err = func(arg, bp, tx); in bpobj_iterate_impl()
269 (i + 1) * sizeof (blkptr_t), DMU_OBJECT_END, tx)); in bpobj_iterate_impl()
317 err = bpobj_iterate_impl(&sublist, func, arg, tx, free); in bpobj_iterate_impl()
333 objarray[blkoff], tx); in bpobj_iterate_impl()
347 (i + 1) * sizeof (uint64_t), DMU_OBJECT_END, tx)); in bpobj_iterate_impl()
367 bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate() argument
369 return (bpobj_iterate_impl(bpo, func, arg, tx, B_TRUE)); in bpobj_iterate()
376 bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate_nofree() argument
378 return (bpobj_iterate_impl(bpo, func, arg, tx, B_FALSE)); in bpobj_iterate_nofree()
382 bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx) in bpobj_enqueue_subobj() argument
394 bpobj_decr_empty(bpo->bpo_os, tx); in bpobj_enqueue_subobj()
404 bpobj_free(bpo->bpo_os, subobj, tx); in bpobj_enqueue_subobj()
409 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_enqueue_subobj()
413 DMU_OT_NONE, 0, tx); in bpobj_enqueue_subobj()
422 sizeof (subobj), &subobj, tx); in bpobj_enqueue_subobj()
449 numsubsub * sizeof (subobj), subdb->db_data, tx); in bpobj_enqueue_subobj()
453 dmu_buf_will_dirty(subbpo.bpo_dbuf, tx); in bpobj_enqueue_subobj()
456 subsubobjs, tx)); in bpobj_enqueue_subobj()
468 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx) in bpobj_enqueue() argument
517 dmu_buf_will_dirty(bpo->bpo_cached_dbuf, tx); in bpobj_enqueue()
521 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_enqueue()
543 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in space_range_cb() argument