Lines Matching refs:tx

351 dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx)
355 dnode_setdirty(dn, tx);
361 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN;
363 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen;
368 dnode_setbonus_type(dnode_t *dn, dmu_object_type_t newtype, dmu_tx_t *tx)
371 dnode_setdirty(dn, tx);
374 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype;
379 dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx)
383 dnode_setdirty(dn, tx);
384 dn->dn_rm_spillblk[tx->tx_txg&TXG_MASK] = DN_KILL_SPILLBLK;
534 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
551 dn->dn_object, tx->tx_txg, blocksize, ibs);
605 dn->dn_allocated_txg = tx->tx_txg;
608 dnode_setdirty(dn, tx);
609 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs;
610 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen;
611 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype;
612 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = dn->dn_datablksz;
617 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
625 ASSERT(dn->dn_object != DMU_META_DNODE_OBJECT || dmu_tx_private_ok(tx));
626 ASSERT(tx->tx_txg != 0);
639 dnode_setdirty(dn, tx);
646 dn->dn_next_blksz[tx->tx_txg&TXG_MASK] = blocksize;
649 dn->dn_next_bonuslen[tx->tx_txg&TXG_MASK] = bonuslen;
656 dn->dn_next_bonustype[tx->tx_txg&TXG_MASK] = bonustype;
658 dn->dn_next_nblkptr[tx->tx_txg&TXG_MASK] = nblkptr;
660 dbuf_rm_spill(dn, tx);
661 dnode_rm_spill(dn, tx);
684 dn->dn_allocated_txg = tx->tx_txg;
1261 dnode_setdirty(dnode_t *dn, dmu_tx_t *tx)
1264 uint64_t txg = tx->tx_txg;
1267 dsl_dataset_dirty(os->os_dsl_dataset, tx);
1283 dmu_objset_userquota_get_ids(dn, B_TRUE, tx);
1322 VERIFY(dnode_add_ref(dn, (void *)(uintptr_t)tx->tx_txg));
1324 (void) dbuf_dirty(dn->dn_dbuf, tx);
1326 dsl_dataset_dirty(os->os_dsl_dataset, tx);
1330 dnode_free(dnode_t *dn, dmu_tx_t *tx)
1332 int txgoff = tx->tx_txg & TXG_MASK;
1334 dprintf("dn=%p txg=%llu\n", dn, tx->tx_txg);
1344 dn->dn_free_txg = tx->tx_txg;
1358 dnode_setdirty(dn, tx);
1367 dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx)
1407 dbuf_new_size(db, size, tx);
1412 dnode_setdirty(dn, tx);
1413 dn->dn_next_blksz[tx->tx_txg&TXG_MASK] = size;
1416 dn->dn_next_indblkshift[tx->tx_txg&TXG_MASK] = ibs;
1432 dnode_new_blkid(dnode_t *dn, uint64_t blkid, dmu_tx_t *tx, boolean_t have_read)
1434 uint64_t txgoff = tx->tx_txg & TXG_MASK;
1486 new = dbuf_dirty(db, tx);
1514 dnode_dirty_l1(dnode_t *dn, uint64_t l1blkid, dmu_tx_t *tx)
1518 dmu_buf_will_dirty(&db->db, tx);
1524 dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx)
1586 dmu_buf_will_dirty(&db->db, tx);
1622 dmu_buf_will_dirty(&db->db, tx);
1666 dnode_dirty_l1(dn, first, tx);
1672 dnode_dirty_l1(dn, last, tx);
1703 dnode_dirty_l1(dn, i, tx);
1713 int txgoff = tx->tx_txg & TXG_MASK;
1721 blkid, nblks, tx->tx_txg);
1724 dbuf_free_range(dn, blkid, blkid + nblks - 1, tx);
1725 dnode_setdirty(dn, tx);
1812 dnode_willuse_space(dnode_t *dn, int64_t space, dmu_tx_t *tx)
1819 dsl_dir_willuse_space(ds->ds_dir, aspace, tx);
1820 dsl_pool_dirty_space(dmu_tx_pool(tx), space, tx);
1823 dmu_tx_willuse_space(tx, aspace);