Searched refs:tx_txg (Results 1 - 16 of 16) sorted by relevance

/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddmu_tx.c82 tx->tx_txg = txg;
115 if (err == 0 && tx->tx_txg != 0) {
118 * dn->dn_assigned_txg == tx->tx_txg doesn't pose a
123 dn->dn_assigned_txg = tx->tx_txg;
437 ASSERT(tx->tx_txg == 0);
660 ASSERT(tx->tx_txg == 0);
751 ASSERT(tx->tx_txg == 0);
853 ASSERT(tx->tx_txg == 0);
865 ASSERT(tx->tx_txg == 0);
885 ASSERT(tx->tx_txg !
[all...]
H A Ddnode.c364 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN;
366 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen;
377 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype;
387 dn->dn_rm_spillblk[tx->tx_txg&TXG_MASK] = DN_KILL_SPILLBLK;
557 dn->dn_object, tx->tx_txg, blocksize, ibs);
611 dn->dn_allocated_txg = tx->tx_txg;
615 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs;
616 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen;
617 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype;
618 dn->dn_next_blksz[tx->tx_txg
[all...]
H A Ddnode_sync.c43 int txgoff = tx->tx_txg & TXG_MASK;
159 uint64_t txg = tx->tx_txg;
481 int txgoff = tx->tx_txg & TXG_MASK;
529 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg);
543 int txgoff = tx->tx_txg & TXG_MASK;
571 if (dn->dn_allocated_txg == tx->tx_txg) {
626 dn->dn_free_txg <= tx->tx_txg;
686 ASSERT(dn->dn_allocated_txg == tx->tx_txg);
714 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg);
H A Ddsl_scan.c226 scn->scn_phys.scn_max_txg = tx->tx_txg;
349 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg,
1501 func, tx->tx_txg);
1598 (longlong_t)tx->tx_txg, err);
1606 ddt_sync(spa, tx->tx_txg);
1647 if (scn->scn_done_txg == tx->tx_txg) {
1650 zfs_dbgmsg("txg %llu scan complete", tx->tx_txg);
1661 (longlong_t)tx->tx_txg,
1672 (longlong_t)tx->tx_txg,
1692 scn->scn_done_txg = tx->tx_txg
[all...]
H A Ddbuf.c1240 uint64_t txg = tx->tx_txg;
1409 ASSERT3U(db->db_last_dirty->dr_txg, ==, tx->tx_txg);
1465 int txgoff = tx->tx_txg & TXG_MASK;
1467 ASSERT(tx->tx_txg != 0);
1539 ASSERT(*drp == NULL || (*drp)->dr_txg <= tx->tx_txg ||
1541 while ((dr = *drp) != NULL && dr->dr_txg > tx->tx_txg)
1543 if (dr && dr->dr_txg == tx->tx_txg) {
1562 dn->dn_next_nlevels[(tx->tx_txg-1) & TXG_MASK] > db->db_level ||
1563 dn->dn_next_nlevels[(tx->tx_txg-2) & TXG_MASK] > db->db_level);
1608 dbuf_fix_old_data(db, tx->tx_txg);
[all...]
H A Ddsl_dir.c1005 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) {
1026 ASSERT0(dd->dd_tempreserved[tx->tx_txg&TXG_MASK]);
1027 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg,
1028 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] / 1024);
1029 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] = 0;
1129 uint64_t txg = tx->tx_txg;
1263 err = arc_tempreserve_space(lsize, tx->tx_txg);
1281 txg_delay(dd->dd_pool, tx->tx_txg,
1307 int txgidx = tx->tx_txg & TXG_MASK;
1311 ASSERT3U(tx->tx_txg, !
[all...]
H A Ddsl_dataset.c174 ASSERT(bp->blk_birth <= tx->tx_txg);
177 dsl_free(tx->tx_pool, tx->tx_txg, bp);
191 dsl_free(tx->tx_pool, tx->tx_txg, bp);
848 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg;
1127 ASSERT3U(tx->tx_txg, >, dsl_dataset_phys(ds)->ds_prev_snap_txg);
1130 if (txg_list_add(&dp->dp_dirty_datasets, ds, tx->tx_txg)) {
1189 ds->ds_trysnap_txg = tx->tx_txg;
1198 if (dsl_dataset_phys(ds)->ds_prev_snap_txg >= tx->tx_txg)
1404 ds, tx->tx_txg));
[all...]
H A Dspa_history.c450 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) {
465 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg);
H A Ddsl_destroy.c163 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp);
250 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg);
569 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp);
726 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg);
H A Ddmu_object.c197 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type =
H A Dzfeature.c421 tx->tx_txg == TXG_INITIAL));
H A Ddmu_objset.c805 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] =
1111 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", tx->tx_txg);
1136 zio = arc_write(pio, os->os_spa, tx->tx_txg,
1157 txgoff = tx->tx_txg & TXG_MASK;
1373 if (dr->dr_txg == tx->tx_txg)
H A Ddsl_pool.c761 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space;
H A Dspa_misc.c1435 * When we are creating the pool (tx_txg==TXG_INITIAL), we can't
1441 if (tx->tx_txg != TXG_INITIAL)
H A Dspa.c6607 ASSERT(tx->tx_txg != TXG_INITIAL);
6688 if (tx->tx_txg != TXG_INITIAL)
6745 if (tx->tx_txg != TXG_INITIAL)
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Ddmu_tx.h56 uint64_t tx_txg; member in struct:dmu_tx

Completed in 212 milliseconds