Lines Matching refs:tx

37 bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx)  in bpobj_alloc_empty()  argument
46 bpobj_alloc(os, SPA_OLD_MAXBLOCKSIZE, tx); in bpobj_alloc_empty()
50 &dp->dp_empty_bpobj, tx) == 0); in bpobj_alloc_empty()
52 spa_feature_incr(spa, SPA_FEATURE_EMPTY_BPOBJ, tx); in bpobj_alloc_empty()
56 return (bpobj_alloc(os, blocksize, tx)); in bpobj_alloc_empty()
61 bpobj_decr_empty(objset_t *os, dmu_tx_t *tx) in bpobj_decr_empty() argument
65 spa_feature_decr(dmu_objset_spa(os), SPA_FEATURE_EMPTY_BPOBJ, tx); in bpobj_decr_empty()
70 DMU_POOL_EMPTY_BPOBJ, tx)); in bpobj_decr_empty()
71 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx)); in bpobj_decr_empty()
77 bpobj_alloc(objset_t *os, int blocksize, dmu_tx_t *tx) in bpobj_alloc() argument
89 DMU_OT_BPOBJ_HDR, size, tx)); in bpobj_alloc()
93 bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bpobj_free() argument
130 bpobj_free(os, objarray[blkoff], tx); in bpobj_free()
136 VERIFY3U(0, ==, dmu_object_free(os, bpo.bpo_phys->bpo_subobjs, tx)); in bpobj_free()
142 VERIFY3U(0, ==, dmu_object_free(os, obj, tx)); in bpobj_free()
203 bpobj_iterate_impl(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx, in bpobj_iterate_impl() argument
215 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_iterate_impl()
239 err = func(arg, bp, tx); in bpobj_iterate_impl()
260 (i + 1) * sizeof (blkptr_t), -1ULL, tx)); in bpobj_iterate_impl()
308 err = bpobj_iterate_impl(&sublist, func, arg, tx, free); in bpobj_iterate_impl()
324 objarray[blkoff], tx); in bpobj_iterate_impl()
338 (i + 1) * sizeof (uint64_t), -1ULL, tx)); in bpobj_iterate_impl()
358 bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate() argument
360 return (bpobj_iterate_impl(bpo, func, arg, tx, B_TRUE)); in bpobj_iterate()
367 bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate_nofree() argument
369 return (bpobj_iterate_impl(bpo, func, arg, tx, B_FALSE)); in bpobj_iterate_nofree()
373 bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx) in bpobj_enqueue_subobj() argument
383 bpobj_decr_empty(bpo->bpo_os, tx); in bpobj_enqueue_subobj()
393 bpobj_free(bpo->bpo_os, subobj, tx); in bpobj_enqueue_subobj()
397 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_enqueue_subobj()
401 DMU_OT_NONE, 0, tx); in bpobj_enqueue_subobj()
411 sizeof (subobj), &subobj, tx); in bpobj_enqueue_subobj()
438 numsubsub * sizeof (subobj), subdb->db_data, tx); in bpobj_enqueue_subobj()
442 dmu_buf_will_dirty(subbpo.bpo_dbuf, tx); in bpobj_enqueue_subobj()
445 subsubobjs, tx)); in bpobj_enqueue_subobj()
457 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx) in bpobj_enqueue() argument
505 dmu_buf_will_dirty(bpo->bpo_cached_dbuf, tx); in bpobj_enqueue()
509 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_enqueue()
531 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in space_range_cb() argument