| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | dmu_tx.c | 82 tx->tx_txg = txg; in dmu_tx_create_assigned() 115 if (err == 0 && tx->tx_txg != 0) { in dmu_tx_hold_object_impl() 123 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_object_impl() 437 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_write() 660 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_free() 751 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_zap() 853 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_bonus() 865 ASSERT(tx->tx_txg == 0); in dmu_tx_hold_space() 885 ASSERT(tx->tx_txg != 0); in dmu_tx_holds() 909 ASSERT(tx->tx_txg != 0); in dmu_tx_dirty_buf() [all …]
|
| H A D | dnode.c | 364 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = DN_ZERO_BONUSLEN; in dnode_setbonuslen() 366 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_setbonuslen() 377 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_setbonus_type() 387 dn->dn_rm_spillblk[tx->tx_txg&TXG_MASK] = DN_KILL_SPILLBLK; in dnode_rm_spill() 557 dn->dn_object, tx->tx_txg, blocksize, ibs); in dnode_allocate() 611 dn->dn_allocated_txg = tx->tx_txg; in dnode_allocate() 615 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs; in dnode_allocate() 616 dn->dn_next_bonuslen[tx->tx_txg & TXG_MASK] = dn->dn_bonuslen; in dnode_allocate() 617 dn->dn_next_bonustype[tx->tx_txg & TXG_MASK] = dn->dn_bonustype; in dnode_allocate() 618 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = dn->dn_datablksz; in dnode_allocate() [all …]
|
| H A D | dnode_sync.c | 43 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection() 159 uint64_t txg = tx->tx_txg; in free_verify() 481 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free() 529 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync_free() 543 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync() 571 if (dn->dn_allocated_txg == tx->tx_txg) { in dnode_sync() 626 dn->dn_free_txg <= tx->tx_txg; in dnode_sync() 686 ASSERT(dn->dn_allocated_txg == tx->tx_txg); in dnode_sync() 714 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync()
|
| H A D | dbuf.c | 1240 uint64_t txg = tx->tx_txg; in dbuf_free_range() 1409 ASSERT3U(db->db_last_dirty->dr_txg, ==, tx->tx_txg); in dbuf_new_size() 1465 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty() 1467 ASSERT(tx->tx_txg != 0); in dbuf_dirty() 1539 ASSERT(*drp == NULL || (*drp)->dr_txg <= tx->tx_txg || in dbuf_dirty() 1541 while ((dr = *drp) != NULL && dr->dr_txg > tx->tx_txg) in dbuf_dirty() 1543 if (dr && dr->dr_txg == tx->tx_txg) { in dbuf_dirty() 1562 dn->dn_next_nlevels[(tx->tx_txg-1) & TXG_MASK] > db->db_level || in dbuf_dirty() 1563 dn->dn_next_nlevels[(tx->tx_txg-2) & TXG_MASK] > db->db_level); in dbuf_dirty() 1608 dbuf_fix_old_data(db, tx->tx_txg); in dbuf_dirty() [all …]
|
| H A D | dsl_scan.c | 226 scn->scn_phys.scn_max_txg = tx->tx_txg; in dsl_scan_setup_sync() 349 vdev_dtl_reassess(spa->spa_root_vdev, tx->tx_txg, in dsl_scan_done() 1501 func, tx->tx_txg); in dsl_scan_sync() 1598 (longlong_t)tx->tx_txg, err); in dsl_scan_sync() 1606 ddt_sync(spa, tx->tx_txg); in dsl_scan_sync() 1647 if (scn->scn_done_txg == tx->tx_txg) { in dsl_scan_sync() 1650 zfs_dbgmsg("txg %llu scan complete", tx->tx_txg); in dsl_scan_sync() 1661 (longlong_t)tx->tx_txg, in dsl_scan_sync() 1672 (longlong_t)tx->tx_txg, in dsl_scan_sync() 1692 scn->scn_done_txg = tx->tx_txg + 1; in dsl_scan_sync() [all …]
|
| H A D | dsl_dir.c | 1005 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) { in dsl_dir_dirty() 1026 ASSERT0(dd->dd_tempreserved[tx->tx_txg&TXG_MASK]); in dsl_dir_sync() 1027 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg, in dsl_dir_sync() 1028 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] / 1024); in dsl_dir_sync() 1029 dd->dd_space_towrite[tx->tx_txg&TXG_MASK] = 0; in dsl_dir_sync() 1129 uint64_t txg = tx->tx_txg; in dsl_dir_tempreserve_impl() 1263 err = arc_tempreserve_space(lsize, tx->tx_txg); in dsl_dir_tempreserve_space() 1281 txg_delay(dd->dd_pool, tx->tx_txg, in dsl_dir_tempreserve_space() 1307 int txgidx = tx->tx_txg & TXG_MASK; in dsl_dir_tempreserve_clear() 1311 ASSERT3U(tx->tx_txg, !=, 0); in dsl_dir_tempreserve_clear() [all …]
|
| H A D | dsl_dataset.c | 174 ASSERT(bp->blk_birth <= tx->tx_txg); in dsl_dataset_block_kill() 177 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 191 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 848 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd() 1127 ASSERT3U(tx->tx_txg, >, dsl_dataset_phys(ds)->ds_prev_snap_txg); in dsl_dataset_dirty() 1130 if (txg_list_add(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dsl_dataset_dirty() 1189 ds->ds_trysnap_txg = tx->tx_txg; in dsl_dataset_snapshot_check_impl() 1198 if (dsl_dataset_phys(ds)->ds_prev_snap_txg >= tx->tx_txg) in dsl_dataset_snapshot_check_impl() 1404 ds, tx->tx_txg)); in dsl_dataset_snapshot_sync_impl() 1414 crtxg = tx->tx_txg; in dsl_dataset_snapshot_sync_impl() [all …]
|
| H A D | dsl_destroy.c | 163 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb() 250 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl() 569 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr() 726 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
|
| H A D | spa_history.c | 450 if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa)) { in log_internal() 465 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); in log_internal()
|
| H A D | dmu_object.c | 197 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
|
| H A D | dmu_objset.c | 805 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] = in dmu_objset_create_impl() 1111 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", tx->tx_txg); in dmu_objset_sync() 1136 zio = arc_write(pio, os->os_spa, tx->tx_txg, in dmu_objset_sync() 1157 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync() 1373 if (dr->dr_txg == tx->tx_txg) in dmu_objset_userquota_find_data()
|
| H A D | zfeature.c | 421 tx->tx_txg == TXG_INITIAL)); in spa_feature_create_zap_objects()
|
| H A D | dsl_pool.c | 761 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space; in dsl_pool_dirty_space()
|
| H A D | spa_misc.c | 1441 if (tx->tx_txg != TXG_INITIAL) in spa_activate_mos_feature()
|
| H A D | spa.c | 6607 ASSERT(tx->tx_txg != TXG_INITIAL); in spa_sync_version() 6688 if (tx->tx_txg != TXG_INITIAL) in spa_sync_props() 6745 if (tx->tx_txg != TXG_INITIAL) in spa_sync_props()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| H A D | dmu_tx.h | 56 uint64_t tx_txg; member
|