Lines Matching refs:tx
30 bpobj_alloc(objset_t *os, int blocksize, dmu_tx_t *tx) in bpobj_alloc() argument
42 DMU_OT_BPOBJ_HDR, size, tx)); in bpobj_alloc()
46 bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bpobj_free() argument
82 bpobj_free(os, objarray[blkoff], tx); in bpobj_free()
88 VERIFY3U(0, ==, dmu_object_free(os, bpo.bpo_phys->bpo_subobjs, tx)); in bpobj_free()
94 VERIFY3U(0, ==, dmu_object_free(os, obj, tx)); in bpobj_free()
148 bpobj_iterate_impl(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx, in bpobj_iterate_impl() argument
160 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_iterate_impl()
184 err = func(arg, bp, tx); in bpobj_iterate_impl()
206 i * sizeof (blkptr_t), -1ULL, tx)); in bpobj_iterate_impl()
251 err = bpobj_iterate_impl(&sublist, func, arg, tx, free); in bpobj_iterate_impl()
267 objarray[blkoff], tx); in bpobj_iterate_impl()
281 (i + 1) * sizeof (uint64_t), -1ULL, tx)); in bpobj_iterate_impl()
299 bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate() argument
301 return (bpobj_iterate_impl(bpo, func, arg, tx, B_TRUE)); in bpobj_iterate()
308 bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate_nofree() argument
310 return (bpobj_iterate_impl(bpo, func, arg, tx, B_FALSE)); in bpobj_iterate_nofree()
314 bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx) in bpobj_enqueue_subobj() argument
328 bpobj_free(bpo->bpo_os, subobj, tx); in bpobj_enqueue_subobj()
332 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_enqueue_subobj()
335 DMU_OT_BPOBJ_SUBOBJ, SPA_MAXBLOCKSIZE, DMU_OT_NONE, 0, tx); in bpobj_enqueue_subobj()
341 sizeof (subobj), &subobj, tx); in bpobj_enqueue_subobj()
362 numsubsub * sizeof (subobj), subdb->db_data, tx); in bpobj_enqueue_subobj()
366 dmu_buf_will_dirty(subbpo.bpo_dbuf, tx); in bpobj_enqueue_subobj()
369 subsubobjs, tx)); in bpobj_enqueue_subobj()
381 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx) in bpobj_enqueue() argument
412 dmu_buf_will_dirty(bpo->bpo_cached_dbuf, tx); in bpobj_enqueue()
416 dmu_buf_will_dirty(bpo->bpo_dbuf, tx); in bpobj_enqueue()
438 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in space_range_cb() argument