| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_tx.c | 93 tx->tx_txg = txg; in dmu_tx_create_assigned() 119 if (tx->tx_txg != 0) { in dmu_tx_hold_dnode_impl() 358 ASSERT0(tx->tx_txg); in dmu_tx_hold_write() 375 ASSERT0(tx->tx_txg); in dmu_tx_hold_write_by_dnode() 396 ASSERT0(tx->tx_txg); in dmu_tx_hold_append() 412 ASSERT0(tx->tx_txg); in dmu_tx_hold_append_by_dnode() 562 ASSERT0(tx->tx_txg); in dmu_tx_hold_clone_by_dnode() 628 ASSERT0(tx->tx_txg); in dmu_tx_hold_zap() 641 ASSERT0(tx->tx_txg); in dmu_tx_hold_zap_by_dnode() 667 ASSERT0(tx->tx_txg); in dmu_tx_hold_bonus_by_dnode() [all …]
|
| H A D | dnode.c | 771 dn->dn_allocated_txg = tx->tx_txg; in dnode_allocate() 775 dn->dn_next_indblkshift[tx->tx_txg & TXG_MASK] = ibs; in dnode_allocate() 793 ASSERT(tx->tx_txg != 0); in dnode_reallocate() 862 dn->dn_allocated_txg = tx->tx_txg; in dnode_reallocate() 1798 uint64_t txg = tx->tx_txg; in dnode_setdirty() 1868 dn->dn_free_txg = tx->tx_txg; in dnode_free() 1927 dn->dn_next_blksz[tx->tx_txg & TXG_MASK] = size; in dnode_set_blksz() 1947 uint64_t txgoff = tx->tx_txg & TXG_MASK; in dnode_set_nlevels_impl() 2051 dn->dn_next_maxblkid[tx->tx_txg & TXG_MASK] = in dnode_new_blkid() 2384 int txgoff = tx->tx_txg & TXG_MASK; in dnode_free_range() [all …]
|
| H A D | dnode_sync.c | 45 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection() 181 uint64_t txg = tx->tx_txg; in free_verify() 570 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free() 621 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync_free() 636 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync() 679 if (dn->dn_allocated_txg == tx->tx_txg) { in dnode_sync() 738 dn->dn_free_txg <= tx->tx_txg; in dnode_sync() 834 ASSERT(dn->dn_allocated_txg == tx->tx_txg); in dnode_sync() 861 dnode_rele(dn, (void *)(uintptr_t)tx->tx_txg); in dnode_sync()
|
| H A D | dbuf.c | 1952 uint64_t txg = tx->tx_txg; in dbuf_free_range() 2148 dr->dr_txg = tx->tx_txg; in dbuf_dirty_lightweight() 2214 ASSERT(tx->tx_txg != 0); in dbuf_dirty() 2259 dn->dn_dirty_txg = tx->tx_txg; in dbuf_dirty() 2357 dr->dr_txg = tx->tx_txg; in dbuf_dirty() 2514 uint64_t txg = tx->tx_txg; in dbuf_undirty() 2609 ASSERT(tx->tx_txg != 0); in dmu_buf_will_dirty_impl() 2735 ASSERT(tx->tx_txg != 0); in dmu_buf_will_fill() 2932 ASSERT(tx->tx_txg != 0); in dbuf_assign_arcbuf() 4455 uint64_t txg = tx->tx_txg; in dbuf_sync_leaf() [all …]
|
| H A D | dsl_dataset.c | 221 ASSERT(birth <= tx->tx_txg); in dsl_dataset_block_remapped() 262 ASSERT(bp->blk_birth <= tx->tx_txg); in dsl_dataset_block_kill() 265 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 292 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 1174 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd() 1494 ds->ds_trysnap_txg = tx->tx_txg; in dsl_dataset_snapshot_check_impl() 1713 ds, tx->tx_txg)); in dsl_dataset_snapshot_sync_impl() 1723 crtxg = tx->tx_txg; in dsl_dataset_snapshot_sync_impl() 2098 ds->ds_resume_bytes[tx->tx_txg & TXG_MASK] = 0; in dsl_dataset_sync() 2213 tx->tx_txg - 1, tx); in dsl_flush_pending_livelist() [all …]
|
| H A D | dsl_dir.c | 1152 if (txg_list_add(&dp->dp_dirty_dirs, dd, tx->tx_txg)) { in dsl_dir_dirty() 1173 ASSERT0(dd->dd_tempreserved[tx->tx_txg & TXG_MASK]); in dsl_dir_sync() 1174 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", (u_longlong_t)tx->tx_txg, in dsl_dir_sync() 1175 (u_longlong_t)dd->dd_space_towrite[tx->tx_txg & TXG_MASK] / 1024); in dsl_dir_sync() 1176 dd->dd_space_towrite[tx->tx_txg & TXG_MASK] = 0; in dsl_dir_sync() 1283 txg = tx->tx_txg; in dsl_dir_tempreserve_impl() 1434 err = arc_tempreserve_space(dd->dd_pool->dp_spa, lsize, tx->tx_txg); in dsl_dir_tempreserve_space() 1452 txg_delay(dd->dd_pool, tx->tx_txg, in dsl_dir_tempreserve_space() 1478 int txgidx = tx->tx_txg & TXG_MASK; in dsl_dir_tempreserve_clear() 1482 ASSERT3U(tx->tx_txg, !=, 0); in dsl_dir_tempreserve_clear() [all …]
|
| H A D | spa_checkpoint.c | 324 sdc.sdc_txg = tx->tx_txg; in spa_checkpoint_discard_thread_sync() 342 (u_longlong_t)tx->tx_txg, (longlong_t)vd->vdev_id, in spa_checkpoint_discard_thread_sync()
|
| H A D | dmu_objset.c | 1126 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] = in dmu_objset_create_impl_dnstats() 1298 tx->tx_txg); in dmu_objset_create_sync() 1307 if (txg_list_member(&dp->dp_dirty_datasets, ds, tx->tx_txg)) { in dmu_objset_create_sync() 1314 tx->tx_txg); in dmu_objset_create_sync() 1680 dprintf_ds(os->os_dsl_dataset, "txg=%llu\n", (u_longlong_t)tx->tx_txg); in dmu_objset_sync() 1711 os->os_next_write_raw[tx->tx_txg & TXG_MASK]) { in dmu_objset_sync() 1718 zio = arc_write(pio, os->os_spa, tx->tx_txg, in dmu_objset_sync() 1745 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync() 2123 if (tx->tx_txg <= os->os_spa->spa_claim_max_txg) in dmu_objset_do_userquota_updates_prep() 2190 dr = dbuf_find_dirty_eq(db, tx->tx_txg); in dmu_objset_userquota_find_data()
|
| H A D | dsl_scan.c | 663 scn->scn_restart_txg <= tx->tx_txg); in dsl_scan_restarting() 748 *funcp, 0, (u_longlong_t)tx->tx_txg); in dsl_errorscrub_setup_sync() 873 scn->scn_phys.scn_max_txg = tx->tx_txg; in dsl_scan_setup_sync() 3818 ddt_sync(spa, tx->tx_txg); in dsl_process_async_destroys() 3819 brt_sync(spa, tx->tx_txg); in dsl_process_async_destroys() 4384 tx->tx_txg % zfs_scan_report_txgs == 0) { in dsl_scan_sync() 4462 (longlong_t)tx->tx_txg, in dsl_scan_sync() 4471 (longlong_t)tx->tx_txg, in dsl_scan_sync() 4514 scn->scn_done_txg = tx->tx_txg + 1; in dsl_scan_sync() 4524 (longlong_t)tx->tx_txg); in dsl_scan_sync() [all …]
|
| H A D | dsl_destroy.c | 147 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb() 316 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_snapshot_sync_impl() 727 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr() 1020 ASSERT3U(dsl_dataset_phys(ds)->ds_bp.blk_birth, <=, tx->tx_txg); in dsl_destroy_head_sync_impl()
|
| H A D | dsl_pool.c | 992 dp->dp_dirty_pertxg[tx->tx_txg & TXG_MASK] += space; in dsl_pool_dirty_space() 995 dsl_pool_need_dirty_sync(dp, tx->tx_txg); in dsl_pool_dirty_space() 999 txg_kick(dp, tx->tx_txg); in dsl_pool_dirty_space()
|
| H A D | zfeature.c | 444 ASSERT((!spa->spa_sync_on && tx->tx_txg == TXG_INITIAL) || in spa_feature_create_zap_objects()
|
| H A D | dmu_object.c | 480 dn->dn_next_type[tx->tx_txg & TXG_MASK] = dn->dn_type = in dmu_object_zapify()
|
| H A D | spa_history.c | 535 fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); in log_internal()
|
| H A D | zfs_log.c | 705 dsl_pool_wrlog_count(zilog->zl_dmu_pool, size, tx->tx_txg); in zfs_log_write()
|
| H A D | spa.c | 2857 zio_free(spa, tx->tx_txg, bp); in delete_blkptr_cb() 3093 "(%llu blkptrs)", (u_longlong_t)tx->tx_txg, dsname, in spa_livelist_condense_sync() 9250 ASSERT(tx->tx_txg != TXG_INITIAL); 9321 if (tx->tx_txg != TXG_INITIAL) { 9336 if (tx->tx_txg != TXG_INITIAL) { 9419 if (tx->tx_txg != TXG_INITIAL) 9635 uint64_t txg = tx->tx_txg; 9723 uint64_t txg = tx->tx_txg;
|
| H A D | vdev_rebuild.c | 330 vdev_dtl_reassess(vd, tx->tx_txg, vrp->vrp_max_txg, B_TRUE, B_TRUE); in vdev_rebuild_complete_sync()
|
| H A D | zcp.c | 657 zfs_dbgmsg("txg %lld ZCP: %s", (longlong_t)ri->zri_tx->tx_txg, in zcp_debug()
|
| H A D | zil.c | 1146 ASSERT3U(tx->tx_txg, ==, spa_first_txg(zilog->zl_spa)); in zil_claim() 1185 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in zil_claim() 1215 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in zil_claim()
|
| H A D | zvol.c | 595 dsl_pool_wrlog_count(zilog->zl_dmu_pool, sz, tx->tx_txg); in zvol_log_write()
|
| H A D | spa_misc.c | 1440 if (tx->tx_txg != TXG_INITIAL) in spa_activate_mos_feature()
|
| H A D | dmu.c | 2373 ASSERT3U(dr->dr_txg, ==, tx->tx_txg); in dmu_brt_clone()
|
| H A D | dsl_crypt.c | 2141 os->os_next_write_raw[tx->tx_txg & TXG_MASK] = B_TRUE; in dsl_crypto_recv_raw_objset_sync()
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_dmu.h | 50 __field(uint64_t, tx_txg) 62 __entry->tx_txg = tx->tx_txg; 76 __entry->tx_txg, __entry->tx_lastsnap_txg,
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | dmu_tx.h | 57 uint64_t tx_txg; member
|