Lines Matching refs:tx
761 dmu_tx_t *tx;
779 tx = dmu_tx_create(zfsvfs->z_os);
780 dmu_tx_hold_zap(tx, *objp ? *objp : DMU_NEW_OBJECT, B_TRUE, NULL);
782 dmu_tx_hold_zap(tx, MASTER_NODE_OBJ, B_TRUE,
786 zfs_fuid_txhold(zfsvfs, tx);
787 err = dmu_tx_assign(tx, TXG_WAIT);
789 dmu_tx_abort(tx);
796 DMU_OT_NONE, 0, tx);
798 zfs_userquota_prop_prefixes[type], 8, 1, objp, tx));
803 err = zap_remove(zfsvfs->z_os, *objp, buf, tx);
807 err = zap_update(zfsvfs->z_os, *objp, buf, 8, 1, "a, tx);
811 zfs_fuid_sync(zfsvfs, tx);
812 dmu_tx_commit(tx);
2172 dmu_tx_t *tx;
2184 tx = dmu_tx_create(os);
2185 dmu_tx_hold_zap(tx, MASTER_NODE_OBJ, B_FALSE, ZPL_VERSION_STR);
2187 dmu_tx_hold_zap(tx, MASTER_NODE_OBJ, B_TRUE,
2189 dmu_tx_hold_zap(tx, DMU_NEW_OBJECT, FALSE, NULL);
2191 error = dmu_tx_assign(tx, TXG_WAIT);
2193 dmu_tx_abort(tx);
2198 8, 1, &newvers, tx);
2201 dmu_tx_commit(tx);
2211 DMU_OT_NONE, 0, tx);
2214 ZFS_SA_ATTRS, 8, 1, &sa_obj, tx);
2221 spa_history_log_internal_ds(dmu_objset_ds(os), "upgrade", tx,
2224 dmu_tx_commit(tx);