/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_log_spacemap.c | 314 if (sls->sls_txg == spa_syncing_txg(spa)) { in spa_estimate_incoming_log_blocks() 570 ASSERT3U(last_sls->sls_txg, ==, spa_syncing_txg(spa)); in spa_log_sm_increment_current_mscount() 600 summary_add_data(spa, spa_syncing_txg(spa), 0, 0, nblocks); in spa_log_summary_add_incoming_blocks() 606 summary_add_data(spa, spa_syncing_txg(spa), 1, dirty ? 1 : 0, 0); in spa_log_summary_add_flushed_metaslab() 879 ASSERT3U(sls->sls_txg, ==, spa_syncing_txg(spa)); in spa_sync_close_syncing_log_sm()
|
H A D | metaslab.c | 1964 if (txg != spa_syncing_txg(spa) || msp->ms_sm == NULL || in metaslab_verify_space() 2105 uint64_t hist_index = spa_syncing_txg(spa) % TXG_DEFER_SIZE; in metaslab_aux_histograms_update_done() 2497 (u_longlong_t)spa_syncing_txg(spa), spa_name(spa), in metaslab_load_impl() 2512 metaslab_verify_space(msp, spa_syncing_txg(spa)); in metaslab_load_impl() 2607 (u_longlong_t)spa_syncing_txg(spa), spa_name(spa), in metaslab_unload() 2966 uint64_t txg = spa_syncing_txg(spa); in metaslab_set_fragmentation() 3555 metaslab_set_selected_txg(msp, spa_syncing_txg(spa)); in metaslab_preload() 3810 metaslab_set_unflushed_txg(msp, spa_syncing_txg(spa), tx); in metaslab_unflushed_add() 3837 metaslab_set_unflushed_txg(msp, spa_syncing_txg(spa), tx); in metaslab_unflushed_bump() 5395 vdev_dirty(vd, VDD_METASLAB, msp, spa_syncing_txg(spa)); in metaslab_free_concrete() [all …]
|
H A D | spa_checkpoint.c | 502 ASSERT3U(checkpoint.ub_txg, ==, spa->spa_syncing_txg - 1); in spa_checkpoint_sync()
|
H A D | dmu_direct.c | 157 ASSERT3U(txg, >, spa_syncing_txg(os->os_spa)); in dmu_write_direct()
|
H A D | zio_inject.c | 534 spa_syncing_txg(spa)); in spa_handle_ignored_writes()
|
H A D | vdev_removal.c | 666 uint64_t txg = spa_syncing_txg(spa); in free_from_removing_vdev() 846 ASSERT3U(dmu_tx_get_txg(tx), ==, spa_syncing_txg(spa)); in spa_finish_removal() 906 ASSERT3U(txg, ==, spa_syncing_txg(spa)); in vdev_mapping_sync()
|
H A D | spa_misc.c | 1802 spa_syncing_txg(spa_t *spa) in spa_syncing_txg() function 1804 return (spa->spa_syncing_txg); in spa_syncing_txg() 3050 EXPORT_SYMBOL(spa_syncing_txg);
|
H A D | ddt.c | 992 if (spa_syncing_txg(spa) <= spa->spa_dedup_class_full_txg + in ddt_special_over_quota() 2344 ASSERT3U(spa_syncing_txg(spa), ==, txg); in ddt_sync() 2380 txg = spa_syncing_txg(spa); in ddt_walk_init()
|
H A D | zio.c | 1342 ASSERT(zio->io_txg == spa_syncing_txg(zio->io_spa)); in zio_write_override() 1383 txg != spa->spa_syncing_txg || in zio_free() 1404 ASSERT(spa_syncing_txg(spa) == txg); in zio_free_sync() 1894 ASSERT(zio->io_txg == spa_syncing_txg(spa)); in zio_write_compress() 4198 ASSERT(txg > spa_syncing_txg(spa)); in zio_alloc_zil() 5090 zio->io_spa->spa_syncing_txg == zio->io_txg) in zio_ready()
|
H A D | zil.c | 869 ASSERT3U(lwb->lwb_alloc_txg, <=, spa_syncing_txg(zilog->zl_spa)); in zil_free_lwb() 870 ASSERT3U(lwb->lwb_max_txg, <=, spa_syncing_txg(zilog->zl_spa)); in zil_free_lwb() 1535 ASSERT3U(txg, ==, spa_syncing_txg(zilog->zl_spa)); in zil_lwb_flush_wait_all()
|
H A D | dmu.c | 1960 ASSERT(zio->io_txg > spa_syncing_txg(zio->io_spa)); in dmu_sync_late_arrival_done() 2113 if (txg <= spa_syncing_txg(os->os_spa)) { in dmu_sync()
|
H A D | brt.c | 1570 ASSERT(spa_syncing_txg(spa) == txg); in brt_sync()
|
H A D | spa_errlog.c | 326 uint64_t txg_to_consider = spa->spa_syncing_txg; in check_filesystem()
|
H A D | vdev.c | 4025 ASSERT3U(txg, ==, spa_syncing_txg(spa)); in vdev_remove_empty_log() 4064 ASSERT3U(txg, ==, spa->spa_syncing_txg); in vdev_sync() 5081 commit_txg = spa_syncing_txg(spa); in vdev_stat_update() 5086 ASSERT(commit_txg >= spa_syncing_txg(spa)); in vdev_stat_update()
|
H A D | vdev_indirect.c | 338 vdev_dirty(vd, 0, NULL, spa_syncing_txg(spa)); in vdev_indirect_mark_obsolete()
|
H A D | dbuf.c | 1826 dbuf_fix_old_data(db, spa_syncing_txg(spa)); in dbuf_read() 2560 txg != spa_syncing_txg(dmu_objset_spa(db->db_objset))); in dbuf_undirty() 2789 dbuf_fix_old_data(db, spa_syncing_txg(spa)); in dmu_buf_untransform_direct()
|
H A D | dsl_scan.c | 4006 uint64_t txg_to_consider = spa->spa_syncing_txg; in scrub_filesystem() 4391 if (spa->spa_syncing_txg < spa->spa_first_txg + SCAN_IMPORT_WAIT_TXGS) in dsl_scan_sync()
|
H A D | spa.c | 10115 spa->spa_syncing_txg = txg;
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa_impl.h | 295 uint64_t spa_syncing_txg; /* txg currently syncing */ member
|
H A D | dnode.h | 471 ((_dn)->dn_dirty_txg >= spa_syncing_txg((_dn)->dn_objset->os_spa))
|
H A D | spa.h | 1051 extern uint64_t spa_syncing_txg(spa_t *spa);
|